Can't you just render it to a PdfGraphics2D?  There are several samples using 
it floating around the web.
 
--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
 


________________________________

        From: Joaquín Pérez Marco [mailto:joaquinperezma...@gmail.com] 
        Sent: Monday, October 11, 2010 8:02 AM
        To: itext-questions@lists.sourceforge.net
        Subject: [iText-questions] Problem creating PDF with JTextPane with 
embeddedcomponents
        
        
        Hi!! I have a JTextPane full of embedded components (all of them are 
JPanel, with a JLabel with image and a JTextField with text each one). I'd like 
to create a PDF that reflects exactly the layout of the JTextPane, I have read 
tutorials, etc. but I don't get much (with only text in a JTextPane is easy, 
but with embedded components it's not so easy I think...). Someone can help 
me?? Thx in advance!!
        
        Joaquín
        
        -- 
        Multitud de cosas a la venta o cambio!! http://www.cosasquevendo.es
        

        No virus found in this incoming message.
        Checked by AVG - www.avg.com
        Version: 9.0.862 / Virus Database: 271.1.1/3184 - Release Date: 
10/10/10 23:34:00
        

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to