Hi all, Thanks in advance for your help.
I have a PDF file that has form fields named using the hierarchical naming convention. For example: table.0.firstName, table.0.middleName, table.0.lastName, table.1.firstName, table.1.middleName, table.1.lastName, etc. I'm changing the numeric nodes' partial names using: field.setPartialName(newName) After that, I check the new field names, and they are renamed correctly (see the attached output.txt). So, it seems that it worked. Then, I'm merging the document after another document using: PDFMergerUtility.mergeDocuments(null) But, when I open the newly created (merged) PDF file in Acrobat Pro, all the field names have names like "dummyFieldName" (the incorrect part) followed by "1.0A.firstName" (the correct part), instead of the names in the attached output.txt. I have attached the PDF file that I'm changing names in, Attachment.pdf, and the new file after merging, test.pdf. Thanks, Rob
table table.0 table.0.firstName table.0.middleName table.0.lastName table.0.dob table.0.gender table.0.active table.1 table.1.firstName table.1.middleName table.1.lastName table.1.dob table.1.gender table.1.active table.2 table.2.firstName table.2.middleName table.2.lastName table.2.dob table.2.gender table.2.active table.3 table.3.firstName table.3.middleName table.3.lastName table.3.dob table.3.gender table.3.active rowNode.partialName: 0 rowNode.fullyQualifiedName: table.0 rowNode.partialName: 1 rowNode.fullyQualifiedName: table.1 rowNode.partialName: 2 rowNode.fullyQualifiedName: table.2 rowNode.partialName: 3 rowNode.fullyQualifiedName: table.3 table table.0A table.0A.firstName table.0A.middleName table.0A.lastName table.0A.dob table.0A.gender table.0A.active table.1A table.1A.firstName table.1A.middleName table.1A.lastName table.1A.dob table.1A.gender table.1A.active table.2A table.2A.firstName table.2A.middleName table.2A.lastName table.2A.dob table.2A.gender table.2A.active table.3A table.3A.firstName table.3A.middleName table.3A.lastName table.3A.dob table.3A.gender table.3A.active
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org