Reinout van Schouwen wrote:

>Currently, I work on an application that generates a PDF with iText
>where the lower 1/3 of the page is given some content.
>
>Now I need to find a way to extend this PDF generation in such a way that
>the first page gets the fixed content we already had, but the upper 2/3 of
>the page has to be filled with variable text that should overflow to
>the next page(s) when it doesn't fit. The next page(s) should leave the
>lower 1/3 part blank.
>
So basically your application writes only to the upper 2/3 of the page.
Define your margins this way and use document.add with Paragraphs,
List(Item)s, Anchors, etc...
But before all this, add the content that only needs to be on the lower
1/3 of the first page only at an absolute position, for instance using
class ColumnText.
br,
Bruno

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to