-
Notifications
You must be signed in to change notification settings - Fork 683
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
Currently it's necessary to manipulate the dict with string operations manually to modify the objects given the xref. (get the string with xrefObject, modify it with regex/something, put it back with updateObject)
The library could provide functions for that.
Describe the solution you'd like
Perhaps something like Document.{add,set,del}_object_dict(xref: int, key: str[, value: Any]); or make some function to convert the PDF object string to Python object and back.
Describe alternatives you've considered
Additional context
(no context.)