-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Add page deletion feature to PdfWriter #1843
Conversation
still requires to remove the page from the page access list |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1843 +/- ##
==========================================
+ Coverage 93.85% 93.87% +0.01%
==========================================
Files 34 34
Lines 6964 7000 +36
Branches 1375 1383 +8
==========================================
+ Hits 6536 6571 +35
Misses 282 282
- Partials 146 147 +1
☔ View full report in Codecov by Sentry. |
@MartinThoma |
Sorry for the delay 🙈 Thank you for the PR and for making it easy for me to merge (having a test + non-breaking change + a single new feature) 🙏 |
New Features (ENH): - Add AES support for encrypting PDF files (#1918, #1935, #1936, #1938) - Add page deletion feature to PdfWriter (#1843) Bug Fixes (BUG): - PdfReader.get_fields() attempts to delete non-existing index "/Off" (#1933) - Remove unused objects when cloning_from (#1926) - Add the TK.SIZE into the trailer (#1911) - add_named_destination() maintains named destination list sort order (#1930)
Delete a page from a pdf
Note : it does not delete the objects from the PDF, just the page entry