The AFP Renderer is an implementation of an output target for Apache FOP that renders formatting objects (XSL-FO) to AFP or (MO:DCA). Documents generated in the MO:DCA format are primarily used for large scale commercial printing.

Latest News

Thursday, 6th January 2005

AFP Renderer 1.1.0 released

For more details, see the full announcement.


Formatting Objects (XSL-FO)

The AFP Renderer takes input in the form of XSL-FO, which is defined as a recommendation from the W3C.

One great advantage to using XSL-FO as input is that XSL-FO is itself an XML file, which means that it can be conveniently created from a variety of sources. The most common method is to convert semantic XML to XSL-FO, using an XSLT transformation.

The AFP Renderer provides AFP Extensions to XSL-FO, which allow constructs that are not addressed by the XSL-FO standard, and so providing a mechanism to render AFP specific tags into the resulting document.

Advanced Function Presentation (AFP)

The AFP Renderer generates output in the form of an AFP print stream. The format of this data is defined by IBM Printing Systems. It is primarily used for large scale commercial printing.

Apache FOP

Apache FOP (Formatting Objects Processor) is the world's first print formatter driven by XSL formatting objects (XSL-FO) and the world's first output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Output formats currently supported directly within FOP include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF and TXT. The AFP Renderer adds explicit AFP support to FOP.

The latest version of FOP (0.20.5) is a partial implementation of the XSL-FO Version 1.0 W3C Recommendation. Support for each of the standard's objects and properties is detailed in FOP Compliance.