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

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID


      layoutModelBuilder.legacyFlagNotEmpty();
      final TableSectionRenderBox rowRenderNode = CrosstabOutputHelper.findTableSection(layoutModelBuilder.dangerousRawAccess());

      for (int i = crosstabLayout.getFirstRowGroupIndex(), count = 0; i < gidx; i += 1, count += 1)
      {
        final InstanceID rowHeader = crosstabLayout.getRowHeader(i - crosstabLayout.getFirstRowGroupIndex());
        final RenderNode cell = CrosstabOutputHelper.findNode(rowRenderNode, rowHeader);
        if (cell instanceof TableCellRenderBox)
        {
          final TableCellRenderBox cellBox = (TableCellRenderBox) cell;
          cellBox.update(cellBox.getRowSpan() + 1, cellBox.getColSpan());
View Full Code Here


    {
      // close all header rows
      final InstanceID[] columnHeaders = crosstabLayout.getColumnHeaderSubFlows();
      for (int i = 0; i < columnHeaders.length; i++)
      {
        final InstanceID columnHeader = columnHeaders[i];
        layoutModelBuilder.startSubFlow(columnHeader);
        layoutModelBuilder.endSubFlow();
      }
      crosstabLayout.setCrosstabHeaderOpen(false);
    }
View Full Code Here

      // flag not empty is needed to connect the new node with the rest of the layout model.
      layoutModelBuilder.legacyFlagNotEmpty();
      final TableSectionRenderBox rowRenderNode = CrosstabOutputHelper.findTableSection(layoutModelBuilder.dangerousRawAccess());
      for (int i = crosstabLayout.getFirstRowGroupIndex(), count = 0; i < gidx; i += 1, count += 1)
      {
        final InstanceID rowHeader = crosstabLayout.getRowHeader(i - crosstabLayout.getFirstRowGroupIndex());
        final RenderNode cell = CrosstabOutputHelper.findNode(rowRenderNode, rowHeader);
        if (cell instanceof TableCellRenderBox)
        {
          final TableCellRenderBox cellBox = (TableCellRenderBox) cell;
          cellBox.update(cellBox.getRowSpan() + 1, cellBox.getColSpan());
View Full Code Here

    final RenderableTextFactory textFactory = new DefaultRenderableTextFactory(outputProcessorMetaData);
    textFactory.startText();

    final RenderNode[] renderNodes = textFactory.createText(bufferArray, 0, buffer.getLength(),
        SimpleStyleSheet.EMPTY_STYLE, AutoLayoutBoxType.INSTANCE, new InstanceID(), ReportAttributeMap.EMPTY_MAP);
    final RenderNode[] finishNodes = textFactory.finishText();
    if (renderNodes.length > 0)
    {
      return renderNodes[0];
    }
View Full Code Here

      // iterate through all inline elements
      for (final RichTextSpec.StyledChunk styledChunk : renderableComplexText.getRichText().getStyleChunks())
      {
        RenderNode node = styledChunk.getOriginatingTextNode();
        InstanceID dummy = node.getInstanceId();
        textExtractorHelper.startInlineBox(dummy,
            styledChunk.getOriginalAttributes(), styledChunk.getStyleSheet(), BoxDefinition.EMPTY);
        if (node instanceof RenderableReplacedContentBox)
        {
          processRenderableContent((RenderableReplacedContentBox) node);
View Full Code Here

  private boolean structureValidated;
  private boolean predefinedColumnsValidated;

  public TableRenderBox()
  {
    this(SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

      return true;
    }

    for (int i = 0; i < subReportFooterTracker.size(); i++)
    {
      InstanceID instanceID = subReportFooterTracker.get(i);
      if (levels[i].getReportDefinition().getObjectID() != instanceID)
      {
        return true;
      }
    }
View Full Code Here

  private int rowIndex;
  private boolean bodySection;

  public TableRowRenderBox()
  {
    this(SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

    BODY, HEADER, FOOTER
  }

  public TableSectionRenderBox()
  {
    this(SimpleStyleSheet.EMPTY_STYLE, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, ReportAttributeMap.EMPTY_MAP, null);
  }
View Full Code Here

  public TableColumnGroupNode(final StyleSheet styleSheet,
                              final ReportAttributeMap attributes)
  {
    super(RenderNode.HORIZONTAL_AXIS, RenderNode.VERTICAL_AXIS,
        styleSheet, new InstanceID(), BoxDefinition.EMPTY,
        AutoLayoutBoxType.INSTANCE, attributes, null);
    final Integer colspan =
        (Integer) attributes.getAttribute(AttributeNames.Table.NAMESPACE, AttributeNames.Table.COLSPAN);
    if (colspan == null)
    {
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.util.InstanceID

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.