It's complex but doable. You'll have to parse the child content to replace the names that exist in the parent with unique names and change the resources accordingly. In the parent you'll have to look for the Do and in its place reset the graphic state but not the transform. You'll also have to look at /BBox and /Matrix in the child to apply in the parent a clipping path and a transformation. Paulo
________________________________ De: [EMAIL PROTECTED] em nome de Fabrizio Accatino Enviada: sex 06-Abr-07 15:51 Para: Post all your questions about iText here Assunto: Re: [iText-questions] How to reduce levels of nested xobjects? Paulo, yes, I know iText can't do that. But if I work inside the library, extending/modifying it, is it possible? In your opinion, do you think it is a very complex work? Can you give me some "start points" to investigate? Fabrizio On 4/6/07, Paulo Soares <[EMAIL PROTECTED]> wrote: iText can't flatten nested objects unless you are willing to invest quite a bit of development time. Paulo 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/