simple-page-master/region-body Sub Element

This section describes the simple-page-master/region-body, which is the only required sub element of simple-page-master. region-body can have its own margin. But it can not have border or padding.

"simple-page-master" page layout has 5 regions: region-body, region-before, region-after, region-start, and region-end, as we learned from the previous section. Let's look at the "region-body" region first.

What is "region-body"? "region-body" is a required sub element of the XSL-FO page layout declaration element "simple-page-master" to declare the "body" region located in the center of the page.

"region-body" has the following attributes:

Note that border="..." and padding="..." should not be used, because only 0 width is allows. In other words, "region-body" will have no border and no padding.

Here is an example <region-body ...> element with a given name, margin and background color:

   <fo:region-body region-name="my_body" background-color="#eeeeee"
   margin="0.5in" reference-orientation="0" writing-mode="lr-tb"/>

Last update: 2016.

Table of Contents

 About This XSL-FO Tutorial 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

 References

 PDF Printing Version