public class MetadataJasperPdfExportHooker extends java.lang.Object implements JasperExportHook
Constructor and Description |
---|
MetadataJasperPdfExportHooker(ExportMetadataService exportMetadataService) |
Modifier and Type | Method and Description |
---|---|
void |
afterExport(java.lang.String type,
JRExporter exporter,
JasperReport report,
CompiledRSJasperReport compiledReport,
User user)
Nothing to do after an export.
|
void |
beforeExport(java.lang.String type,
JRExporter exporter,
JasperReport report,
User user)
Sets the three configurable metadata fields for PDF files.
|
java.util.Collection<java.lang.String> |
getFormats()
Provides a list of supported export formats.
|
public MetadataJasperPdfExportHooker(ExportMetadataService exportMetadataService)
public void beforeExport(java.lang.String type, JRExporter exporter, JasperReport report, User user)
beforeExport
in interface JasperExportHook
type
- The type of the exporter.exporter
- The JRExporter to operate on.public java.util.Collection<java.lang.String> getFormats()
JasperExportHook
getFormats
in interface JasperExportHook
public void afterExport(java.lang.String type, JRExporter exporter, JasperReport report, CompiledRSJasperReport compiledReport, User user)
afterExport
in interface JasperExportHook
type
- The type of the exporter.exporter
- The JRExporter to operate on.