Examples of startSection()


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

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

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

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

        renderer.add(preparedCrosstabLayout.getPrintableHeaderBox());
        renderer.endSection();
        outputFunction.addSubReportMarkers(preparedCrosstabLayout.getHeaderSubReportMarker());
      }

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

      preparedCrosstabLayout.setFinishPending(false);
View Full Code Here

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

    final Renderer renderer = outputFunction.getRenderer();
    final int gidx = event.getState().getCurrentGroupIndex();
    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());
  }
View Full Code Here

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

    // activating this state after the page has ended is invalid.
    final int numberOfRows = event.getState().getNumberOfRows();
    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)
    {
View Full Code Here

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

    outputFunction.addSubReportMarkers(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.startSection()

                            final ReportEvent event) throws ReportProcessingException
  {
    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,
View Full Code Here

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

                            final ReportEvent event) throws ReportProcessingException
  {
    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,
View Full Code Here

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

    final int gidx = event.getState().getCurrentGroupIndex();
    final Group g = event.getReport().getGroup(gidx);
    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.startSection()

  protected void printDesigntimeFooter(final ReportEvent event) throws ReportProcessingException
  {
    Renderer renderer = getRenderer();
    if (isPrintHeaderAndFooter(event)) {
      renderer.startSection(Renderer.SectionType.NORMALFLOW);
      print(getRuntime(), event.getReport().getPageFooter());
      addSubReportMarkers(renderer.endSection());
    }
  }
View Full Code Here

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

  protected void printDesigntimeHeader(final ReportEvent event) throws ReportProcessingException
  {
    Renderer renderer = getRenderer();
    final ReportDefinition report = event.getState().getReport();
    if (isPrintHeaderAndFooter(event)) {
      renderer.startSection(Renderer.SectionType.NORMALFLOW);
      print(getRuntime(), report.getPageHeader());
      addSubReportMarkers(renderer.endSection());
    }
  }
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.