Report Export
4 nodes
On this page 4
Folder Variable
FunctionThe environment variable that moves the reports folder.
FolderVariable() -> Text
string FolderVariable()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Report Export
- Package
- Data Analytics
Report Page Count
FunctionHow many pages the report takes as a PDF document, or how many slides as a PowerPoint deck.
ReportPageCount -> Integer
report: Report
format: Report Formatint ReportPageCount(
Report report,
ReportFormat format = ReportFormat.Pdf)Parameters
| name | type | default | description |
|---|---|---|---|
| report | Report | — | The report. |
| format | Report Format | Pdf for pages, Pptx for slides; a Word document's pages are its word processor's to count. |
Returns
| Pages | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Report Export
- Package
- Data Analytics
Reports Folder
FunctionWhere reports are written when Save Report is given only a name: a Reports folder in the Divooka folder of the user's documents, or the folder the DIVOOKA_REPORTS_FOLDER environment variable names.
ReportsFolder() -> Text
string ReportsFolder()
Returns
| Folder | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Report Export
- Package
- Data Analytics
Save Report
FunctionWrites the report as a PDF document (.pdf, A4 pages), a PowerPoint deck (.pptx, 16:9 slides) or a Word document (.docx) - the extension decides - and gives back the file's full path. In a deck or a Word document each chart is the application's own, its data inside the file, where the application has a chart that draws it. A name on its own, or a relative path, is put in the reports folder; a full path is written where it says.
SaveReport -> (Path: Text, writtenAs: Text)
report: Report
path: Textstring SaveReport(
Report report,
out string writtenAs,
string path = "Report.pdf")Parameters
| name | type | default | description |
|---|---|---|---|
| report | Report | — | The report. |
| path | Text | Report.pdf | The file: "Machine Health.pdf", "Review.pptx", "Summary.docx", or a full path. |
Returns
| Path | Text |
| writtenAs | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Report Export
- Package
- Data Analytics