Learning
Documentation
Community
Open Exchange
Global Masters
Home > Class Reference > ENSLIB namespace > %ZEN.Report.Display.report
Private  Storage   

%ZEN.Report.Display.report


class %ZEN.Report.Display.report extends
childrenNode

Renders the XSLT stylesheet that displays a ZEN report.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
13 16


Summary


Properties
Encoding Indent PreserveSpace StripSpace
applyLevel children class composite
fontFamilyName htmlstyle id ifexpression
ifxpath includeColIfExpression includeColIfXPath includeColUnlessExpression
includeColUnlessXPath level name pageNumberFormat
parent parentClass primaryGroup primaryGroupifxpath
selectstylecond selectstylelist style stylecall
styleparamNames styleparams tag template
terminateIfEmpty title unlessexpression width
withinSmallmultiple writingMode xmlnamespace xmlnamespaceprefix
xpath xslfostyle

Methods
%%OIDGet %AddToSaveSet %ApplyClass %ApplyLevelParameters
%BeginDrawFo %BeginDrawHtml %BeginFOIf %BeginHTMLIf
%BindExport %BuildObjectGraph %ClassIsLatestVersion %ClassName
%Close %ConstructClone %ContainsChart %CopyReportPageXdata
%CopyXdataFromClass %CopyXsltXdata %DeclareLevelParameters %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawStyleToHTML %DrawToAnnotatedXML
%DrawToHTML %DrawToXSLFO %EndDrawFo %EndDrawHtml
%EndFOIf %EndHTMLIf %EndLevel %Extends
%GenerateCode %GetAbsoluteURL %GetParameter %IncLevel
%IncrementCount %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%QuoteValue %QuoteValueEmbedded %QuoteValueL10N %RemoveFromSaveSet
%SerializeObject %SetModified %StyleHTML %StyleXSLFO
%ValidateObject %XMLGenerate %stdStyleSheetCSS %stdStyleSheetFO
ApplyClass CSPLinkToFileLink CountSpaces DoDocForHTML
EndIfCommon EndIfIncludeCol GenerateBookmarkTree GenerateInit
GetDocForXSLFO GetFirstSection GetPageMaster HTMLStyle
IfCommon IfIncludeCol IsIE OutputId
XMLAfterExport XMLBeforeExport XMLDTD XMLExport
XMLExportInternal XMLExportToStream XMLExportToString XMLGetSchemaImports
XMLImport XMLImportInternal XMLIsObjectEmpty XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType XSLFOStyle
insertAxis isCSPLink needsURL parent
processContext processExclamationPoint qualify tagChildren
tagGet updateFromTemplate


Properties


• property Encoding ;
• property Indent ;
• property PreserveSpace ;
• property StripSpace ;
• 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 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 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 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 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

Methods


• classmethod %CopyReportPageXdata(ByRef XSL As %GlobalCharacterStream, XdataName As %String)
• classmethod %CopyXdataFromClass(ByRef XSL As %GlobalCharacterStream, XdataName As %String, Classname As %String)
• classmethod %CopyXsltXdata(ByRef XSL As %GlobalCharacterStream, AllTag As %String, XdataName As %String)
• method %DrawToAnnotatedXML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream) as %Status
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
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
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
Outputs the standard stylesheet for HTML reports
• method %stdStyleSheetFO(ByRef context As %String, ByRef XSL As %GlobalCharacterStream) as %Status
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)
• method GenerateBookmarkTree(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream) as %Status
• 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 GetFirstSection(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) as pagemaster
• classmethod GetPageMaster(this, ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode, xpath As %String) as pagemaster
• classmethod IsIE()
• classmethod processContext(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, children As %ZEN.Report.Display.childrenNode)