XSL-FO simple-page-master Object
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
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:
Example 2
A "real" XSL-FO example:
fo:blockHello RUNOOB
The output of the code above is shown below:
| Hello RUNOOB |
|---|
XSL-FO Reference Manual