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

Examples of org.pentaho.reporting.engine.classic.core.designtime.compat.CompatibilityUpdater


    if (SaveReportAction.saveReport(designerContext, reportRenderContext, this) == false)
    {
      return;
    }

    final CompatibilityUpdater updater = new CompatibilityUpdater();
    updater.performUpdate(reportRenderContext.getContextRoot());
  }
View Full Code Here


  public void testGoldenSampleSubReportHeightMigrated () throws Exception
  {
    final MasterReport report = DebugReportRunner.parseGoldenSampleReport("Prd-3245.prpt");

    // migrate to latest version
    final CompatibilityUpdater updater = new CompatibilityUpdater();
    updater.performUpdate(report);
    report.setAttribute(AttributeNames.Internal.NAMESPACE, AttributeNames.Internal.COMAPTIBILITY_LEVEL, null);

    LogicalPageBox logicalPageBox = DebugReportRunner.layoutPage(report, 0);
    RenderNode elementByName = MatchFactory.findElementByName
        (logicalPageBox, "Subreport 1.1.1");
View Full Code Here

    assertTrue(srb.getFirstChild() instanceof ProgressMarkerRenderBox);
  }

  protected MasterReport tuneForMigrationMode(final MasterReport report)
  {
    final CompatibilityUpdater updater = new CompatibilityUpdater();
    updater.performUpdate(report);
    report.setAttribute(AttributeNames.Internal.NAMESPACE, AttributeNames.Internal.COMAPTIBILITY_LEVEL, null);
    return report;
  }
View Full Code Here

    return report;
  }

  protected MasterReport tuneForMigrationMode(final MasterReport report)
  {
    final CompatibilityUpdater updater = new CompatibilityUpdater();
    updater.performUpdate(report);
    report.setAttribute(AttributeNames.Internal.NAMESPACE, AttributeNames.Internal.COMAPTIBILITY_LEVEL, null);
    return report;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.designtime.compat.CompatibilityUpdater

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.