fo:simple-page-master
Used in the generation of pages and specifies the geometry of the page. The page is subdivided into regions.
Element information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- fo:region-body [1..*]A viewport/reference pair that is located in the "center" of the fo:simple-page-master.
- fo:region-before [0..1]A viewport that is located on the "before" side of fo:region-body region.
- fo:region-after [0..1]A viewport that is located on the "after" side of fo:region-body region.
- fo:region-start [0..1]A viewport that is located on the "start" side of fo:region-body region.
- fo:region-end [0..1]A viewport that is located on the "end" side of fo:region-body region.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
margin-top | [0..1] | fo:margin-width | The top margin of a box. CSS2 Reference: | from group fo:margin-top |
margin-bottom | [0..1] | fo:margin-width | The bottom margin of a box. CSS2 Reference: | from group fo:margin-bottom |
margin-left | [0..1] | fo:margin-width | The left margin of a box. CSS2 Reference: | from group fo:margin-left |
margin-right | [0..1] | fo:margin-width | The right margin of a box. CSS2 Reference: | from group fo:margin-right |
margin | [0..1] | Anonymous | A shorthand property for setting margin-top, margin-right, margin-bottom, and margin-left of a block-area or inline-area. If there is only one value, it applies to all sides. If there are two values, the top and bottom margins are set to the first value and the right and left margins are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively. CSS2 Reference: | from group fo:margin |
space-before | [0..1] | fo:space-or-inherit | The space-specifier for the space before the areas generated by this formatting object. | from group fo:space-before |
space-before.minimum | [0..1] | fo:length | from group fo:space-before | |
space-before.optimum | [0..1] | fo:length | from group fo:space-before | |
space-before.maximum | [0..1] | fo:length | from group fo:space-before | |
space-before.conditionality | [0..1] | fo:conditionality | from group fo:space-before | |
space-before.precedence | [0..1] | fo:precedence | from group fo:space-before | |
space-after | [0..1] | fo:space-or-inherit | The space-specifier for the space after the areas generated by this formatting object. | from group fo:space-after |
space-after.minimum | [0..1] | fo:length | from group fo:space-after | |
space-after.optimum | [0..1] | fo:length | from group fo:space-after | |
space-after.maximum | [0..1] | fo:length | from group fo:space-after | |
space-after.conditionality | [0..1] | fo:conditionality | from group fo:space-after | |
space-after.precedence | [0..1] | fo:precedence | from group fo:space-after | |
start-indent | [0..1] | fo:length-percentage-or-inherit | For each block-area generated by this formatting object, specifies the distance from the start-edge of the content-rectangle of the containing reference-area to the start-edge of the content-rectangle of that block-area. | from group fo:start-indent |
end-indent | [0..1] | fo:length-percentage-or-inherit | For each block-area generated by this formatting object, specifies the distance from the end-edge of the content-rectangle of that block-area to the end-edge of the content-rectangle of the containing reference-area. | from group fo:end-indent |
master-name | [0..1] | fo:name | Names identify masters, may not be empty and must be unique. | from group fo:master-name |
page-height | [0..1] | Anonymous | The height of a page. | from group fo:page-height |
page-width | [0..1] | Anonymous | The width of a page. | from group fo:page-width |
size | [0..1] | Anonymous | The size and orientation of a page box. CSS2 Reference: | from group fo:size |
reference-orientation | [0..1] | Anonymous | The direction for "top" for the content-rectangle of the "reference-area". This is used as the reference for deriving directions, such as the block-progression-direction, inline-progression-direction, etc. as specified by the "writing-mode" and "direction" properties, and the orientation, placement, and tiling of the background. | from group fo:reference-orientation |
writing-mode | [0..1] | Anonymous | from group fo:writing-mode |
Used in
- Anonymous type of element fo:layout-master-set
Sample instance
<fo:simple-page-master> <fo:region-body/> <fo:region-before/> <fo:region-after/> <fo:region-start/> <fo:region-end/> </fo:simple-page-master>