Re: [iText-questions] It works on Windows but not on Linux : The document has no pages.

2007-02-09 Thread Bruno Lowagie (iText)
MaryAnn Paclaon wrote: > This is working in windows, is there anything I need to set? Are you using special fonts? If so, are they available on Linux. If not, do you have the AFM files in the iText.jar on Linux? I know situations where a 'Document has no pages' error is thrown because of lacking f

Re: [iText-questions] It works on Windows but not on Linux : The document has no pages.

2007-02-09 Thread MaryAnn Paclaon
Hi, I have similar problem with the ff exception: ExceptionConverter: java.io.IOException: The document has no pages. at com.lowagie.text.pdf.PdfPages.writePageTree(PdfPages.java:118) at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:1295) at com.lowagie.text.pd

Re: [iText-questions] It works on Windows but not on Linux : The document has no pages.

2007-01-29 Thread Bruno Lowagie (iText)
Philippe Vandenhove wrote: > finally the exception : > ExceptionConverter: > java.io.IOException: The document has no pages. This exception is normally thrown when you close the document (document.close()), but in this case, the cause of the error is probably to be found at an earlier stage. If I

[iText-questions] It works on Windows but not on Linux : The document has no pages.

2007-01-29 Thread Philippe Vandenhove
Hello , Here is the code that cause problem. I create an image with a blob if(cpas.getLogo()!=null) { PdfPCell cell =getPdfPCellImage(getImage(cpas.getLogo(), Image.NO_BORDER),0, Element.ALIGN_CENTER); tableHeader.addCell(cell); } // first method called