Package org.pentaho.reporting.engine.classic.core.layout.model.context

Examples of org.pentaho.reporting.engine.classic.core.layout.model.context.NodeLayoutProperties


                        final int offset,
                        final int length,
                        final int script,
                        final boolean forceLinebreak)
  {
    super(elementType, attributes, new NodeLayoutProperties(layoutContext, instanceID));
    initialize(glyphs, offset, length, baselineInfo, script, forceLinebreak);
  }
View Full Code Here


                       final StyleSheet styleSheet,
                       final InstanceID instanceID,
                       final ElementType elementType,
                       final ReportAttributeMap attributes)
  {
    this(elementType, attributes, new NodeLayoutProperties(majorAxis, minorAxis, styleSheet, instanceID));
  }
View Full Code Here

  private void computeResolvedStyleProperties(final RenderBox box, final StaticBoxLayoutProperties sblp)
  {
    final StyleSheet style = box.getStyleSheet();

    NodeLayoutProperties nlp = box.getNodeLayoutProperties();
    if (designTime)
    {
      // at design-time elements can be generated that are not visible in the final output
      // the report designer needs them to create a smooth design experience.
      RenderBox parent = box.getParent();
      if (parent == null)
      {
        nlp.setVisible(style.getBooleanStyleProperty(ElementStyleKeys.VISIBLE));
      }
      else if (parent.isEmptyNodesHaveSignificance() == false)
      {
        nlp.setVisible(style.getBooleanStyleProperty(ElementStyleKeys.VISIBLE));
      }
    }

    final int nodeType = box.getLayoutNodeType();
    if ((nodeType & LayoutNodeTypes.MASK_BOX_INLINE) == LayoutNodeTypes.MASK_BOX_INLINE)
View Full Code Here

                               final InstanceID instanceID,
                               final ElementType elementType,
                               final ReportAttributeMap<Object> attributes,
                               final RichTextSpec text)
  {
    super(new NodeLayoutProperties(styleSheet, attributes, instanceID, elementType));
    this.text = text.getText();
    this.richText = text;
    this.forceLinebreak = false;
    this.start = 0;
    this.end = text.length();
View Full Code Here

                               final InstanceID instanceID,
                               final ElementType elementType,
                               final ReportAttributeMap<Object> attributes,
                               final String text)
  {
    super(new NodeLayoutProperties(styleSheet, attributes, instanceID, elementType));
    this.text = text;
    this.richText = null;
    this.forceLinebreak = false;
    this.start = 0;
    this.end = text.length();
View Full Code Here

                        final int offset,
                        final int length,
                        final int script,
                        final boolean forceLinebreak)
  {
    super(new NodeLayoutProperties(layoutContext, attributes, instanceID, elementType));
    initialize(glyphs, offset, length, baselineInfo, script, forceLinebreak);
  }
View Full Code Here

                       final StyleSheet styleSheet,
                       final InstanceID instanceID,
                       final ElementType elementType,
                       final ReportAttributeMap<Object> attributes)
  {
    this(new NodeLayoutProperties(majorAxis, minorAxis, styleSheet, attributes, instanceID, elementType));
  }
View Full Code Here

    this.height = 0;
    this.minimumChunkWidth = 0;
    this.maximumBoxWidth = 0;

    this.cacheState = RenderNode.CACHE_DIRTY;
    this.nodeLayoutProperties = new NodeLayoutProperties
        (this.nodeLayoutProperties.getMajorAxis(), this.nodeLayoutProperties.getMinorAxis(),
            styleSheet, attributes, instanceId, elementType);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.layout.model.context.NodeLayoutProperties

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.