Op 15/12/2011 3:40, ruben mussi schreef:
> I've created this pdf file to use it as an template for filling
> purposes using itextsharp: http://i43.tinypic.com/103cw83.png
>
> I want to export a datatable but it must go below the title on the
> second page, this is what i've already made: http://paste2.org/p/1824176
>
> Well, i guess i'm almost there :D, any help will be apreciated.
This is how I understand the question.
So you have form fields, and you're filling out some using
pdfFormFields.setField("data", data);
This adds a simple String of text.
Now you have a large form field on the second page, and instead of
ordinary text, you want to add a table.
That's simple: retrieve the coordinates of the large form field (see
chapter 8 of "iText in Action - 2nd Edition").
Use ColumnText to add a table at those coordinates (chapters 3 and 4 of
"iText in Action - 2nd Edition").
But maybe I misunderstood...
------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.
But none more important than the need to reduce IT complexity
while improving strategic productivity. Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php