Examples of addGeneratedChild()


Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

        nodeContext.getContentAreaWidth(), StrictGeomUtility.toInternalValue(textLayout.getAdvance()));
    text.setCachedX(alignmentX + nodeContext.getX());

    // Create a shallow copy of the paragraph-pool to act as a line container.
    final RenderBox line = (RenderBox) paragraph.getPool().deriveFrozen(false);
    line.addGeneratedChild(text);

    // Align the line inside the paragraph. (Adjust the cachedX position depending on whether the line is left, centred or right aligned)
    line.setCachedX(alignmentX + nodeContext.getX());
    line.setCachedWidth(nodeContext.getContentAreaWidth());
    return line;
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

        }
        else
        {
          final RenderNode tmpnode = box;
          box = contexts.peek();
          box.addGeneratedChild(tmpnode);
        }
        continue;
      }

      if (element instanceof StartSequenceElement)
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

      if (box.getStaticBoxLayoutProperties().isPreserveSpace() &&
          box.getStyleSheet().getBooleanStyleProperty(TextStyleKeys.TRIM_TEXT_CONTENT) == false)
      {
        // Take a shortcut as we know that we will never have any pending elements if preserve is true and
        // trim-content is false.
        box.addGeneratedChild(child);
        continue;
      }

      if (child.isIgnorableForRendering())
      {
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

      else
      {
        for (int j = 0; j < pendingElements.size(); j++)
        {
          final RenderNode pendingNode = pendingElements.get(j);
          box.addGeneratedChild(pendingNode);
        }
        pendingElements.clear();
        box.addGeneratedChild(child);
      }
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

        {
          final RenderNode pendingNode = pendingElements.get(j);
          box.addGeneratedChild(pendingNode);
        }
        pendingElements.clear();
        box.addGeneratedChild(child);
      }
    }

    // Remove all spacers and other non printable content that might
    // look ugly at the beginning of a new line ..
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

  {
    this.paragraphRenderBox = paragraphRenderBox;
    final RenderBox pool = (RenderBox) paragraphRenderBox.getPool().deriveFrozen(false);
    final RenderBox lineboxContainer = this.paragraphRenderBox.createLineboxContainer();
    lineboxContainer.clear();
    lineboxContainer.addGeneratedChild(pool);
    this.paragraphRenderBox.setLineBoxAge(0);
    this.insertationPoint = pool;
  }

  public boolean isWritable()
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

        if (logger.isDebugEnabled())
        {
          logger.debug("Rescued[" + i + "]: " + slots.get(i));
        }
        sectionBox.addGeneratedChild(derived);
      }

      for (int i = 0; i < childsAdded.size(); i++)
      {
        final RenderNode node = childsAdded.get(i);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.layout.model.RenderBox.addGeneratedChild()

        final RenderNode node = childsAdded.get(i);
        if (logger.isDebugEnabled())
        {
          logger.debug("New[" + "]: " + node);
        }
        sectionBox.addGeneratedChild(node);
      }
    }
  }

  public InstanceID createSubflowPlaceholder(final ReportElement element)
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.