%DeepSee.Report.dataPresenter

class %DeepSee.Report.dataPresenter extends %DeepSee.Report.reportPage

Base class for all data presentation reports created by the DeepSee Report Builder.

Method Inventory (Including Private)

Methods

method GenerateReport(outputfile As %String, mode As %Integer = 0, log As %Boolean = 0, renderServer As %String = "", ExcelMode As %String = "", pStr As %String = "", Output RenderDirect As %Integer = 1) as %Status [ Language = objectscript ]
Inherited description: Generate the report and save it to outputfile.
Choices for mode are:
  • 0 = XML
  • 1 = HTML
  • 2 = PDF
  • 3 = ToHTML Stylesheet
  • 4 = ToXSLFO Stylesheet
  • 5 = XSD Schema
  • 6 = PrintPS
  • 7 = Excel
  • 8 = XSLFO
  • 9 = ToEXCEL
  • 10=xlsx
  • 11=TIFF
  • 12=pdfprint
  • 13=displayxlsx
  • 14=fo2pdf
  • 15=foandpdf

If log is true, the log file is returned instead of the report
method GetResultValue(Results, N As %Integer = 1) as %String [ Language = objectscript ]
Extracts a value from XPath Result list.
method MakeXPath(ByRef values, dataGroup, dataFields, plotBy, context, seriesNameField) [ Language = objectscript ]
Specify seriesGroup or dataGroup as dataGroup.
Specify comma-separated list for dataFields, (no need for !-prefixes).

When plotBy is "series" : the number of series equals the number of dataGroup elements found in the XML.
When plotBy is "item" : the number of series equals the number dataField entries specified.

If the dataGroup name is not unique, specify the context using XPath syntax. The default is to match elements of that name anywhere (context="//").

Optionally specify a seriesNameField XPath expression. This is evaluated relative to the dataGroup. If not specified, a default name is generated using the dataGroup and a positional predicate.

classmethod OnPage() as %Status [ Language = objectscript ]
Render the contents of this ZEN report.
classmethod QueryURL() as %ZEN.Datatype.string [ Language = objectscript, ZenMethod ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback