Hi Damien,
Thanks for your answer - but I couldn't get along with it.
This is what I tried:
ColumnText t=new ColumnText(content);
t.addText(paragraph);
t.addText(new Chunk("This is a test"));
stamp.close();
But it doesn't work well :( (there's no exception but also there's no list
in the resulting PDF)
Where is my fault?
br,
Bea
> Hello,
> I would suggest creating a ColumnText that uses your
> PdfContentByte, and then adding the paragaphs and lists to
> the ColumnText. ColumnText is one of two iText classes which
> know how to layout content on a page, the other being Document.
> Alternately, you can do it the other way round, and create a
> new Document to which you import the pages of your existing
> PDF as page backgrounds. Depending on how much content you
> want to add, one method might be more suitable than the
> other. In particular, ColumnText doesn't trigger page breaks
> automatically.
>
> Damien Drix
-------------------------------------------------------------------------
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