We generate PDFs from a Uniface application for our reporting system
What we do is to generate an XML file and run that through an XSLT transformation* to produce a XHTML file. Then that XHTML file is pumped through a open source application called CSS2XSLFO (http://re.be/css2xslfo/index.xhtml) to produce a PDF. Internally the CSS2XSLFO application turns HTML and CSS into an XSL-FO file that can then be handled by a XSL-FO rendered like FOP, RenderX, XEP etc.
Essentially our reports have come down to the production of an XSLT transformation from XML to HTML that is fairly simple, yet very powerful, and allows our customers to add their own reports in relative ease.
* Personally we use Saxon or Altova, and not the Uniface internal component USYSXSLT because the two former products support XSLT 2.0, which is significantly better.
Author: heydona (
andyh@collegenet.com)