Apache™ FOP (Formatting Objects Processor)

This chapter provides tutorial notes and example codes on Apache™ FOP (Formatting Objects Processor). Topics include introduction of FOP; FOP download and installation; FOP verification sample; FOP command options; FOP processing examples: formatting, transformation and formatting, and transformation only.

What Is Apache™ FOP?

FOP Download and Installation on Windows

FOP Installation Verification on Windows

FOP Download and Installation on macOS

FOP Installation Verification on macOS

"fop" Command and Options

"fop -fo" - Formatting XSL-FO Files

"fop -xml -xsl" - Transformation and Formatting

"fop -xml -xsl -foout" - XSLT Transformations


Table of Contents

 About This Book

 Introduction of XSL-FO

Apache™ FOP (Formatting Objects Processor)

 RenderX XEP as an XSL-FO Tool

 Introduction of Area Model

 XSL-FO Document Basics and Examples

 Page Layout Masters

 Block-Level Formatting Objects

 Inline-Level Formatting Objects

 Including Graphics in XSL-FO document

 Table of Rows and Columns

 List, Item, Label, and Body

 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

 RenderX XEP Font Configurations

 Converting HTML to PDF


 Full Version in PDF/ePUB