Skip to main content

%DeepSee.UI.WorksheetPDF

Class %DeepSee.UI.WorksheetPDF Extends %ZEN.Report.reportPage [ System = 4 ]

Render a Worksheet to PDF by using the Zen reports infrastructure. The name of the worksheet to process is passed in via the URL parameter WORKSHEET.

Parameters

DOMAIN

Parameter DOMAIN = "%DeepSee";

DEFAULTMODE

Parameter DEFAULTMODE = "pdf";

XDatas

ReportDefinition

XData ReportDefinition [ XMLNamespace = "http://www.intersystems.com/zen/report/definition" ]

XML that defines the contents of this report.

ReportDisplay

XData ReportDisplay [ XMLNamespace = "http://www.intersystems.com/zen/report/display" ]

Methods

Test

ClassMethod Test(pWorkSheetName As %String)

SampleData

ClassMethod SampleData()

Write out sample data

SampleData2

ClassMethod SampleData2()

Write out sample data

GetTableData

ClassMethod GetTableData()

Get the data, as xml, for the current worksheet.

%WriteXMLForReport

ClassMethod %WriteXMLForReport(pID As %String)

Write out the contents of a report in a way that can be consumed by a Zen report. pID is the full name of the worksheet.

%ParseStyle

ClassMethod %ParseStyle(pStyle As %String, Output pCSS As %String)

Parse a CSS style directive.

%WriteXMLMessage

ClassMethod %WriteXMLMessage(pTitle As %String, pMessage As %String)

Create a simplified XML report for displaying an error message.

%OnPreHTTP

ClassMethod %OnPreHTTP() As %Boolean [ ServerOnly = 1 ]

Test for additional resources.