Kodall
Packages

Package: print

PDF rendering and printing API.

PDF rendering and printing API.

Examples

The following example creates a merged report.

ONE Workflow
workflow ReportCreator;

method main() {
    var mergedPdf as mergedreport;
    print->addToMergedReport(mergedPdf, rd, 46);
}

Methods

createItem

ONE Workflow
function createItem() as reportdataitem

Creates a new report data item object.

createMergedReport

ONE Workflow
function createMergedReport() as mergedreport

Creates a new merged report object.

createReportData

ONE Workflow
function createReportData() as reportdata

Creates a new report data object.

print

ONE Workflow
method putItemDecimal(rdi as reportdataitem, paramName as string, paramValue as decimal)

Add decimal property value to report item.

putItemDecimal

ONE Workflow
method putItemDecimal(rdi as reportdataitem, paramName as string, paramValue as decimal)

Add decimal property value to report item.

putItemString

ONE Workflow
method putItemString(rdi as reportdataitem, paramName as string, paramValue as string)

Add string property value to report item.

save

ONE Workflow
function save(rd as reportdata, templateKey as int, fileName as string) as int

Apply template and save to storage.

update

ONE Workflow
function update(rd as reportdata, templateKey as int, fileName as string) as int

Apply template and update to storage.