2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 15:17:29 +00:00

Minor clarifications/fixes in TODO-pages

This commit is contained in:
Jay Berkenbilt 2024-01-07 08:46:25 -05:00
parent 77e21f2a7a
commit 36dcf10858

View File

@ -113,7 +113,8 @@ Prior to implementation of the pages epic, `QPDFJob` goes through the following
* Handle collation * Handle collation
* Copy or revive all final pages * Copy or revive all final pages
* When copying foreign pages, possibly remove unreferenced resources * When copying foreign pages, possibly remove unreferenced resources
* Handle the same page copied more than once by doing a shallow copy * Handle the same page copied more than once by cloning the page dictionary while sharing any
indirect references
* Preserve form fields and page labels * Preserve form fields and page labels
* Delete pages from the primary input that were not used in the output * Delete pages from the primary input that were not used in the output
* Delete unreferenced form fields * Delete unreferenced form fields
@ -140,7 +141,7 @@ Prior to implementation of the pages epic, `QPDFJob` goes through the following
* Preserve form fields and page labels * Preserve form fields and page labels
Broadly, the above has to be modified in the following ways: Broadly, the above has to be modified in the following ways:
* The transformations step has to be pulled out as that wil stay in `QPDFJob`. * The transformations step has to be pulled out as that will stay in `QPDFJob`.
* Most of write QPDF will stay in `QPDFJob`, but the split logic will move to `QPDFSplitter`. * Most of write QPDF will stay in `QPDFJob`, but the split logic will move to `QPDFSplitter`.
* The entire create QPDF logic will move into `QPDFAssembler`. * The entire create QPDF logic will move into `QPDFAssembler`.
* `QPDFAssembler`'s API will allow using an arbitrary QPDF as an input rather than having to start * `QPDFAssembler`'s API will allow using an arbitrary QPDF as an input rather than having to start