Hi,

On 11/15/06, Campa <[EMAIL PROTECTED]> wrote:
What i'm trying to do is a little different, i need to print my table in a specific location, valid for all the pages.

I think what you want is no different from what I want. I also need to have the table on a specific pre-defined location on the page, same for all pages in the document. The other information on the document is generic info, which is the same on all pages.
I achieved this with setting document margins, to narrow the place on the paper where the table can appear to be just inside those margins. I then add the table to the document.
The other information on the page is then added from an onStartPage() event.
 
Cheers,

--Tim

In my try i created a ColumnText, and i added text and an element (the table).
I don't know how to manage the overflowing of the rows in my columntext.
Is this the right way to make it?
Maybe i need to check the columntext overflow?


Campa

2006/11/15, Tim van der Leeuw < [EMAIL PROTECTED] >:
Hi Campa,

On 11/15/06, Campa Campa <[EMAIL PROTECTED]> wrote:
Hi all, i'm new with iText and i need to write a kind of reporting engine for printing table data.
I'm working with c# and i'm trying to do something with PdfPTable and columnText, i got a problem with pagination.
I created a ColumnText and i put a PdfPTable in it, how to let the data continue in the next pages?
I put the PdfPTable in the columnText because I need to control the position of the table in the page.

What I did to achieve this is (using iText for Java):
- Set margins on the page to control the position of the table on the page
- Set the table-alignment to 'left' for better/easier control of the table position
- Add the PdfPTable to the document, and let the document take care of overflowing the table to multiple pages.

I would imagine that it works similar in iTextSharp?

 

Thanks,
Campa.


Cheers,

--Tim


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to