region-start and region-end Sub Elements

This section describes optional region-start and region-end sub elements of the simple-page-master page layout. They are used to declare sidebar areas on the page in most cases.

Now let's take a look at the last two regions: "region-start" and "region-end" of the "simple-page-master" page layout.

What are "region-start" and "region-end"? "region-start" and "region-end" are optional sub elements of the XSL-FO page layout declaration element "simple-page-master" to declare special regions at both ends of the Online Progression Direction on the page.

For example, if "simple-page-master" is declared with writing-mode="lr-tb", "region-start" and "region-end" regions will be located at the left edge and the right edge of the page, because the Online Progression Direction runs from left to right of the page.

"region-start" and "region-end" share the following attributes:

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

Note that margin="..." should not be used. because is not supported in "region-start" and "region-end" elements.

Also note that precedence="..." should not be used. The block-progression-dimension is determined by extent="..." setting of the adjacent "region-before" and the "region-after" region.

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

   <fo:region-start region-name="my_sidebar" background-color="#eeffff"
   extent="0.5in" reference-orientation="-90" writing-mode="lr-tb"/>

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


 Full Version in PDF/ePUB