using MultiColumnText with PdfStamper
- From: Vijay <yellvij (at) gmail.com>
- Date: Tue, 16 May 2006 22:17:27 +0000 (UTC)
>
> Caused by: java.lang.UnsupportedOperationException: Use
> PdfStamper.getUnderContent() or PdfStamper.getOverContent()
> at com.lowagie.text.pdf.PdfStamperImp.getDirectContent(Unknown Source)
> at com.lowagie.text.pdf.PdfDocument.newPage(Unknown Source)
> at com.lowagie.text.pdf.MultiColumnText.newPage(Unknown Source)
> at com.lowagie.text.pdf.MultiColumnText.write(Unknown Source)
>
Hi,
I added a method to MultiColumnText writes to a PdfStamper.
Basically what I did was instead of calling newPage(), I insert a page and
redefine the PdfContentByte based on the inserted page.
Thanks,
Vijay
-------------------------------------------------------
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
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions