Hi

In my layout I'm mixing floating render (as in just
document.add(Chunk/Paragraph) and PdfPTable.writeSelectedRows... due to
certain circumstances in how text and tables are supposed to be laid out.
But there is a problem described below:

1 First of all I'm loading a template PDF pre-rendered through InDesign
which contains header, logo and such
2 I add some Paragraphs (doc.add), still all is OK
3 I add a table with above mentioned method, still no problem (even handle
page breaks with a "continued from previous page" header by detecting
vertical position compared to bottom margin, and recursively call the same
table rendering method with a new page and new table created)
4 Now, trying to add some more Paragraphs (document.add) I'm having problems
with these paragraphs is positioned on top of the previous rendered table
(guess it's a matter of absolute positioning w the table)

This mix of absolute and relative positioning of objects makes things hard.
And even harder when I this morning got a notification from the book store
that the shipment of the book ("itext in Actions") had been delayed - which
is not corresponding with the project I'm working on, unfortunately.

So, now I wonder, which is the best approach to mix absolute and relative
positioning.
If I use ColumnText instead of just adding Paragraph's I end up with only
absolute positioning (PdfPTable.writeSelectedRows, columnText.go) and hereby
I loose some of the ease it gives to use relative positioning, don't I...

Is there a "best practise" to do this - letting certain things just flow
(simple text blocks), and some things you want more control over (such as
PdfPTable/page breaks) handled with absolute positioning?

/R
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/No-output-from-columntext-go-tp2999745p2999745.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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