Class CustomFormatter

java.lang.Object
io.jmix.reports.libintegration.CustomFormatter
All Implemented Interfaces:
com.haulmont.yarg.formatters.CustomReport

@Component("report_CustomFormatter") @Scope("prototype") public class CustomFormatter extends Object implements com.haulmont.yarg.formatters.CustomReport
  • Field Details

    • scriptEvaluator

      @Autowired protected org.springframework.scripting.ScriptEvaluator scriptEvaluator
    • classManager

      @Autowired protected ClassManager classManager
    • reportsProperties

      @Autowired protected ReportsProperties reportsProperties
    • coreProperties

      @Autowired protected CoreProperties coreProperties
    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
    • PARAMS

      public static final String PARAMS
      See Also:
    • executor

      protected static final ScheduledExecutorService executor
    • report

      protected Report report
    • template

      protected ReportTemplate template
    • params

      protected Map<String,Object> params
  • Constructor Details

  • Method Details

    • createReport

      public byte[] createReport(com.haulmont.yarg.structure.Report report, com.haulmont.yarg.structure.BandData rootBand, Map<String,Object> params)
      Specified by:
      createReport in interface com.haulmont.yarg.formatters.CustomReport
    • createDocument

      public byte[] createDocument(com.haulmont.yarg.structure.BandData rootBand)
    • generateReportWithClass

      protected byte[] generateReportWithClass(com.haulmont.yarg.structure.BandData rootBand, String customDefinition)
    • generateReportWithScript

      protected byte[] generateReportWithScript(com.haulmont.yarg.structure.BandData rootBand, String customDefinition)
    • generateReportWithUrl

      protected byte[] generateReportWithUrl(com.haulmont.yarg.structure.BandData rootBand, String customDefinition)
    • doReadBytesFromUrl

      protected byte[] doReadBytesFromUrl(String url)