Hello iText Developers:

First of all, congratulations about your work, you've made a good product.

At this momment, I'm programming a web application with PDF report generation functionality. We are showing some reports on html and giving the possibility of "print" them on a PDF file.
I have the source data organized into tables. To print these tables to iText, first we are making a table where we organize the data into the correct columns and rows, with their sizes equal to sizes used on the html report (number of pixels, 1024x768 optimized), cell by cell.
After that we get the iText representation of this table, getting the widths from the original and assigning them to the PdfPTable.
I don't know whats the matter but the result PdfPTable seems to be greater than the original, increasing the size of the table. When we put into the document  we use a mark table to align some table or images on the same line. We are sizing this mark table from the original table size, for instance 180 width, document width is about 565 (landscaped), but we can't get the PdfPTable width; the returned absolute width is zero, and percent width is 100 %, and when we open the document the final table appears horizontally compressed.
How can I get the real PdfPTale to be able to set the mark table size correctly? Why the PdfPTable has a greater total width?
I don't know if this issue could be related with the resolution cofigured for the generated PDF.

Best regards and thank you in advance.

P.S.: I'm so sorry if I'm not so much clarifier, I need to improve my english.

------------------------------------------------------------------------
Daniel Belmonte Llarch
email: [EMAIL PROTECTED]
------------------------------------------------------------------------

Reply via email to