Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO simple-page-master Object

XSL-FO simple-page-master Object

XSL-FO Reference Manual XSL-FO Reference Manual


Definition and Usage

The fo:simple-page-master The object defines the size and shape of a page. Each page layout contains a specified simple-page-master.

A page can contain up to five areas: region-body, region-before, region-after, region-start, region-end.

fo:simple-page-master The object will be referenced from a fo:page-sequence-master object or afo:page-sequence object.


Syntax

fo:simple-page-master

property

property
end-indent
margin-bottom
margin-left
margin-right
margin-top
master-name
page-height
page-width
reference-orientation
space-after
space-before
start-indent
writing-mode

Example 1

The structure of an XSL-FO document is as follows:

fo:layout-master-set

Example 2

A "real" XSL-FO example:

fo:layout-master-set

fo:blockHello RUNOOB

The output of the code above is shown below:

Hello RUNOOB


XSL-FO Reference Manual XSL-FO Reference Manual