Skip to end of banner
Go to start of banner

Data writing routines

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The following routines are meant to write values obtained via a SIL script to an Excel file, and also to configure the writing process. These routines should be used in the reporting script, after the data has been generated.

 

Routine

Description

Syntax

reporting_setupTemplateRoutine that defines the Excel template file path.reporting_setupTemplate(templatePath [, useStreaming])
reporting_setupSheetRoutine that defines a worksheet in which the data is to be written.reporting_setupSheet(sheetName, headers, columnTypes)
reporting_addDataRoutine that adds a bulk of data to some worksheet defined before.reporting_addData(sheetName, data)
reporting_writeWorkbookRoutine that writes the Excel file and sends it back to the user.reporting_writeWorkbook()
  • No labels