XSL-FO simple-page-master
Object
Definition and Usage
The <fo:simple-page-master>
object defines the dimensions and shape of a page. Each page layout includes a specified simple-page-master.
A page can contain up to five regions: region-body, region-before, region-after, region-start, region-end.
The <fo:simple-page-master>
object will be referenced from a <fo:page-sequence-master>
object or a <fo:page-sequence>
object.
Syntax
Attributes
Attribute |
---|
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:
Example 2
A "real" XSL-FO example:
The output of the above code is as follows:
| Hello tutorialpro |