Thanks, Paulo.

As a table header you mean the first row of the table (or a set of rows given by the HEADER parameter)?

What I would like to know is how to figure out the current possition in the pdf document. Say, I had added the table into the document and want to know the position where the next element would go when using Document#add(). Is there a way to obtain such information?

Sorry if I am asking the obvious but I have spent quite a lot of time browsing through the examples already.

Thanks,

Mirek.




"Paulo Soares" <[EMAIL PROTECTED]>

10.08.2005 19:14
Please respond to "Paulo Soares"

       
        To:        <itext-questions@lists.sourceforge.net>, <[EMAIL PROTECTED]>
        cc:        
        Subject:        Re: [iText-questions] Orphans and widdows in the pdf document



Try to include the Phrase as a table header. The other option is to do your
own layout ay absolute positions.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <itext-questions@lists.sourceforge.net>
Sent: Wednesday, August 10, 2005 5:26 PM
Subject: [iText-questions] Orphans and widdows in the pdf document


> Hello,
>
> I am having troubles with my pdf document structured like this:
>
> Phrase
> PdfPTable
> Phrase
> Phrase
> PdfPTable
> etc.
>
> Very often the Phrase is associated with the next PdfPTable because it is
> it's title and sometimes it happens to be left on the previous page. Is
> there any way in iText to avoid orphans/widdows?
>
> Thanks in advance,
>
> Mirek.
>



Reply via email to