rams.samy wrote:
> stamper.partialFormFlattening fails as "Partial form flattening is not
> supported with XFA forms."

I'm not sure, but what happens if you remove the XFA:

PdfDictionary acro =
   (PdfDictionary) PdfReader.getPdfObject(
           reader.getCatalog().get(PdfName.ACROFORM));
acro.remove(new PdfName("XFA"));

And then use the PDF with the XFA removed?
I haven't tested this, I'm just saying this from the
back of my (not fully awake) head.

br,
Bruno

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to