BUG: Let PdfWriter.pages return PageObject after calling clone_document_from_reader()#1613
Conversation
Codecov ReportBase: 92.27% // Head: 92.28% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1613 +/- ##
=======================================
Coverage 92.27% 92.28%
=======================================
Files 33 33
Lines 6373 6377 +4
Branches 1271 1272 +1
=======================================
+ Hits 5881 5885 +4
Misses 312 312
Partials 180 180
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
@pubpub-zz Could you maybe explain the title Does it mean that before this PR, the |
|
currently in |
clone_document_from_reader()clone_document_from_reader()
|
Thank you! |
New Features (ENH) - Add reader.attachments public interface (#1611, #1661) - Add PdfWriter.remove_objects_from_page(page: PageObject, to_delete: ObjectDeletionFlag) (#1648) - Allow free-text annotation to have transparent border/background (#1664) Bug Fixes (BUG) - Allow decryption with empty password for AlgV5 (#1663) - Let PdfWriter.pages return PageObject after calling `clone_document_from_reader()` (#1613) - Invalid font pointed during merge_resources (#1641) Robustness (ROB) - Cope with invalid objects in IndirectObject.clone (#1637) - Improve tolerance to invalid Names/Dests (#1658) - Decode encoded values in get_fields (#1636) - Let PdfWriter.merge cope with missing "/Fields" (#1628) [Full Changelog](3.4.1...3.5.0)
Currently, the PdfWriter.pages attribute returns a
DictionartyObject. With this fix, the attribute will return Iterable[PageObject].Fixes #1595
See also: