Friday, December 10, 2010

notes on fop migration till fop 1.0

besides fop.jar needed libs:
xmlgraphics-commons-1.4.jar (because of MimeConstants.PDF)
commons-io-1.3.1.jar

other exceptions because of the changed implementation:
Element "fo:page-sequence-master" is missing required property "master-name"!

javax.xml.transform.TransformerException: org.xml.sax.SAXException: Mismatch: table-cell (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999/XSL/Format) -> solved by
<fo:table table-layout="fixed" width="100%" border-collapse="separate">
and removing any empty table cells - using number-columns-spanned property of table-cell instead

design tools
1) http://www.ecrion.com/Products/XFDesigner/Overview.aspx - great tool
2) http://www.java4less.com/fopdesigner/fodesigner.php - I didn't manage to do anything meaningful with the trial version

No comments:

Post a Comment