Replies: 1 comment
-
Ok, I got it.
Did the job. Usage:
then:
And it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have single page "template" PDF with defined form fields. I need to create multipage PDF consisting of template pages filled with data from dbase. Here's the problem: adding page to PdfFIleWriter does not create another instances of Fields (I suppose...) There is single fields catalog for one file, so consecutive PDF pages only refers to the same Annotations, leaving final PDF filled with last record data on all pages.
So, there is my question: How to rename field after reading PDF into PdfFileReader instance? What to update? I'd like to add small suffix with page number to each template field name...
Updating only Annots dictionary fields (/T) renders whole PDF unwritable due to XRefs links breakage (I suppose...)
Thanks for help.
Beta Was this translation helpful? Give feedback.
All reactions