-
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: Ease access to ViewerPreferences #2144
Conversation
closes py-pdf#2105 still doc and test to be fixed/added
@MartinThoma |
"== True" is different from "is True"
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2144 +/- ##
==========================================
+ Coverage 94.13% 94.22% +0.09%
==========================================
Files 41 42 +1
Lines 7467 7556 +89
Branches 1474 1487 +13
==========================================
+ Hits 7029 7120 +91
+ Misses 273 268 -5
- Partials 165 168 +3
☔ View full report in Codecov by Sentry. |
"== True" is different from "is True"
@MartinThoma I've been as far as possible. I have not been able to check if documentation is properly generated |
Looks good to me :-) Nice work 🚀 I've seen that there was a draft PR: https://github.com/py-pdf/pypdf/commit/c95b694068d00184dfc8a9b7dceabf7446839ccd.patch If you used that one, I would mere it with |
I looked at it but there is a few errors. However I'm completly open to Co-authored it 😀 |
## What's new ### Security (SEC) - Infinite recursion caused by IndirectObject clone (#2156) ### New Features (ENH) - Ease access to ViewerPreferences (#2144) ### Bug Fixes (BUG) - catch the case where w[0] is an IndirectObject instead of an int (#2154) - Cope with indirect objects in filters and remove deprecated code (#2177) - Cope with extra space (#2151) - Merge pages without resources (#2150) - getcontents() shall return None if contents is NullObject (#2161) - Fix conversion from 1 to LA (#2175) - Accept tabs in cmaps (#2174) ### Robustness (ROB) - Accept XYZ with no arguments (#2178) [Full Changelog](3.15.5...3.16.0)
closes #2105
still doc and test to be fixed/added