XSL-FO Tutorials - Herong's Tutorial Examples - v2.25, by Herong Yang
FOP Installation Verification on Windows
This section provides a tutorial on how to verify Apache™ FOP by running a FOP built-in example in an AWT preview window on Windows systems.
After installing Apache™ FOP on your Windows system, you can follow these steps to verify if the installation is completed or not.
1. Verify if JVM (Java Virtual Machine) is on the system or not by running the following in a command window:
herong> java -version java version "15" 2020-09-15 Java(TM) SE Runtime Environment (build 15+36-1562) Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
If you get an error, install JDK (Java Development Kit) on your system.
2. Run the built-in example:
herong> cd \fop\fop fop\fop> fop -version FOP Version 2.5 fop\fop> fop -fo examples/fo/basic/readme.fo -awt
If you see a new window displaying some FOP readme information as shown below, you know that your Apache™ FOP is installed correctly.
3. Add "C:\fop\fop" to system environment variable "path". This allows to run the "fop" command without the path name "C:\fop\fop".
herong> fop -version FOP Version 2.5
Table of Contents
►Apache™ FOP (Formatting Objects Processor)
FOP Download and Installation on Windows
►FOP Installation Verification on Windows
FOP Download and Installation on macOS
FOP Installation Verification on macOS
"fop -fo" - Formatting XSL-FO Files
"fop -xml -xsl" - Transformation and Formatting
"fop -xml -xsl -foout" - XSLT Transformations
XSL-FO Document Basics and Examples
Block-Level Formatting Objects
Inline-Level Formatting Objects
Including Graphics in XSL-FO document
Floating Blocks - "float" and "footnote"
Hyperlinks, Table of Contents and Indexes
Headers and Footers using "static-content"
Font Attributes and Font Families
Apache FOP Font Configurations