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

Examples of org.pentaho.reporting.engine.classic.core.layout.StreamingRenderer


   * @throws ReportProcessingException if there is a processing error.
   */
  protected OutputFunction createLayoutManager()
  {
    final DefaultOutputFunction outputFunction = new DefaultOutputFunction();
    outputFunction.setRenderer(new StreamingRenderer(getOutputProcessor()));
    return outputFunction;
  }
View Full Code Here


   * @throws ReportProcessingException if there is a processing error.
   */
  protected OutputFunction createLayoutManager()
  {
    final DefaultOutputFunction outputFunction = new DefaultOutputFunction();
    outputFunction.setRenderer(new StreamingRenderer(getOutputProcessor()));
    return outputFunction;
  }
View Full Code Here

  public static void performLayout(final Band band,
                                   final ExpressionRuntime runtime,
                                   final OutputProcessor outputTarget)
      throws ReportProcessingException, ContentProcessingException
  {
    StreamingRenderer renderer = new StreamingRenderer(outputTarget);
    renderer.startReport(band.getReportDefinition(), runtime.getProcessingContext(), new DefaultPerformanceMonitorContext());
    renderer.startSection(Renderer.SectionType.NORMALFLOW);
    renderer.add(band, runtime);
    renderer.endSection();
    renderer.endReport();
    renderer.applyAutoCommit();
    if (renderer.validatePages() == Renderer.LayoutResult.LAYOUT_UNVALIDATABLE)
    {
      throw new ReportProcessingException("Template layout is not valid, aborting");
    }

    renderer.processPage(null, null, true);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.layout.StreamingRenderer

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.