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:

XSL-FO Layout - Simple-Page-Master
XSL-FO Layout - Simple-Page-Master

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

 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

 Layout Declarations

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

 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

 References

 Full Version in PDF/ePUB