Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Report] >  [Display] >  [class]
Private  Storage   

deprecatedclass %ZEN.Report.Display.class extends childrenNode

Specifies a style class for the report display. Classes represent CSS classes for HTML reports, and attribute-sets for PDF reports.

When naming a class, one should use something of the form "tag.class". The tags refer directly to HTML tags like <td>, <th>, <table>, <a>, <p>, etc. In the HTML report, this converts directly to CSS so that the cells of a table take on the style of td.theirclass, the header row/column takes on the style of th.theirclass, etc. In the PDF report, the tag names are different, but the use-attribute-set attribute is automatically adjusted to take this into account. That is, a table cell with class="test" will use the style defined by the tag <class name="td.test"/>. Similarly for <th>, <table>, <td>, <a>, <p>.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


Summary

Properties
applyLevel children class composite
htmlstyle id ifexpression ifxpath
includeColIfExpression includeColIfXPath includeColUnlessExpression includeColUnlessXPath
level name parent selectstylecond
selectstylelist style stylecall styleparamNames
styleparams tag template unlessexpression
width withinSmallmultiple xmlnamespace xmlnamespaceprefix
xpath xslfostyle

Methods
%AddToSaveSet %ApplyClass %ApplyLevelParameters %ClassIsLatestVersion
%ClassName %ConstructClone %DeclareLevelParameters %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawStyleToHTML %DrawToAnnotatedXML
%DrawToHTML %DrawToXSLFO %EndLevel %Extends
%GetAbsoluteURL %GetParameter %IncLevel %IsA
%IsModified %New %NormalizeObject %ObjectModified
%OriginalNamespace %PackageName %QuoteValue %QuoteValueEmbedded
%QuoteValueL10N %RemoveFromSaveSet %SerializeObject %SetModified
%StyleHTML %StyleXSLFO %ValidateObject ApplyClass
CSPLinkToFileLink CountSpaces DoDocForHTML GetDocForXSLFO
HTMLStyle OutputId XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType XSLFOStyle insertAxis
isCSPLink needsURL parent processExclamationPoint
qualify tagGet


Properties

• property children as list of %ZEN.Report.Display.att(XMLELEMENTREF=1,XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE");
• property name as %ZEN.Datatype.cssClass [ Required ];
CSS class name. See class description for details.

Methods

• method %DrawToHTML(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, delay As %GlobalCharacterStream, ByRef incell As %Boolean) 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, delay As %GlobalCharacterStream, ByRef incell As %Boolean) as %Status
This method outputs the necessary stylesheet information for the PDF report. Every tag should override this method.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.