|
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
|
- [iText-questions] Data-driven 2 column document - and... Pete
- RE: [iText-questions] Data-driven 2 column docum... Paulo Soares
- Rob Martin - Loatier
