Examples of endSection()


Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

      if (preparedCrosstabLayout.getRowCount() == 0)
      {
        renderer.startSection(Renderer.TYPE_NORMALFLOW);
        renderer.add(preparedCrosstabLayout.getPrintableHeaderBox());
        renderer.endSection();
        outputFunction.addSubReportMarkers(preparedCrosstabLayout.getHeaderSubReportMarker());
      }

      renderer.startSection(Renderer.TYPE_NORMALFLOW);
      renderer.add(preparedCrosstabLayout.getPrintableDataBox());
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

        outputFunction.addSubReportMarkers(preparedCrosstabLayout.getHeaderSubReportMarker());
      }

      renderer.startSection(Renderer.TYPE_NORMALFLOW);
      renderer.add(preparedCrosstabLayout.getPrintableDataBox());
      renderer.endSection();
      outputFunction.addSubReportMarkers(preparedCrosstabLayout.getDataSubReportMarker());

      preparedCrosstabLayout.setFinishPending(false);
      preparedCrosstabLayout.setRowCount(preparedCrosstabLayout.getRowCount() + 1);
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    final Group g = event.getReport().getGroup(gidx);
    final Band b = g.getHeader();
    renderer.startGroup(g);
    renderer.startSection(Renderer.TYPE_NORMALFLOW);
    outputFunction.print(outputFunction.getRuntime(), b);
    outputFunction.addSubReportMarkers(renderer.endSection());
    renderer.startGroupBody(g.getBody());
  }

  public void itemsStarted(final DefaultOutputFunction outputFunction,
                           final ReportEvent event) throws ReportProcessingException
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    final Renderer renderer = outputFunction.getRenderer();
    outputFunction.updateFooterArea(event);

    renderer.startSection(Renderer.TYPE_NORMALFLOW);
    outputFunction.print(outputFunction.getRuntime(), event.getReport().getDetailsHeader());
    outputFunction.addSubReportMarkers(renderer.endSection());

    if (numberOfRows == 0)
    {
      // ups, we have no data. Lets signal that ...
      renderer.startSection(Renderer.TYPE_NORMALFLOW);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    if (numberOfRows == 0)
    {
      // ups, we have no data. Lets signal that ...
      renderer.startSection(Renderer.TYPE_NORMALFLOW);
      outputFunction.print(outputFunction.getRuntime(), event.getReport().getNoDataBand());
      outputFunction.addSubReportMarkers(renderer.endSection());
      // there will be no item-band printed.
    }
   
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    final Renderer renderer = outputFunction.getRenderer();
    outputFunction.updateFooterArea(event);

    renderer.startSection(Renderer.TYPE_NORMALFLOW);
    outputFunction.print(outputFunction.getRuntime(), event.getReport().getItemBand());
    outputFunction.addSubReportMarkers(renderer.endSection());
  }

  public void itemsFinished(final DefaultOutputFunction outputFunction,
                            final ReportEvent event) throws ReportProcessingException
  {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    final Renderer renderer = outputFunction.getRenderer();
    outputFunction.updateFooterArea(event);

    renderer.startSection(Renderer.TYPE_NORMALFLOW);
    outputFunction.print(outputFunction.getRuntime(), event.getReport().getDetailsFooter());
    outputFunction.addSubReportMarkers(renderer.endSection());
  }

  public void groupFinished(final DefaultOutputFunction outputFunction,
                            final ReportEvent event) throws ReportProcessingException
  {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    final Band b = g.getFooter();

    renderer.endGroupBody();
    renderer.startSection(Renderer.TYPE_NORMALFLOW);
    outputFunction.print(outputFunction.getRuntime(), b);
    outputFunction.addSubReportMarkers(renderer.endSection());
    renderer.endGroup();
  }
}
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

  {
    Renderer renderer = getRenderer();
    if (isPrintHeaderAndFooter(event)) {
      renderer.startSection(Renderer.SectionType.NORMALFLOW);
      print(getRuntime(), event.getReport().getPageFooter());
      addSubReportMarkers(renderer.endSection());
    }
  }

  protected void printDesigntimeHeader(final ReportEvent event) throws ReportProcessingException
  {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.Renderer.endSection()

    Renderer renderer = getRenderer();
    final ReportDefinition report = event.getState().getReport();
    if (isPrintHeaderAndFooter(event)) {
      renderer.startSection(Renderer.SectionType.NORMALFLOW);
      print(getRuntime(), report.getPageHeader());
      addSubReportMarkers(renderer.endSection());
    }
  }

  protected boolean isPrintHeaderAndFooter(final ReportEvent event)
  {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.