Examples of InlineSubreportMarker


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

  public void addSubReportMarkers(final InlineSubreportMarker[] markers)
  {
    for (int i = 0; i < markers.length; i++)
    {
      final InlineSubreportMarker marker = markers[i];
      inlineSubreports.add(marker);
    }
  }
View Full Code Here

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

  public void clearInlineSubreports(final SubReportProcessType inlineExecution)
  {
    final InlineSubreportMarker[] subreports = getInlineSubreports();
    for (int i = subreports.length - 1; i >= 0; i--)
    {
      final InlineSubreportMarker subreport = subreports[i];
      if (inlineExecution == subreport.getProcessType())
      {
        inlineSubreports.remove(i);
      }
    }
  }
View Full Code Here

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

  public void clearInlineSubreports(final SubReportProcessType inlineExecution)
  {
    final InlineSubreportMarker[] subreports = getInlineSubreports();
    for (int i = 0; i < subreports.length; i++)
    {
      final InlineSubreportMarker subreport = subreports[i];
      if (inlineExecution == subreport.getProcessType())
      {
        inlineSubreports.remove(i);
      }
    }
  }
View Full Code Here

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

        return null;
      }
      final LinkedMap map = new LinkedMap();
      for (int i = 0; i < subreports.length; i++)
      {
        final InlineSubreportMarker subreport = subreports[i];
        map.put(subreport.getSubreport().getObjectID(), subreport);
      }
      return map;
    }

    final InlineSubreportMarker[] markers = state.getLayoutProcess().getOutputFunction().getInlineSubreports();
    for (int i = 0; i < markers.length; i++)
    {
      final InlineSubreportMarker marker = markers[i];
      list.put(marker.getSubreport().getObjectID(), marker);
    }
    return list;
  }
View Full Code Here

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

      if (list == null)
      {
        list = new LinkedMap();
      }
      list.put(element.getObjectID(),
          new InlineSubreportMarker(element, null, SubReportProcessType.BANDED));
    }
    return list;
  }
View Full Code Here

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

        if (list == null)
        {
          list = new LinkedMap();
        }
        list.put(element.getObjectID(),
            new InlineSubreportMarker((SubReport) element, DUMMY_SUBREPORT_MARKER, SubReportProcessType.INLINE));
      }
      else if (element instanceof Section)
      {
        list = collectSubReportMarkers((Section) element, list);
      }
View Full Code Here

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

                                  final SubReportProcessType type,
                                  final int startIndex)
  {
    for (int i = startIndex; i < markers.length; i++)
    {
      final InlineSubreportMarker marker = markers[i];
      if (marker.getProcessType() == type)
      {
        return i;
      }
    }
    return -1;
View Full Code Here

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

  public void clearInlineSubreports(final SubReportProcessType inlineExecution)
  {
    final InlineSubreportMarker[] subreports = getInlineSubreports();
    for (int i = 0; i < subreports.length; i++)
    {
      final InlineSubreportMarker subreport = subreports[i];
      if (inlineExecution == subreport.getProcessType())
      {
        inlineSubreports.remove(i);
      }
    }
  }
View Full Code Here

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

    for (int i = 0; i < elements.length; i++)
    {
      final Element element = elements[i];
      if (element instanceof SubReport)
      {
        final InlineSubreportMarker marker =
            new InlineSubreportMarker((SubReport) element.clone(), null, SubReportProcessType.BANDED);
        inlineSubreports.add(marker);
      }
      else if (element instanceof Band)
      {
        collectSubReports((Band) element);
View Full Code Here

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

    final RenderBox subReportBox = renderNodeFactory.produceSubReportPlaceholder(element, resolverStyleSheet, stateKey);
    this.context.addChild(subReportBox);
    this.context.setEmpty(false);
    final InstanceID subReportBoxId = subReportBox.getInstanceId();
    // the box will be closed
    return new InlineSubreportMarker(element, subReportBoxId, SubReportProcessType.INLINE);
  }
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.