Examples of SourceChunk


Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.base.layout.model.SourceChunk

    for (int i = 0; i < list.size(); i++)
    {
      final Object o = list.get(i);
      if (o instanceof SourceChunk)
      {
        final SourceChunk chunk = (SourceChunk) o;
        flowRenderer.startSection(Renderer.SectionType.NORMALFLOW);
        final Band band = chunk.getRootBand();
        DebugReportRunner.resolveStyle(band);
        flowRenderer.add(band, runtime);
        flowRenderer.endSection();
        flowRenderer.applyAutoCommit();
        if (Renderer.LayoutResult.LAYOUT_PAGEBREAK == flowRenderer.validatePages())
        {
          flowRenderer.processPage(null, new Object(), true);
        }
        else
        {
          flowRenderer.processIncrementalUpdate(true);
        }
        flowRenderer.processIncrementalUpdate(true);
      }
    }
    flowRenderer.endReport();
    if (Renderer.LayoutResult.LAYOUT_PAGEBREAK == flowRenderer.validatePages())
    {
      assertTrue(flowRenderer.processPage(null, new Object(), true));
    }
    else
    {
      fail();
    }

    flowRenderer.startReport(report, processingContext, new DefaultPerformanceMonitorContext());
    for (int i = 0; i < list.size(); i++)
    {
      final Object o = list.get(i);
      if (o instanceof SourceChunk)
      {
        final SourceChunk chunk = (SourceChunk) o;
        flowRenderer.startSection(Renderer.SectionType.NORMALFLOW);
        final Band band = chunk.getRootBand();
        DebugReportRunner.resolveStyle(band);
        flowRenderer.add(band, runtime);
        flowRenderer.endSection();
        flowRenderer.applyAutoCommit();
        if (Renderer.LayoutResult.LAYOUT_PAGEBREAK == flowRenderer.validatePages())
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.base.layout.model.SourceChunk

  }

  public Object getObject()
  {
    final Band band = (Band) super.getObject();
    return new SourceChunk(band);
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.testcases.table.model.SourceChunk

    for (int i = 0; i < list.size(); i++)
    {
      final Object o = list.get(i);
      if (o instanceof SourceChunk)
      {
        final SourceChunk chunk = (SourceChunk) o;
        flowRenderer.startSection(Renderer.TYPE_NORMALFLOW);
        flowRenderer.add(chunk.getRootBand(), runtime, null);
        flowRenderer.endSection();
      }
      else if (o instanceof ResultTable)
      {
        // perform the layouting first.
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.testcases.table.model.SourceChunk

  }

  public Object getObject()
  {
    final Band band = (Band) super.getObject();
    return new SourceChunk(band);
  }
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.