Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Inserting a table

Mark Storer

2006-08-17


Directly manipulating a PdfContentByte doesn't update the 'current position' as far as the high-level objects are concerned.

You have two options I can think of:

1) Add an empty high-level object the same size as your text. A table with nothing in it's cells may work.
2) Use Chunk/Paragraph/whatever to draw your text instead of your current method.

--Mark Storer
Senior Software Engineer
Cardiff Software

#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;



> -----Original Message-----
> From: itext-questions-bounces@(protected)
> [mailto:itext-questions-bounces@(protected)
> Behalf Of Glen
> Self
> Sent: Thursday, August 17, 2006 9:51 AM
> To: itext-questions@(protected)
> Subject: [iText-questions] Inserting a table
>
>
> How do I control where a table is inserted?(pdfptable)
> when I do document.add(table) it writes over the text
> previously placed with
> contentbyte.showtext()
>
>
>
> --------------------------------------------------------------
> -----------
> 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@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions

-------------------------------------------------------------------------
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@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.