Package org.pentaho.reporting.engine.classic.core

Examples of org.pentaho.reporting.engine.classic.core.ReportDefinition


  }


  public static ResourceBundleFactory getResourceBundleFactory(final AbstractReportDefinition reportDefinition)
  {
    ReportDefinition e = reportDefinition.getMasterReport();
    if (e instanceof MasterReport)
    {
      final MasterReport report = (MasterReport) e;
      final ResourceBundleFactory base = report.getResourceBundleFactory();
      if (base != null)
View Full Code Here


    return null;
  }

  public static ResourceManager getResourceManager(final AbstractReportDefinition reportDefinition)
  {
    ReportDefinition e = reportDefinition.getMasterReport();
    if (e instanceof MasterReport)
    {
      final MasterReport report = (MasterReport) e;
      return report.getResourceManager();
    }
View Full Code Here

    return new ResourceManager();
  }

  public static MasterReport getMasterReport(final Element element)
  {
    ReportDefinition e = element.getMasterReport();
    if (e instanceof MasterReport)
    {
      return (MasterReport) e;
    }
    return null;
View Full Code Here

    report.setCompatibilityLevel(null);
  }

  public void performUpdate(final SubReport report)
  {
    final ReportDefinition reportDefinition = report.getMasterReport();
    if (reportDefinition == null)
    {
      return;
    }
View Full Code Here

    final ResourceBundleFactory resourceBundleFactory = parentState.getResourceBundleFactory();

    if (isSubReportInvisible(initialSubReport, parentStateFlowController))
    {
      // make it a minimum effort report, but still enter the loop.
      final ReportDefinition parentReport = parentState.getReport();
      final SubReport dummyReport = new SubReport(functionStorageKey.getReportId());
      this.report = new ReportDefinitionImpl(dummyReport, parentReport.getPageDefinition(), subreportFromMarker.getParentSection());
      this.flowController = parentStateFlowController.derive();
      this.advanceHandler = EndSubReportHandler.HANDLER;
      this.layoutProcess = new SubLayoutProcess
          (parentState.layoutProcess, computeStructureFunctions(initialSubReport.getStructureFunctions(),
              flowController.getReportContext().getOutputProcessorMetaData()), this.report.getObjectID());
View Full Code Here

    final Section parentSection = activeContext.getReportDefinition().getParentSection();
    if (parentSection == null)
    {
      return;
    }
    final ReportDefinition parentReport = parentSection.getReportDefinition();
    if (parentReport == null)
    {
      return;
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.ReportDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.