document widget: features #851
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #289, resolves #447, resolves #724, resolves #706, resolves #103.
6a90d1c : adds a single page mode, which resolves #103 .
9f2088a : adds per page zoom and a shortcut to change the zoom for the current page, currently the zoom value is only stored in the page object and is thus lost when changing documents. Each page is allocated
page_width * page_zoom * document_zoom, similarly for height.fe93721 : implements two modes, "equal_width" and "equal_height", which sets the zoom for each page so the width and height respectively are the same across all pages. This can be combined with adjust modes such as best-fit to have fit width for variable pages. I believe this covers all the use cases described in #289, #449 and #724.
I'll leave this in draft mode until #849 is merged.