%ZEN.Report.Display.report

class %ZEN.Report.Display.report extends %ZEN.Report.Display.childrenNode

Renders the XSLT stylesheet that displays a ZEN report.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties

property Encoding;
Property methods: EncodingDisplayToLogical(), EncodingGet(), EncodingIsValid(), EncodingLogicalToDisplay(), EncodingLogicalToOdbc(), EncodingNormalize(), EncodingSet()
property Indent;
Property methods: IndentDisplayToLogical(), IndentGet(), IndentIsValid(), IndentLogicalToDisplay(), IndentLogicalToOdbc(), IndentNormalize(), IndentSet()
property PreserveSpace;
Property methods: PreserveSpaceDisplayToLogical(), PreserveSpaceGet(), PreserveSpaceIsValid(), PreserveSpaceLogicalToDisplay(), PreserveSpaceLogicalToOdbc(), PreserveSpaceNormalize(), PreserveSpaceSet()
property StripSpace;
Property methods: StripSpaceDisplayToLogical(), StripSpaceGet(), StripSpaceIsValid(), StripSpaceLogicalToDisplay(), StripSpaceLogicalToOdbc(), StripSpaceNormalize(), StripSpaceSet()
property fontFamilyName as %ZEN.Datatype.string (XMLNAME = "font-family-name") [ InitialExpression = "Arial" ];
font-family for fo:root, default value is "'Arial'"
font-family-name is optional and does not have to be specified, in which case its value will be "'Arial'"
Example: <report name="MyReport" sql="SELECT WH,PNO FROM PARTS" font-family-name="Calibri">
if font-family-name is "", i.e., null, no font-family attribute will be generated
Property methods: fontFamilyNameDisplayToLogical(), fontFamilyNameGet(), fontFamilyNameIsValid(), fontFamilyNameLogicalToDisplay(), fontFamilyNameLogicalToOdbc(), fontFamilyNameNormalize(), fontFamilyNameSet()
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 methods: nameDisplayToLogical(), nameGet(), nameIsValid(), nameLogicalToDisplay(), nameLogicalToOdbc(), nameNormalize(), nameSet()
property pageNumberFormat as %ZEN.Datatype.string;
Allow setting page number format: use i or I for roman use a or A for alphabetic use 1 for numeric
Property methods: pageNumberFormatDisplayToLogical(), pageNumberFormatGet(), pageNumberFormatIsValid(), pageNumberFormatLogicalToDisplay(), pageNumberFormatLogicalToOdbc(), pageNumberFormatNormalize(), pageNumberFormatSet()
property parentClass as %String;
Property methods: parentClassDisplayToLogical(), parentClassGet(), parentClassIsValid(), parentClassLogicalToDisplay(), parentClassLogicalToOdbc(), parentClassNormalize(), parentClassSet()
property primaryGroup as %ZEN.Datatype.string;
Primary outer sort group name that XSL:for-each statement will work with
Property methods: primaryGroupDisplayToLogical(), primaryGroupGet(), primaryGroupIsValid(), primaryGroupLogicalToDisplay(), primaryGroupLogicalToOdbc(), primaryGroupNormalize(), primaryGroupSet(), primaryGroupifxpathDisplayToLogical(), primaryGroupifxpathGet(), primaryGroupifxpathIsValid(), primaryGroupifxpathLogicalToDisplay(), primaryGroupifxpathLogicalToOdbc(), primaryGroupifxpathNormalize(), primaryGroupifxpathSet()
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 methods: primaryGroupifxpathDisplayToLogical(), primaryGroupifxpathGet(), primaryGroupifxpathIsValid(), primaryGroupifxpathLogicalToDisplay(), primaryGroupifxpathLogicalToOdbc(), primaryGroupifxpathNormalize(), primaryGroupifxpathSet()
property terminateIfEmpty as %ZEN.Datatype.boolean;
Terminate if empty
Property methods: terminateIfEmptyDisplayToLogical(), terminateIfEmptyGet(), terminateIfEmptyIsValid(), terminateIfEmptyLogicalToDisplay(), terminateIfEmptyLogicalToOdbc(), terminateIfEmptyLogicalToXSD(), terminateIfEmptyNormalize(), terminateIfEmptySet(), terminateIfEmptyXSDToLogical()
property title as %ZEN.Datatype.caption;
Report title
Property methods: titleDisplayToLogical(), titleGet(), titleIsValid(), titleLogicalToDisplay(), titleLogicalToOdbc(), titleNormalize(), titleSet()
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
Property methods: writingModeDisplayToLogical(), writingModeGet(), writingModeIsValid(), writingModeLogicalToDisplay(), writingModeLogicalToOdbc(), writingModeNormalize(), writingModeSet()

Methods

classmethod %CopyReportPageXdata(ByRef XSL As %GlobalCharacterStream, XdataName As %String) [ Language = objectscript ]
classmethod %CopyXdataFromClass(ByRef XSL As %GlobalCharacterStream, XdataName As %String, Classname As %String) [ Language = objectscript ]
method %DrawToAnnotatedXML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream) as %Status [ Language = objectscript ]
Inherited description: This method outputs the stylesheet that converts the input xml to the xml with Excel annotations report, table and item should override this method. Nested tables not supported.
method %DrawToHTML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, delay As %GlobalCharacterStream, ByRef incell As %Boolean, embedXSL As %Boolean = 0, UseInternalXSLT As %Boolean = 0, SubReport As %String, MainReport As %String, pXSLTMode) as %Status [ Language = objectscript ]
Inherited description: 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, ByRef incell As %Boolean, SubReport As %String, MainReport As %String, pUseInstalledFOP) as %Status [ Language = objectscript ]
Inherited description: This method outputs the necessary stylesheet information for the PDF report. Every tag should override this method.
method %stdStyleSheetCSS(ByRef XSL As %GlobalCharacterStream) as %Status [ Language = objectscript ]
Outputs the standard stylesheet for HTML reports
method %stdStyleSheetFO(ByRef context As %String, ByRef XSL As %GlobalCharacterStream) as %Status [ Language = objectscript ]
Outputs the standard stylesheet for PDF reports
classmethod DoDocForHTML(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) [ Language = objectscript ]
method GenerateBookmarkTree(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream) as %Status [ Language = objectscript ]
method GenerateInit(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream, isFO As %Boolean) as %Status [ Language = objectscript ]
classmethod GetDocForXSLFO(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) as document [ Language = objectscript ]
classmethod GetFirstSection(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) as pagemaster [ Language = objectscript ]
classmethod GetPageMaster(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) as pagemaster [ Language = objectscript ]
classmethod IsIE() [ Language = objectscript ]
classmethod processContext(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode) [ Language = objectscript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback