You need to search the mail archives for my post on writing a styled document to pdf with iText. If you do it right, it is trivially easy. It gives instructions on how to get around the z order problem. It is not a design decision, but rather a feature/bug of JTextPane. I am mobile right now, but I can send you the code later today.
Bill Ensley Bear Printing -----Original Message----- From: "Jim Rootham" <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: 7/8/06 10:10 AM Subject: [iText-questions] iText and z-order Hi I am writing a layout editor and I need to output pdf files. I have got iText working OK (translating StyledDocument to iText is not as trivial as I would like). However, there is a more serious problem. From the docs, examples, and mailing list messages it seems that there is a design decision that images cannot be placed over text. I am currently working around that by clipping the text with the bounding boxes of the elements on top of the text (which is a pain). But even then there will be a bug. Images with transparent backgrounds will have the text still over them. Are there any proposals for iText to control the z-order? Jim Rootham Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions