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

Examples of org.pentaho.reporting.engine.classic.core.RootLevelBand


    {
      return false;
    }
    if (band instanceof RootLevelBand)
    {
      final RootLevelBand rlb = (RootLevelBand) band;
      if (rlb.getSubReportCount() > 0)
      {
        return false;
      }
    }
    final ElementStyleSheet styleSheet = band.getStyle();
View Full Code Here


    }


    if (band instanceof RootLevelBand)
    {
      final RootLevelBand rootLevelBand = (RootLevelBand) band;
      final SubReport[] reports = rootLevelBand.getSubReports();
      for (int i = 0; i < reports.length; i++)
      {
        final SubReport report = reports[i];
        if (report.getObjectID() == id)
        {
View Full Code Here

    if (parentSection instanceof RootLevelBand == false)
    {
      return true;
    }

    RootLevelBand rlb = (RootLevelBand) parentSection;
    for (final SubReport s : rlb.getSubReports())
    {
      if (s == reportDefinition)
      {
        return false;
      }
View Full Code Here

        processSection(documentBundle, report, (Section) element);
      }

      if (element instanceof RootLevelBand)
      {
        final RootLevelBand rl = (RootLevelBand) element;
        final SubReport[] reports = rl.getSubReports();
        for (int j = 0; j < reports.length; j++)
        {
          final SubReport subReport = reports[j];
          processSection(documentBundle, report, subReport);
        }
View Full Code Here

  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    next.setAdvanceHandler(ReportDoneHandler.HANDLER);

    final RootLevelBand rootLevelBand = next.getReport().getReportFooter();

    return InlineSubreportProcessor.processBandedSubReports(next, rootLevelBand);
  }
View Full Code Here

    else
    {
      next.setAdvanceHandler(BeginGroupHandler.HANDLER);
    }

    final RootLevelBand rootLevelBand = next.getReport().getReportHeader();
    return InlineSubreportProcessor.processBandedSubReports(next, rootLevelBand);
  }
View Full Code Here

        inspectElement(element);
        traverseSection((Section) element);

        if (element instanceof RootLevelBand)
        {
          final RootLevelBand rlb = (RootLevelBand) element;
          for (int sr = 0; sr < rlb.getSubReportCount(); sr += 1)
          {
            inspect(rlb.getSubReport(sr));
          }
        }
      }
      else
      {
View Full Code Here

  public ProcessState commit(final ProcessState next) throws ReportProcessingException
  {
    next.setAdvanceHandler(JoinEndGroupHandler.HANDLER);

    final RelationalGroup group = (RelationalGroup) next.getReport().getGroup(next.getCurrentGroupIndex());
    final RootLevelBand rootLevelBand = group.getFooter();
    return InlineSubreportProcessor.processBandedSubReports(next, rootLevelBand);
  }
View Full Code Here

    if (isBlockLevelBox(parentSection))
    {
      if (element instanceof SubReport && parentSection instanceof RootLevelBand)
      {
        final SubReport subReport = (SubReport) element;
        final RootLevelBand rootLevelBand = (RootLevelBand) parentSection;
        for (final SubReport r : rootLevelBand.getSubReports())
        {
          if (r == subReport)
          {
            // In the old days, banded-subreports did not receive any style when computing the layout.
            // When migrating report, we at least remove the most offensive properties on subreports.
View Full Code Here

      }
      // else stick with begin-group as there will be a next group to start ..
    }

    final RelationalGroup group = (RelationalGroup) next.getReport().getGroup(next.getCurrentGroupIndex());
    final RootLevelBand rootLevelBand = group.getHeader();
    return InlineSubreportProcessor.processBandedSubReports(next, rootLevelBand);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.RootLevelBand

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.