开发者

Concatenating PDF

开发者 https://www.devze.com 2022-12-24 13:53 出处:网络
After concatenating 2 pdf\'s using PdfCopyFields, I am able 开发者_StackOverflow社区to edit the PDF fields, but I can\'t save the merged PDF. Why am I not able to save the PDF after doing this?A form

After concatenating 2 pdf's using PdfCopyFields, I am able 开发者_StackOverflow社区to edit the PDF fields, but I can't save the merged PDF. Why am I not able to save the PDF after doing this?


A form that has been Reader Enabled must be saved in append mode in order to continue working as such. PdfCopyFields creates a new PDF from scratch.

To get this working, you'll have to duplicate most of PdfCopyField's code via a PdfStamper set to append. Hurray for open source.

And keep in mind that iText 5.x is AGPL. Anyone with access to the program output must also have access to the source.

(which is why quite a few people are still using 2.1.7)

0

精彩评论

暂无评论...
验证码 换一张
取 消