Replies: 1 comment
-
Unfortunately, your description is very vague about what your requirement is, what you are trying to achieve ultimately and specificaclly, what the results should be e.g., what is the meaning of the "convert" parameter? You can use
The result of the second method always is a tuple of strings - see documentation.
Before we can talk about an actual enhancement, a lot of clarification work is necessary obviously. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
i want access pdf's structtreeroot,but i search document api,not idea how get it
Describe the solution you'd like
type,value = doc.xref_object(xref)
value is str
i want:
type,value = doc.xref_object(xref,convert=True)
value is python object,such as,dict list str bool None
Beta Was this translation helpful? Give feedback.
All reactions