Headers and Footers using "static-content"
This chapter provides tutorial notes and example codes on headers and footers. Topics include guidelines on generating page headers and footers; using table formatting object to generate headers and footers in 3 parts; generating page headers for multiple chapters.
Page Header in region-before Area
Page Header with 3 Parts
Page Footer with 3 Parts
Page Headers for Multiple Chapters
- Page headers are generated from a static-content formatting object mapped
to the region-before area in the layout.
- Page footers are generated from a static content formatting object mapped
to the region-after area in the layout.
- region-body area must have enough margin-top to avoid overlapping with page headers.
- region-body area must have enough margin-bottom to avoid overlapping with page footers.
- A block-container formatting object can be used to wrap the page header content
and lower it to the bottom of region-before area.
- A table formatting object can be used to generated headers and footers in 2 or 3 parts
- page-sequence-master should be used to have one layout without header
for the first page of a chapter, and one layout with header for other pages of the chapter.
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