Quoting "Zielke, Andreas" <[EMAIL PROTECTED]>:
> int pageNumber = pdfDocument.getPageNumber();
> while (pageNumber == pdfDocument.getPageNumber()) {
> pdfDocument.add(emptyPara);
> }
First of all, you can have several (Pdf)Writers listening
to one and the same Document-object, so if you ask the Document
for a pageNumber, it doesn't know what Writer you mean.
You have to ask the (Pdf)Writer for the pagenumber.
Second remark: you can trigger a new page with the document.newPage()
method, so there is no need to add empty paragraphs.
HTH,
Bruno
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions