Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the example above we have used the elements: type="screenfop" and content-type="application/pdf" in the controller.xml file. FOP specifies the Apache FOP (Formatting Objects Processor) extension. This extension is a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages to a specified output. Details are described in this document: https://xmlgraphics.apache.org/fop/
So in the example above we have used screenfop to generate a PDF document and now we will use screenfop to generate a barcode.

First open the file framework\webapp\config\fop.xconf and modify the line 34 to: <base>http://localhost:8443to use the current port number for our installation.

...