-
This is just QPDFJob wiring.
-
...since they have to be handled before other options. It was working because, in both cases, `file` was alphabetically before the other keys, but this implementation gives a stronger guarantee.
-
Accept --file and --range as named parameters in additional to allowing positional arguments. This is in preparation for adding additional flags.
-
The check for the number of items was in the wrong place.
-
Sparse arrays are rare. Dynamically create the variables needed to manage them only when needed.
-
Change set visited to std::vector<bool>
-
Swap front and back, and change queue from list to vector
-
The old code didn't put one there, and it's not really useful. It just makes the file (trivially) larger.
-
This commit contains the changes from generate_auto_job based on manual changes from the previous commit.
-
This commit contains only the manual changes. It is separated for clarity. This commit would not pass CI because it lacks the automated changes, which appear in the next commit.
-
...when flattening annotations. This includes /Link, /Popup, and /Projection.
-
Rather than adding yet another flag that is almost never useful on its own, just have --remove-restrictions disable digital signatures. The operations are still separate in the API.