Skip to content

Multiple Fix and enhancement#75

Merged
claird merged 11 commits intoclaird:masterfrom
pubpub-zz:master
Jun 21, 2020
Merged

Multiple Fix and enhancement#75
claird merged 11 commits intoclaird:masterfrom
pubpub-zz:master

Conversation

@pubpub-zz
Copy link
Copy Markdown

A few change proposal and 1 major fix (which was preventing file processing with this interim version whereas it was working in PyPDF4 1.27.
Mainly, Enhancements are providing:

  • capability to properly clone a reader into a writer
  • work on pages
  • pagelabel capability
  • Comments

Hope it will help to progress on this good library

pubpub-zz added 11 commits May 30, 2020 17:40
imports made local to have concurrent versions in parallel & upgrade version
fix regression since 1.27.0 in encoded stream loading and extraction of XRefStm and Prev in trailer
Provide capability to provide the filename/stream only when calling write
Provide capability to copy pages and objects from a reader into a writer. Provide also capability to copy a full reader into a writer
implement PageLabels functions both in Reader (get) and Writer (get/add/remove)
Create _rootObject in Reader to match Writer and also introduce a getIndirectionFunction on both Reader and Writer
Extend NamedDestinations to work with PDF 1.1 and 1.2+ with both get/insert/remove functions
Also complete/fix some issues with outlines
Provide capability to work with non flatten pages organisation for bot insertion,get and remove page
implements functions to add comments to a Page
improve removeLinks into removeAnnots to be able to select which type of annots to remove
removeLinks kept for compatility
Add 2 tests programs for test and demo about comments (merging comments and Listing them in an excel sheet)
@claird claird merged commit f72745e into claird:master Jun 21, 2020
claird added a commit that referenced this pull request Jun 21, 2020
claird added a commit that referenced this pull request Jun 21, 2020
claird pushed a commit that referenced this pull request Jun 22, 2020
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.

2 participants