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

Feature: Option to bind only a part of the pdf #122

Open
FazinHan opened this issue Aug 26, 2024 · 1 comment
Open

Feature: Option to bind only a part of the pdf #122

FazinHan opened this issue Aug 26, 2024 · 1 comment
Labels
enhancement New feature or request UI

Comments

@FazinHan
Copy link

As the title says, please add an option to select page numbers from the input pdf, and treat that as the pdf for any further binding.

@FazinHan FazinHan changed the title Option to bind only a part of the pdf Feature: Option to bind only a part of the pdf Aug 26, 2024
@momijizukamori momijizukamori added enhancement New feature or request UI labels Sep 4, 2024
@momijizukamori
Copy link
Owner

Thanks, I meant to file this and forgot. UI-wise, I think we should take a leaf from standard printer dialogs, where the pages are defined as a list of comma-separated numbers, and can be ranges. eg, 1-4,7,10-12 is pages 1, 2, 3, 4, 7, 10, 11, 12

Edge cases we should figure out how to handle - specifications that aren't in original order (ie, 10-12,7,4), and ranges with no end (ie, 10-,7,4). I'm inclined to say either show the user an error or treat it as a single-page specification for the second one, but the first one is slightly more complicated and it may be worth investigating how the PDF lib handles page selection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI
Projects
None yet
Development

No branches or pull requests

2 participants