Class JREventManage

java.lang.Object
org.adempiere.report.jasper.JREventManage

public class JREventManage extends Object
manage to fire event relate jasper report at the moment just fire export pdf event
Author:
hieplq
  • Field Details

    • JP_PDF_EXPORT_CONFIG_EVENT

      public static final String JP_PDF_EXPORT_CONFIG_EVENT
      topic fire when setting configuration for pdf export
      See Also:
    • JP_KEY_PDF_EXPORT_EXPORTER

      public static final String JP_KEY_PDF_EXPORT_EXPORTER
      key for even info, save JRPdfExporter object
      See Also:
    • JP_KEY_PDF_EXPORT_CONFIG

      public static final String JP_KEY_PDF_EXPORT_CONFIG
      key for even info, save SimpleExporterConfiguration object
      See Also:
    • JP_KEY_PROCESS_INFO

      public static final String JP_KEY_PROCESS_INFO
      key for even info, save ProcessInfo object
      See Also:
  • Constructor Details

    • JREventManage

      public JREventManage()
  • Method Details

    • sentPdfExporterConfigurationEvent

      public static void sentPdfExporterConfigurationEvent(net.sf.jasperreports.engine.export.JRPdfExporter export, net.sf.jasperreports.export.SimpleExporterConfiguration config, ProcessInfo pi)
      sent event to customize pdf export configuration
      Parameters:
      export - is JRPdfExporter
      config - is SimplePdfExporterConfiguration