-
Is your feature request related to a problem? Please describe. I noticed it's possible to copy it from the source file:
Then add it manually in the
Describe the solution you'd like |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
I realized that Is there a standard way to create new objects ourselves though ? |
Beta Was this translation helpful? Give feedback.
-
This is the standard way: whether or not there was a metadata before, set_metadata will create one or overwrite one or whatever. You are also free to choose information from either source file, or mix those. |
Beta Was this translation helpful? Give feedback.
-
Your wording is somewhat ambiguous: |
Beta Was this translation helpful? Give feedback.
-
This is not the right way to describe what is happening when joining PDFs. |
Beta Was this translation helpful? Give feedback.
-
Fairly straightforward I hope.
|
Beta Was this translation helpful? Give feedback.
Fairly straightforward I hope.
xref = doc.get_new_xref()
- just defines a new xref numberdoc.update_object(xref, "<< object definition >>")
- fills in definitiondoc.update_stream(xref, b"stream data", new=True)