Interface PivotTableExporter

All Known Implementing Classes:
PivotTableExporterImpl

public interface PivotTableExporter
  • Method Details

    • exportTableToXls

      void exportTableToXls()
      Exports PivotTable to Xls file.
    • exportTableToXls

      void exportTableToXls(Downloader downloader)
      Exports PivotTable to Xls file.
      Parameters:
      downloader - downloader to save file
    • setFileName

      void setFileName(String fileName)
      Sets the file name.
      Parameters:
      fileName - file name
    • getFileName

      String getFileName()
      Returns:
      file name
    • getPivotData

      PivotData getPivotData()
      Returns:
      serialized object from JSON which represents PivotTable with aggregated data
    • isRendererSupported

      boolean isRendererSupported(Renderer renderer)
      Checks whether renderer is supported by the exporter.
      Parameters:
      renderer - renderer to check
      Returns:
      true if renderer is supported by the exporter
    • getExportFormat

      Returns:
      export format XLS or XLSX
    • setExportFormat

      void setExportFormat(PivotTableExcelExporter.ExportFormat exportFormat)
      Sets export format XLS or XLSX. The default value is XLSX.
      Parameters:
      exportFormat - format that should have exported file