-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyPDF2 interface changes: * getXmpMetadata / xmpMetadata ➔ xmp_metadata * get_outlines ➔ _get_outlines (use outlines property instead) * getXmpMetadata ➔ xmp_metadata * getDestArray ➔ dest_array * additionalActions ➔ additional_actions * defaultValue ➔ default_value * mappingName ➔ mapping_name * altName ➔ alternate_name * fieldType ➔ field_type * ensureIsNumber ➔ _ensure_is_number * decodedSelf : decoded_self * addChild / removeChild ➔ add_child / remove_child * flateEncode ➔ flate_encode * getData / setData ➔ get_data / set_data DOC: Use the new PyPDF2 interface STY: Use reader/writer as variable names for PdfReader / PdfWriter MAINT: Let pytest capture many warnings Fixes: * add_named_destionation was a typo and thus removed * Add missing `PendingDeprecationWarning` in warnings * Add missing `stacklevel=2` in warnings * merge_rotated_scaled_translated_page ➔ mergeRotatedScaledTranslatedPage: That renaming was not part of the 1.28.0 release and the complete function should be deprecated; no point in adding a renamed one first * add_transformation: Add missing parameter type annotation
- Loading branch information
1 parent
e8513e7
commit 787c784
Showing
24 changed files
with
428 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.