Re: Running pdf in servlet

2004-08-16 Thread vivek gupta
Hi Any one compiled code after downloading. I tired it looks like some source files are missing. - Any clue --- Jeremias Maerki [EMAIL PROTECTED] wrote: Firstly, please post user related questions to the user list. The development list is for code related issues. The developers are all

fo:table-header - between 2 pages

2004-08-16 Thread Philippe PITHON
Hello! I have a problem with fo:table-header : the contents of the fo:table-header cannot be between 2 pages (If there are many lines in the fo:table-header) For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the

Re: fo:table-header - between 2 pages

2004-08-16 Thread Chris Bowditch
Philippe PITHON wrote: snip/ For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the fo:table-header will not have enough place, there will be a page break and the fo:table-header will be written at the beginning of the next

Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-16 Thread Mosimann Matthias
Hi everyone I recieve the following error when I want to translate a xml and it's xsl stylesheet to pdf: sh fop.sh -xsl foptest.xsl -xml foptest.xml foptest.pdf [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as

Re: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-16 Thread Glen Mazza
I suspect there is something wrong with your transformation--the fo:layout-master-set is not getting copied over into the FO document. FOP is claiming that your fo:layout-master-set (at the top of your FO) has no simple-page-master or page-sequence-master called der-einzige-seitentyp. Please

AW: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-16 Thread Mosimann Matthias
Hi Glen FOP is claiming that your fo:layout-master-set (at the top of your FO) has no simple-page-master or page-sequence-master called der-einzige-seitentyp. Please check for the fo:layout-master-set in the resultant file and make sure it has a der-einzige-seitentyp. (Use Xalan for this.) -

org.w3c.dom.Document to PDF...

2004-08-16 Thread Rodrigo Reyes C.
Does anyone out there has some code to translate a org.w3c.dom.Document object to PDF? I would like to keep the PDF data in memory, not a file. Thanx in advance... Rodrigo PS. I have this code but it doesn't seem to be working... Driver driver = new Driver();

Re: org.w3c.dom.Document to PDF...

2004-08-16 Thread Glen Mazza
This example may help you: http://cvs.apache.org/viewcvs.cgi/xml- fop/examples/embedding/java/embedding/ExampleDOM2PDF.java?rev=1.9 --- Rodrigo Reyes C. [EMAIL PROTECTED] wrote: Does anyone out there has some code to translate a org.w3c.dom.Document object to PDF? I would like to keep the

Re: AW: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

2004-08-16 Thread J.Pietschmann
Mosimann Matthias wrote: [ERROR] org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. FAQ (again): http://xml.apache.org/fop/faq.html#fop-hangs http://xml.apache.org/fop/faq.html#boxoverflow I think we should update

Re: Running pdf in servlet

2004-08-16 Thread Jeremias Maerki
The servlet from FOP 0.20.5 compiles just fine under JDK 1.3.1 and 1.4.2. Are you using a different version? On 13.08.2004 18:47:31 vivek gupta wrote: Hi Any one compiled code after downloading. I tired it looks like some source files are missing. - Any clue --- Jeremias Maerki [EMAIL

Re: SVG problem

2004-08-16 Thread Jeremias Maerki
I'm sorry it has taken so long but I finally know what's wrong (thanks to Batik's Thomas DeWeese). Your SVG file doesn't contain a viewBox attribute in the top-level svg element. The file seems to be created for a 96dpi environment. In the PDF transcoder you get a 72dpi environment. Because

different input type to org.apache.fop.apps.XSLTInputHandler;

2004-08-16 Thread Andrew S Moy
Hi, The constructor of org.apache.fop.apps.XSLTInputHandler takes the XML file and XSL file. I was wondering if anyone knows other XSLTInputHandler which takes some source of input stream objects. This way we don't have to write the data to a physical file and knowing that it will be read