class %ZEN.Report.Display.section
extends childrenNode
Renders the XSLT stylesheet that displays a ZEN report.
property Encoding
;
property Indent
;
property PreserveSpace
;
property StripSpace
;
property name
as %ZEN.Datatype.name;
This property must match the name of the outermost tag of the report data.
In the case of ZEN generated data, this attribute must match the name
attribute of the <report< tag in the ReportDefinition XData block.
property parentClass
as %String;
property primaryGroup
as %ZEN.Datatype.string;
Primary outer sort group name that XSL:for-each statement will work with
property primaryGroupifxpath
as %ZEN.Datatype.string;
Primary outer sort group name ifxpath condition to determine if a group iteration should be
included and a page sequnce generated
property sectionName
as %ZEN.Datatype.string [ Required ];
property terminateIfEmpty
as %ZEN.Datatype.boolean;
Terminate if empty
property title
as %ZEN.Datatype.caption;
Report title
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
method %DrawToHTML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, delay As %GlobalCharacterStream, embedXSL As %Boolean = 0, UseInternalXSLT As %Boolean = 0, SubReport As %String, MainReport As %String)
as %Status
This method outputs the necessary stylesheet information for the HTML report.
Every tag should override this method.
method %DrawToXSLFO(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream, SubReport As %String)
as %Status
This method outputs the necessary stylesheet information for the PDF report.
Every tag should override this method.
method %DrawToXSLFOStyle(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream, ByRef documentArray As %ArrayOfDataTypes, ByRef masterArray As %ArrayOfDataTypes)
as %Status
classmethod DoDocForHTML(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String)
method GenerateInit(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream, isFO As %Boolean)
as %Status
classmethod GetDocForXSLFO(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String)
as document
classmethod GetPageMasterForXSLFO(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String)
as pagemaster
classmethod processContext(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode)