The first advice is: don't use Table, use PdfPTable instead.
Download the iText version at http://itextpdf.sf.net and run the
attached program.
Many other tricks can be done with ColumnText, 2 column layout for
example.
If you have any questions, ask.

Best Regards,
Paulo Soares 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Pete
> Sent: Friday, August 27, 2004 5:01 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Data-driven 2 column document - 
> and table indents
> 
> (Pls ignore last post, wrong address)
> 
> Greetings
>  
> Have a PDF (example at http://www.loatier.com/wip/test1.pdf) where as
> you can see its mainly two columns. Under each heading (e.g. 5.
> Landlords name) there are variable lines of data.
>  
> So far so good, but the block of text starting with "The premises are
> to be occupied..." under section 9, I cant change the leading. It only
> changes if I add this to the document, not to a cell, and as this is
> two columns, I have each side of the document in a cell each. It seems
> to take the leading from the cell its in. I could add a table to this
> cell with its own cell leading for this block of text, but them I have
> a problem of indenting it within the main cell - I have the same
> problem with the '11 signature of landlord' box too - I want to indent
> this as per a listitem; which is how I've done most of the markup.
>  
> Now this is my first go, just really a POC to see if iText is ok for
> this or Apache FOP XSLT so the code I've used to generate this isnt
> compact, e.g. just line after line copy and paste instead of making
> common functions so pls ignore that. But wonder if I'm going about the
> method correctly?
>  
> My code is in a test JSP that I'm using within Tomcat:
> http://www.loatier.com/wip/test1.jsp 
>  
> Thanks gurus
> Regs
> Rob
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 

Attachment: tennant_test.java
Description: tennant_test.java

Reply via email to