Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom ranges given pdftk handles them #51

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AngelAlvarado
Copy link

Ranges are not always in the form 1-2 or A1-n there are valid arguments such as 5 11 20, 1-20~5-6, ~5 and many more.

@see http://manpages.ubuntu.com/manpages/xenial/en/man1/pdftk.1.html under cat operation section

AngelAlvarado and others added 5 commits October 21, 2019 21:49
Ranges are not always in the form `1-2` or `A1-n` there are valid arguments such as `5 11 20`, `1-20~5-6`, `~5` and many more.

@see http://manpages.ubuntu.com/manpages/xenial/en/man1/pdftk.1.html under cat operation section
This allows us to read the remaining metadata instead of raising an
exception. We need this to read the page count in pdfs without an info
dictionary.

[1deg/application-server#4105]
Ignore 'Warning: no info dictionary' in data_dump
Small method change for no info dictionary warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant