PROBLEM while trying to write text vertically with SVG

2007-01-09 Thread Gregan, Miroslav
Hello all, I'm trying to write text vertically in a PDF by using an XSL-FO with SVG code. I use FOP 0.93 like a library in a java code under windows XP, (but should also work under Linux). The SVG code used is working fine in an SVG file, and with FOP 20.5. BUT it is NOT working with FOP 0.93.

Re: FOP Problem

2007-01-09 Thread Jeremias Maerki
If you haven't done so already, run only the XSLT transformation outside your application (on the command-line) and inspect the generated FO file. You may also need to verify that you're using the same XSLT processor in both environments. On 10.01.2007 06:33:05 pwillsey wrote: > > Hello, > I'm ge

Re: Error using TTFReader

2007-01-09 Thread Jeremias Maerki
That means you're probably still on old JDK 1.3 which doesn't contain JAXP. Please add Xerces and Xalan to the classpath. On 10.01.2007 03:00:41 Nicol Bolas wrote: > > OK, I've gotten past that error using this command line: > > java -cp > build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons

FOP Problem

2007-01-09 Thread pwillsey
Hello, I'm getting a validation exception: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error(Unknown location): For fo:simple-page-master, only one fo:region-body may be declared. But I've checked the XLST sheet and there is no fo:simple-page-master element wi

Re: Error using TTFReader

2007-01-09 Thread Nicol Bolas
OK, I've gotten past that error using this command line: java -cp build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar org.apache.fop.fonts.apps.TTFReader However, I get the following: Exception in thread "main" java.lang.NoClassDefFoundError: org/w3

Re: Set up a servlet with fop

2007-01-09 Thread Jeremias Maerki
Well, just put fop.jar and all JAR files from FOP's lib directory in the WEB-INF/lib directory of your web application. You can omit the JAXP stuff, i.e. the following JARs if you use JDK 1.4 or later: - xalan*.jar - xercesImpl*.jar - xml-apis*.jar - serializer*.jar (but make sure you use at least

Re: Need Help

2007-01-09 Thread Jeremias Maerki
It's easiest if you write a servlet that constructs the PDF using FOP and sends it back to the user. Look here for ideas: http://xmlgraphics.apache.org/fop/stable/servlets.html On 08.01.2007 11:56:24 Prashant Saraf wrote: > Hello friends. I am new to Fop. I am creating application using struts > w

Re: Error using TTFReader

2007-01-09 Thread Chris Bowditch
Nicol Bolas wrote: I'm attempting to import some fonts into FOP 0.93, but I'm running into trouble. I keep getting this error whenever I try to run TTFReader: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.fop.fonts.apps.TTF

Re: Problem change layout page size

2007-01-09 Thread fabio76
Hi J.Pietschmann, the example of xml document is this: First TD Second TD FIGURE 1 GRAPHIC 1 Paragraph n° 1 after figure 1

Write text vertically

2007-01-09 Thread Gregan, Miroslav
Hello all, I'm trying to write text vertically from an XSL-FO file to PDF with FOP 0.93 used like a library in a java code under windows XP, (but should also work under Linux). The SVG code used is working fine in an SVG file, and with FOP 20.5. fo start file: http://www.filefactory.com/file/f1

Error using TTFReader

2007-01-09 Thread Nicol Bolas
I'm attempting to import some fonts into FOP 0.93, but I'm running into trouble. I keep getting this error whenever I try to run TTFReader: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.fop.fonts.apps.TTFReader.main(TTFReade