You can try to use a JTable and print it to a PdfGraphics2D.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: alain [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 0:04
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] IBM trust iText
> 
> "...New printer features for downloading OS/400 spool files as PDFs that
> can be displayed using Adobe Acrobat. IBM is offering two ways to generate
> spool file PDFs for iSeries Access for Web users. Customers can either
> purchase IBM's licensed InfoPrint Server for iSeries product or they can
> install the open-source iText software for generating PDF files on the fly
> (instructions for downloading and installing iText in your OS/400
> environment will be included in the beta's README file)..."
> 
> (  <http://www.midrangeserver.com/tfh/tfh031802-story04.html> )  IBM trust
> iText software obviously.
> 
> (    I start to develop a simple Swing program to manage XML tables. 
> 
>     with my little program, i can easily : 
> 
>     - move/remove columns (drag n drop) and get first state again ( if i
> delete columns)
> 
>     - change : size, font, justification and color for  each columns
> 
>     -move/remove  rows
> 
>     - manage 100 tables of 30 columns instanciated automatically from an
> XML file.
> 
>     My program is again simple (less than 5.000 rows of code) and
> incomplete : lacks project management and a simple JTextPane for wisiwig
> comments. 
> 
>     It's easy to get JTextPane attributes ( text, font, justification and
> image ) to generate a Pdf file with iText.... when you don't use tables (
> without table support, the soft will be  weak ).
> 
>     For tables, i just see  3 ways : html editorkit : need a program who
> translate HTML source to iText ( used of javacc ? ), use of graphics
> methods directly (redefine of paint ( Graphics g ) and repaint( ) =>
> absolute position ? ) or import a jpg image of table (??).
> 
>    What will you do ?
> 
>     I join some "dumb" examples images of my program ( the first column in
> red foreground color will be used in future to show key columns for multi
> page generation)
> 
>     I used very usefull icons founded on Sourceforge site. 
> 
>  
> Thanks.
> 
> ( apologize for my poor english )
> 
>             
> 
>  
> 
>  
> 
>  
> 
>    
> 
>  
>  << File: rapport2.pdf >>  << File: param2.jpg >>  << File: rapport1.pdf
> >>  << File: param1.jpg >> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to