Class JREventManage


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

      • JP_PDF_EXPORT_CONFIG_EVENT

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

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

        public static final String JP_KEY_PDF_EXPORT_CONFIG
        key for even info, save SimpleExporterConfiguration object
        See Also:
        Constant Field Values
    • Constructor Detail

      • JREventManage

        public JREventManage()
    • Method Detail

      • 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