I have a pdf. I insert it in a new pdf using PdfReader, AddTemplate, etc.
Then I get the resulting pdf and do the same. I insert it in a new pdf.
And then I repeat the same many times.

The resulting pdf contains a sequence of nested Form Xobjects

The question is: is there a way to reduce the levels?
I'd like to get all the obejcts contained ina Form Xobjects and place them
on the parent one. Then discard the child form xobject.


Fabrizio

PS: the real case is a bit more complex and many steps of creation of the
pdf is out my control. I'm at the end and I need to "flat" the pdf.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to