torakiki / pdfsam Goto Github PK
View Code? Open in Web Editor NEWPDFsam, a desktop application to split, merge, mix, rotate PDF files and extract pages
Home Page: https://pdfsam.org
License: GNU Affero General Public License v3.0
PDFsam, a desktop application to split, merge, mix, rotate PDF files and extract pages
Home Page: https://pdfsam.org
License: GNU Affero General Public License v3.0
Suggested in the PDFsam forum.
For the visual modules.
The application spits out tons of warning:
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '.list-cell' in stylesheet jar:file:/usr/lib/jvm/jdk1.8.0_40/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Oct 25, 2014 5:41:37 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-background-color' from rule '.list-cell' in stylesheet jar:file:/usr/lib/jvm/jdk1.8.0_40/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Oct 25, 2014 5:41:37 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '.list-cell' in stylesheet jar:file:/usr/lib/jvm/jdk1.8.0_40/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Oct 25, 2014 5:41:37 PM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-control-inner-background-alt' while resolving lookups for '-fx-background-color' from rule '.list-cell' in stylesheet jar:file:/usr/lib/jvm/jdk1.8.0_40/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
Spend some time profiling PDFsam to find out if there are leaks to be fixed or optimizations to be done
to be displayed in the workspace menu
On the v3 beta, when trying to select a destination file for the merged PDF on the Merge module, I'm unable to select a folder without selecting a file as well. Clicking Open goes nowhere and if I enter a file name, I get the message:
(file name)
File not found.
Check the file name and try again.
I'd prefer to be able to select a destination folder and enter the file name in either the File name: bar in the selection dialog or the Destination file bar in the Merge module.
with a nice spinner or something similar.
Add a panel or something where the user is informed about the Wiki, Forum and project page where he can fill a bug report
The selection table context menu should allow the user to open the documents with the system pdf reader
Posted on the PDFsam forum
The PDF creators I usually use (FreePDF, MS save as PDF) allow you to set a flag 'Auto-open saved PDF'. As soon as I save the document it will open in the users standard PDF viewer for print, visual check or a 'send by Email'. This is very convenient.
I think for 'PDF Split and Merge' this would be even more important as we usually execute complex operation on files that request a verification anyway.
With jdk8 dev preview, clicking twice one of the button in the About window (UrlButton) the gui freeze
From the pdfsam forum:
The behavior of overwriting existing files is far from what is usual and what the user expects.
As soon as 'Overwrite if already exists' is tagged (which is default when you start the program!) this will happen:
Even if the output file does not exist I always get the message 'Please note that output files will overwrite existing files of the same name without warning. Do you confirm to overwrite?' This mechanism makes the user become inattentive. He will just say 'Yes'
Proposal:
I'm aware of the 'Ask for confirmation when overwrite checkbox is selected' - this does not resolve my problem.
This request covers all plugins that generate only 1 file as output. For 'Rotate' and 'Split' a different mechanism might be more adequate. I never use those...
The default locale is currently hardcoded and PDFsam always starts using English localization (this is not true for the windows installer where the user has to select the language). It could be made a little smarter and set the locale to the system locale if available and to English as a fallback.
The selection table should have zebra rows (white and light gray?) and a background saying something like "Drag and drop here"
From the pdfsam forum:
PDFs with an empty (length 0) password are usually loaded by PDF software without requesting a password from the user.
PDFsam correctly detects the password encryption and flags them with a yellow background.
It would be beneficial that the reload option gets enhanced to reload a file with the 0-length password decryption, if no password is supplied - or to try the 0-length password already in the initial loading of the file - otherwise there is no option (I can find) to enter an 0 length password.
Thanks
Seems that while the open file/files dialog remembers the scroll position, it does not remember the window position.
Please make it remember the latter or if impossible, please set the dialog to open in the center of the screen.
From the PDFsam forum:
Hi Andrea
First let me thank you for this great tool.
I'm deploying it by using the MSI switches.
Although updates are necessary and reasonable they are often a problem for company environment.
I would appreciate if you could make a switch to disable "check for updates on startup" in further versions.
The "check now" button doesn't necessarily have to be greyed out but the automatic update check is quite a problem for us.
As a workaroud we're currently editing the xml file but an MSI switch would have been way more elegant ;)
kind regards Chris
Running pdfsam 2.4.1e on Linux on the console with the following command:
pdfsam-console -o out.pdf -f scan18012014.pdf -f scan18012014_0001.pdf concat
This results in the following error message:
…
13:16:25,927 DEBUG Creating temporary file..
13:16:26,030 INFO /home/mosu/dl/scan18012014.pdf: 1 pages to be added.
13:16:26,036 FATAL Error executing ConsoleClient
org.pdfsam.console.exceptions.console.ConcatException
at org.pdfsam.console.business.pdf.handlers.ConcatCmdExecutor.execute(ConcatCmdExecutor.java:228)
at org.pdfsam.console.business.pdf.CmdExecuteManager.execute(CmdExecuteManager.java:97)
at org.pdfsam.console.business.ConsoleServicesFacade.execute(ConsoleServicesFacade.java:75)
at org.pdfsam.console.ConsoleClient.main(ConsoleClient.java:81)
Caused by: java.io.FileNotFoundException: null/PDFsamTMPbufferPWLEV1.pdf (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
at org.pdfsam.console.business.pdf.handlers.ConcatCmdExecutor.execute(ConcatCmdExecutor.java:184)
... 3 more
If I manually create a directory called null
in the current directory then the whole command executes successfully.
I don't have any environment variable set that points to a temporary directory. On Linux this is generally not done because /tmp
and /var/tmp
are traditionally used for such files and are always writable to all users.
https://bitbucket.org/torakiki/pdfsam/issue/3
It is cool program. A few suggestions I hope to see soon for improving merging that are easy to implement, but save a lot of work / annoyment:
Showing the url where the update can be downloaded
This is a request for an ENHANCEMENT. This would help people who are working with a large merged PAPER document who will otherwise be desperately leafing through it during a meeting (or a quiet reading at home). I haven't seen the upcoming "bookmark tree" feature, but maybe it could also reference page numbers of the documents. There is a third point which I am NOT asking you to consider, but it occurs to me as I type this that very often the file names of the documents don't resemble the actual title of the document as it appears in the contents ... not sure what to do about that, if anything, but it might be related. Also, I DON'T CONSIDER THESE "FATAL FLAWS"! I am very grateful to PDFsam - it has DEFINITELY improved my life!
Suggested by a user:
My suggestion for your user Interface: can you include a customized size field in Split Module interface so that we can choose the size of the target files (Ex: 1.5 Mb).
Add an icon for the button in the About window
When the user selects a row in the selection table and opens the context menu there should be an item to open the file with the native viewer and an item to open the directory where the file is.
Allow rows reorder using drag and drop
When the application close ui status should be persisted and reloaded when the application starts again.
From the website:
A visual preview of PDFs being merged or split would be great. It would avoid separately opening PDF files whenever I need to reference them to accurately split the files.
The PDF preview, combined with a more visual way to add break points where splits would occur, would be ideal. This way i know exactly where the PDF will be split all within the interface. This would make it much easier to use and much more user-friendly.
Thanks!
Change the license to GPLv3
Currently only Acrobat Pro can enable/disable this feature from my research. It would be a very useful feature to have so that I could make markups on PDF's without having to bother (or wait for) someone with Acrobat Pro to help me.
Add scripts to create an RPM package
Find a way to automate creation of a MacOS package
Consider changing the url to some kind of proxy to be able to change the actual url in the future, if needed.
to log uncaught excaptions
Strings returned by Gettext don't contain apostrophes even if the original strings do
see http://stackoverflow.com/questions/1264709/convert-inputstream-to-byte-in-java
Seems that while internal handling of path names that contain special characters seems to work, but they are displayed as box placeholders.
Add scripts to create an MSI installer for Windows
If there's a selection and the user presses Home/End or PgUp/PgDown we should move the selection all the way up or down
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.