Re: [iText-questions] Add a page number to a PdfPTable

2010-05-27 Thread cadev
cadev wrote: > > I am using page events to add a header to a pdf document. The header > contains a PdfPTable. I would like to add a String containing a page > number to the last row of the PdfPTable. However, when I initialize the > PdfPTable (in setPageHeader), the page

Re: [iText-questions] Add a page number to a PdfPTable

2010-05-27 Thread cadev
No hope that there's anything similar in the first book (which I already own), is there? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Add-a-page-number-to-a-PdfPTable-tp2233494p2233945.html Sent from the iText - General mailing list archive at Nabble.com.

[iText-questions] Add a page number to a PdfPTable

2010-05-27 Thread cadev
I am using page events to add a header to a pdf document. The header contains a PdfPTable. I would like to add a String containing a page number to the last row of the PdfPTable. However, when I initialize the PdfPTable (in setPageHeader), the page number does not exist yet -- it only exists in

[iText-questions] Scaling images when getDpiX() returns zero

2010-05-24 Thread cadev
In iText in Action (great book, by the way, but I wish it had javadocs for all the classes as an appendix) , Chapter 5, it talks about image resolution (page 153 in my book). "For images, iText always uses a resolution of 72 dots per inch (dpi), regardless of the resolution specified inside the i

[iText-questions] What element can I add tables to and use absolute positioning

2010-05-18 Thread cadev
I have a number of tables. I need to take all these tables and position them absolutely. I do not want to add them to the document until all the tables have been created. I prefer to add the tables to another object/element, and then position that element absolutely. How can I do this? Can ch

[iText-questions] Page Events -- can I create a copy of a chapter?

2010-05-18 Thread cadev
I have read a lot about creating headers/footers using page events. I created a new class that extends PdfPageHelper, with an OnEndPage method that inserts my header and footer. The problem is that I want my new class (called ComplexHeader) to be reusable. Rather than create the header within t