List of XSL-FO Examples in FOP

Q

What are XSL-FO example files provided in FOP? I want to learn how to write XSL-FO files.

✍: FYIcenter.com

A

FOP is binary distribution package of Apache FOP 2.7. It contains the following XSL-FO example files:

  • simple.fo - a very simple file which gives use a first impression of the structure of an XSL-FO file
  • normal.fo - a simple file showing the use of a 2 level of headings, normal text and a header.
  • table.fo - some table examples
  • list.fo - a short tutorial how to use list fo's and properties
  • images.fo - shows how to embed GIF and JPEG images into the XSL-FO file using external-graphic.
  • border.fo - a not so simple example how to use borders in tables
  • extensive.fo - a longer test file containing a lot of different flow objects and properties. A good candidate to test your bugfix or new FOP code.
  • leader.fo - shows different uses of fo:leader, p.e. as rule or in a table of content
  • normalex.fo - shows the use of computed property values
  • inhprop.fo - shows the use of inherited property values
  • instream.fo - shows the use of fo:instream-foreign-object together with SVG
  • textdeko.fo - shows the use of the property text-decoration
  • readme.fo - uses an old version of FOP documentation for a longer example

The same examples are provided in FOP 2.7, 2.2, 2.1, and 2.0.

 

Run simple.fo Example in FOP

FOP Commands and Examples

FOP Commands and Examples

⇑⇑ FAQ for FOP (Formatting Object Processor)

2016-06-30, 2358🔥, 0💬