iText can't flatten nested objects unless you are willing to invest quite a bit 
of development time.
 
Paulo

________________________________

De: [EMAIL PROTECTED] em nome de Fabrizio Accatino
Enviada: sex 06-Abr-07 14:52
Para: iText-questions@lists.sourceforge.net
Assunto: [iText-questions] How to reduce levels of nested xobjects?


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.






Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

<<winmail.dat>>

-------------------------------------------------------------------------
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