Run table.fo Example in FOP

Q

How to run the "table.fo" example in FOP to generated a PDF file?

✍: FYIcenter.com

A

FOP comes with an example XSL-FO file, table.fo, which shows how to generate tables in PDF. You can use the "fop" command to convert it into a PDF file:

\fyicenter>cd \local\fop-2.2\fop

\local\fop-2.2\fop>fop examples\fo\basic\table.fo \temp\table.pdf
... 
INFO: Rendered page #7.

The output PDF file is located at \temp\table.pdf. Open it with a PDF viewer, you will see something like this:
FOP Example - table.fo

The same example is provided in FOP 2.2, 2.1, and 2.0.

 

Run SVG embedding.fo Example in FOP

Run blockcontainer.fo Example in FOP

FOP Commands and Examples

⇑⇑ FAQ for FOP (Formatting Object Processor)

2016-07-02, 1256👍, 0💬