public interface PivotTableExtension
Modifier and Type | Method and Description |
---|---|
void |
exportTableToXls()
Exports PivotTable to Xls file.
|
void |
exportTableToXls(Downloader downloader)
Exports PivotTable to Xls file.
|
java.lang.String |
getDateParseFormat() |
java.lang.String |
getDateTimeParseFormat() |
PivotExcelExporter.ExportFormat |
getExportFormat() |
java.lang.String |
getFileName() |
PivotData |
getPivotData() |
java.lang.String |
getPivotDataJSON() |
java.lang.String |
getTimeParseFormat() |
boolean |
isRendererSupported(Renderer renderer)
Checks whether renderer is supported by the exporter.
|
void |
setDateParseFormat(java.lang.String dateParseFormat)
Sets date format that will be used to finding dateTime value and exporting it to excel with date type.
|
void |
setDateTimeParseFormat(java.lang.String dateTimeParseFormat)
Sets dateTime format that will be used to finding dateTime value and exporting it to excel with dateTime type.
|
void |
setExportFormat(PivotExcelExporter.ExportFormat exportFormat)
Sets export format
XLS or XLSX . |
void |
setFileName(java.lang.String fileName)
Sets the file name.
|
void |
setTimeParseFormat(java.lang.String timeParseFormat)
Sets date format that will be used to finding dateTime value and exporting it to excel with date type.
|
void exportTableToXls()
void exportTableToXls(Downloader downloader)
downloader
- downloader to save filevoid setFileName(java.lang.String fileName)
fileName
- file namejava.lang.String getFileName()
java.lang.String getPivotDataJSON()
PivotData getPivotData()
@Nullable java.lang.String getDateTimeParseFormat()
void setDateTimeParseFormat(java.lang.String dateTimeParseFormat)
dateTimeParseFormat
- dateTime format (e.g. dd/MM/yyyy HH:mm)@Nullable java.lang.String getDateParseFormat()
void setDateParseFormat(java.lang.String dateParseFormat)
dateParseFormat
- date format (e.g. dd/MM/yyyy)@Nullable java.lang.String getTimeParseFormat()
void setTimeParseFormat(java.lang.String timeParseFormat)
timeParseFormat
- time format (e.g. HH:mm)boolean isRendererSupported(Renderer renderer)
renderer
- renderer to checktrue
if renderer is supported by the exporterPivotExcelExporter.ExportFormat getExportFormat()
XLS
or XLSX
void setExportFormat(PivotExcelExporter.ExportFormat exportFormat)
XLS
or XLSX
. The default value is XLSX
.exportFormat
- format that should have exported file