I have a requirement where i need to merge multiple pdf .
It works great until one of the pdf contains dynamicXFA content.I find in the merge utility its not possible to merge such combinations.
Is there a way where we can change the source to read only before merge .
version used : 2.0.16
I tried setting PDFmerger.setDocumentMergeMode(OPTIMIZE_RESOURCES_MODE); for PDFMergerUtility.
It doesnt throw error but it doesn't merge too Instead getting below message :
If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document"