Thanks Hussein. Exactly what I was looking for.
-----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Friday, January 14, 2011 2:33 PM To: Shapiro, David C (GRC) Cc: [email protected] Subject: Re: [XFC] Xml mind XSL-FO Converter need documentation My answer assumes that a Java developer working for thomsonreuters.com has integrated the XMLmind XSL-FO Converter engine in a server-side application of yours (typically a Java Servlet). On 01/14/2011 07:04 PM, [email protected] wrote: > > I am looking for documentation on all the properties and the more urgent > need is to re-direct error logging. This is quite easy using the Java API of XMLmind XSL-FO Converter. Please tell your Java developer: [1] To implement an com.xmlmind.fo.converter.ErrorHandler. This ErrorHandler typically logs errors and warnings to the log of your Servlet. [2] To register a new instance of ErrorHandler with all the instances of com.xmlmind.fo.converter.Converter she/he creates using Converter.setErrorHandler. The documentation of the Java API of XMLmind XSL-FO Converter is found here: http://www.xmlmind.com/foconverter/_distrib/doc/api/index.html > I am also interested in examples of using the converter to convert to PDF The XMLmind XSL-FO Converter engine allows to convert XSL-FO only to the following formats: * RTF (can be opened in Word 2000+), * WordprocessingML (can be opened in Word 2003+), * Office Open XML (.docx, can be opened in Word 2007+), * OpenOffice (.odt, can be opened in OpenOffice.org 2+). PDF is not supported. You need to use another XSL-FO Processor for that, for example: Apache FOP, RenderX XEP or Antenna House XSL Formatter * http://xmlgraphics.apache.org/fop/ * http://www.renderx.com/tools/xep.html * http://www.antennahouse.com/product/axfo40/axfo4top.htm > > > > This didn't seem to be covered in this documentation link below. > > http://www.xmlmind.com/foconverter/_distrib/doc/user/userguide.pdf > That's normal. The User Guide contains just a primer http://www.xmlmind.com/foconverter/_distrib/doc/user/sample1_java.html for the Java developer. After reading it, this Java developer is supposed to refer to the reference manual of API of the XMLmind XSL-FO Converter engine: http://www.xmlmind.com/foconverter/_distrib/doc/api/index.html > > > > for example below is ending up in our server logging directory. > > > > > > warning: bad property value width="107" > (file:/tmp/doc-0000950123-10-044051-temp.8989256026988754.fo, line #6, > column #70) > warning: bad property value width="322" > (file:/tmp/doc-0000950123-10-044051-temp.8989256026988754.fo, line #7, > column #70) > warning: bad property value width="107" > (file:/tmp/doc-0000950123-10-044051-temp.8989256026988754.fo, line #8, > column #70) > > -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

