Paulo,
I need clarification on implementing a ColumnText in my report per your last email response.
I am including responses to your original email.
Paulo: You"ll need the version at itextpdf.sf.net.
Response:
I am currently using itext-1.01.jar. Is this sufficient? This version allows a Phrase object to be added to a ColumnText, is there a version that allows a Paragraph to be added?
Paulo: Use a ColumnText with your elements inside like List, Paragraph and PdfPTable.
Response:
I instantiated a ColumnText and added in a Phrase object, called testData(),as one of the parameters. The object "testData" returns a Phrase object populated with a query from the database.
ColumnText ct = new ColumnText(pdfContentByte);
ct.setSimpleColumn(20, 20, 500, 500, 15, Element.ALIGN_LEFT);
ct.addText(testData());
ct.addText(testData());
ct.go();
Paulo: The table will break correctly as you repeatedly place the ColumnText and call go().
Response:
Although the object "ct" displays at the correct absolute position, the "ct" object does not break. Once the page is filled with data for the current record, no more data is dispalyed and the next record starts.
Why does the "ct" object not break correctly? Should it in this context?
Should this object be added to a table and the table added to the document?
Sorry for all the questions.......
Thanks again,
Tony
Express yourself instantly with MSN Messenger! Download today - it's FREE! ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
