XSL-FO Tutorials - Herong's Tutorial Examples - v2.25, by Herong Yang
simple-page-master - Simple Page Layout
This section describes the simple page layout, simple-page-master, which divides a page into 5 regions: region-body, region-before, region-after, region-start, and region-end.
What Is "simple-page-master"? "simple-page-master" is an XSL-FO page layout declaration element. It declares a simple page layout with 5 regions:
"region-body" - The "body" region is a rectangular region in the center of the page. This region is usually used to present main content.
"region-before" - The "before" region is a rectangular region on the "before" side of the "body" region.
"region-after" - The "after" region is a rectangular region on the "after" side of the "body" region.
"region-start" - The "start" region is a rectangular region on the "start" side of the "body" region.
"region-end" - The "end" region is a rectangular region between "region-before" and "region-after" next to the right edge of the page.
The diagram below shows those 5 regions of "simple-page-master" layout with default settings:
Aa you can see from the diagram, the "simple-page-master" layout puts the "body" region in the center of the page as the main content region, and other 4 regions as side regions around the "body" region.
Table of Contents
Apache™ FOP (Formatting Objects Processor)
XSL-FO Document Basics and Examples
►simple-page-master - Simple Page Layout
simple-page-master Attributes and Sub Elements
simple-page-master/region-body Sub Element
region-before and region-after Sub Elements
region-start and region-end Sub Elements
"Body" Region Margin and "Side" Region Extent
Precedence of Side Region Corners
Page Layout and Page Sequence Mapping
What Is "page-sequence-master"
Layout Sequence Example - Cover and Content
Wheat Is "repeatable-page-master-alternatives"?
Layout Sequence Example - Odd and Even Pages
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