Interface JasperExportHook

All Superinterfaces:
Hook
All Known Implementing Classes:
MetadataJasperPdfExportHooker

public interface JasperExportHook extends Hook
Interface for the export callbacks.
  • Method Details

    • getFormats

      Collection<String> getFormats()
      Provides a list of supported export formats.
      Returns:
      A string array with each element holding one supported export format.
    • beforeExport

      void beforeExport(String type, JRExporter exporter, JasperReport report, User user)
      Method to be called just before exportReport() method.
      Parameters:
      type - The type of the exporter.
      exporter - The JRExporter to operate on.
    • afterExport

      void afterExport(String type, JRExporter exporter, JasperReport report, CompiledRSJasperReport compiledReport, User user)
      Method to be called after the call to the exportReport() method.
      Parameters:
      type - The type of the exporter.
      exporter - The JRExporter to operate on.