ENH: add outline_count property#1129
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1129 +/- ##
=======================================
Coverage 92.02% 92.03%
=======================================
Files 24 24
Lines 4666 4671 +5
Branches 964 965 +1
=======================================
+ Hits 4294 4299 +5
Misses 227 227
Partials 145 145
Continue to review full report at Codecov.
|
|
Thank you for the nice PR and the detailed issue description 🤗 I absolutely love such PRs 😍 (1) Purpose: Due to the issue, I know the desired outcome / why the PR was made Very well done 👍 |
New Features (ENH): - Add `outline_count` property (#1129) Bug Fixes (BUG): - Make reader.get_fields also return dropdowns with options (#1114) - Add deprecated EncodedStreamObject functions back until PyPDF2==3.0.0 (#1139) Robustness (ROB): - Cope with missing /W entry (#1136) - Cope with invalid parent xref (#1133) Documentation (DOC): - Contributors file (#1132) - Fix type in signature of PdfWriter.add_uri (#1131) Developer Experience (DEV): - Add .git-blame-ignore-revs (#1141) Code Style (STY): - Fixing typos (#1137) - Re-use code via get_outlines_property in tests (#1130) Full Changelog: 2.6.0...2.7.0
Enables retrieval of "/Count" attribute of outline item in PdfReader by implementing property
outline_count. Addresses #1122