class %ZEN.Report.Display.document
extends childrenNode
The <document> tag is used at the top-level to specify dimensions and
styling for the report. The dimensions only affect the PDF report.
property endSidebarLength
as %ZEN.Datatype.length [ InitialExpression = "0" ];
Specifies the amount of room available for the contents of the <endsidebar> tag.
property footerHeight
as %ZEN.Datatype.length [ InitialExpression = "0" ];
Specifies the amount of room available for the contents of the <pagefooter> tag.
property headerHeight
as %ZEN.Datatype.length [ InitialExpression = "0" ];
Specifies the amount of room available for the contents of the <pageheader> tag.
property height
as %ZEN.Datatype.length [ InitialExpression = "11in" ];
Specifies the height of the document.
property ifexpression
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property ifxpath
as %ZEN.Datatype.string(XMLPROJECTION="NONE");
property margin
as %ZEN.Datatype.string;
margin attribute on fo:simple-page-master
property marginBottom
as %ZEN.Datatype.length [ InitialExpression = "1in" ];
Specifies the bottom margin of the document. This does not include the
space left for the footer.
property marginLeft
as %ZEN.Datatype.length [ InitialExpression = "1.25in" ];
Specifies the left margin width of the document.
property marginRight
as %ZEN.Datatype.length [ InitialExpression = "1.25in" ];
Specifies the right margin width of the document.
property marginTop
as %ZEN.Datatype.length [ InitialExpression = "1in" ];
Specifies the top margin of the document. This does not include the
space left for the header.
property orientation
as %ZEN.Datatype.string(VALUELIST=",portrait,landscape,none") [ InitialExpression = "portrait" ];
property referenceOrientation
as %ZEN.Datatype.integer;
value of reference-orientation in XSL-FO region-body
property regionAfter
as %ZEN.Datatype.string;
property regionAfterColor
as %ZEN.Datatype.string;
property regionAfterDisplayAlign
as %ZEN.Datatype.string [ InitialExpression = "after" ];
property regionAfterExtent
as %ZEN.Datatype.string;
property regionAfterName
as %ZEN.Datatype.string;
property regionAfterOrientation
as %ZEN.Datatype.integer [ InitialExpression = 0 ];
property regionBefore
as %ZEN.Datatype.string;
property regionBeforeColor
as %ZEN.Datatype.string;
property regionBeforeDisplayAlign
as %ZEN.Datatype.string [ InitialExpression = "inherit" ];
property regionBeforeExtent
as %ZEN.Datatype.string;
property regionBeforeName
as %ZEN.Datatype.string;
property regionBeforeOrientation
as %ZEN.Datatype.integer [ InitialExpression = 0 ];
property regionEnd
as %ZEN.Datatype.string;
property regionEndColor
as %ZEN.Datatype.string;
property regionEndDisplayAlign
as %ZEN.Datatype.string [ InitialExpression = "after" ];
property regionEndExtent
as %ZEN.Datatype.string;
property regionEndName
as %ZEN.Datatype.string;
property regionEndOrientation
as %ZEN.Datatype.integer [ InitialExpression = 0 ];
property regionStart
as %ZEN.Datatype.string;
property regionStartColor
as %ZEN.Datatype.string;
property regionStartDisplayAlign
as %ZEN.Datatype.string [ InitialExpression = "inherit" ];
property regionStartExtent
as %ZEN.Datatype.string;
property regionStartName
as %ZEN.Datatype.string;
property regionStartOrientation
as %ZEN.Datatype.integer [ InitialExpression = 0 ];
property size
as %ZEN.Datatype.string;
size attribute on fo:simple-page-master
property startSidebarLength
as %ZEN.Datatype.length [ InitialExpression = "0" ];
Specifies the amount of room available for the contents of the <pagestartsidebar> tag.
property width
as %ZEN.Datatype.length [ InitialExpression = "8.5in" ];
Specifies the width of the document.
property writingMode
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode");
writing-mode XML attribute. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit
Note this places a writing-mode on fo:simple-page-master.
The semantics of writing-mode on simple-page-master differs from page-sequence. Specifically, on simple-page-master, it is used to interpret the meaning of before, after, start, end with respect to resolving the placement of page regions. However, it does not affect the writing-mode trait of reference areas generated by page-sequence. In the latter case, it is the writing-mode on page-sequence that counts.
To place a writing-mode on page-sequence use the writing-mode in the report or section element
property writingModeRegionAfter
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode-region-after");
writing-mode XML attribute on the region-after. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit
property writingModeRegionBefore
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode-region-before");
writing-mode XML attribute on the region-before. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit
property writingModeRegionBody
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode-region-body");
writing-mode XML attribute on the region-body. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit
property writingModeRegionEnd
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode-region-end");
writing-mode XML attribute on the region-end. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit
property writingModeRegionStart
as %ZEN.Datatype.string(VALUELIST=",lr-tb,rl-tb,tb-rl,lr,rl,tb,inherit",XMLNAME="writing-mode-region-start");
writing-mode XML attribute on the region-start. It has the following possible values. Note that not all XSL-FO renderers will support all possible values.
lr-tb Text are written left-to-right and top-to-bottom (normal "alphabetic" text)
rl-tb Text are written right-to-left and top-to-bottom (Arabic and Hebrew text)
tb-rl Text are written top-to-bottom and right-to-left (Chinese and Japanese text)
lr Same as lr-tb
rl Same as rl-tb
tb Same as tb-rl
inherit