[]
Ƭ CheckCancelCallback: () => boolean
▸ (): boolean
The type of callback that gets called before sheet rendering, the render process will be canceled if the function returns true.
boolean
Ƭ CsvSettings: Object
Csv export settings.
Name | Type | Description |
---|---|---|
colSeparator? |
string |
Columns separator character |
outputType? |
"zip" | "plain" |
Export each table as separate file ('zip') or combine it to single CSV |
quotationSymbol? |
string |
Quotation symbol |
rowSeparator? |
string |
Rows separator character |
tableSeparator? |
string |
Tables separator character |
Ƭ OnProgressCallback: (pageNumber
: number
) => void
▸ (pageNumber
): void
The type of callback that gets called after each sheet is rendered.
Name | Type |
---|---|
pageNumber |
number |
void
Ƭ TabularDataExportResult: Object
Export result
Name | Type | Description |
---|---|---|
data |
Blob | string |
Result content. |
download |
(filename? : string ) => void |
Triggers browser download of file with export result. |
Ƭ TabularDataSettings: Object
Tabular Data export settings.
Name | Type | Description |
---|---|---|
csvSettings? |
CsvSettings |
CSV export settings |
format? |
"csv" |
Export format |
▸ exportDocument(source
, settings?
, onProgress?
, checkCancel?
): Promise
<TabularDataExportResult
>
Exports a provided PageDocument to the Tabular Data format and returns it as Blob or string.
Name | Type | Description |
---|---|---|
source |
PageDocument | VDomRenderer |
The document to export. |
settings? |
TabularDataSettings |
Export settings. |
onProgress? |
OnProgressCallback |
The callback that gets called after each sheet is rendered. |
checkCancel? |
CheckCancelCallback |
The callback that gets called before sheet rendering, the render process will be canceled if the function returns true. |
Promise
<TabularDataExportResult
>