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

Examples of org.pentaho.reporting.engine.classic.core.layout.style.SimpleStyleSheet


  private OutputProcessorMetaData metaData;

  public DefaultRenderNodeFactory()
  {
    this.boxDefinitionFactory = new BoxDefinitionFactory();
    this.bandWithoutKeepTogetherStyle = new SimpleStyleSheet(new SectionKeepTogetherStyleSheet(false));
  }
View Full Code Here


  {
    if (report == null)
    {
      throw new NullPointerException();
    }
    final SimpleStyleSheet reportStyle = bandCache.getStyleSheet(style);
    final BoxDefinition boxDefinition = boxDefinitionFactory.getBoxDefinition(reportStyle);
    return new LogicalPageBox(report, reportStyle, boxDefinition);
  }
View Full Code Here

    treeLock = id;
  }

  public SimpleStyleSheet getComputedStyle()
  {
    final SimpleStyleSheet computedStyle = (SimpleStyleSheet)
        this.attributes.getAttribute(AttributeNames.Internal.NAMESPACE, AttributeNames.Internal.COMPUTED_STYLE);
    if (computedStyle == null)
    {
      final int hc = System.identityHashCode(this);
      throw new InvalidReportStateException("No computed style for (" + hc + ") - " + this);
View Full Code Here

    {
      this.styleSheet = null;
    }
    else
    {
      this.styleSheet = new SimpleStyleSheet(styleSheet);
    }
  }
View Full Code Here

  public static SimpleStyleSheet resolveOneTime (final ReportElement element)
  {
    final SimpleStyleResolver styleResolver = new SimpleStyleResolver(true);
    final ResolverStyleSheet resolverTarget = new ResolverStyleSheet();
    styleResolver.resolve(element, resolverTarget);
    return new SimpleStyleSheet(resolverTarget);
  }
View Full Code Here

      if (parentSection == null)
      {
        return;
      }

      final SimpleStyleSheet computedStyle = parentSection.getComputedStyle();
      resolverTarget.addInherited(computedStyle);
    }

    final FastStack<Section> parentSections = new FastStack<Section>();
View Full Code Here

                                                 final Element element,
                                                 final ReportStateKey stateKey)
  {
    final StyleCache textStyleCache = getTextStyleCache();
    final StyleCache styleCache = getStyleCache();
    final SimpleStyleSheet elementStyle;
    if (((box.getNodeType() & LayoutNodeTypes.MASK_BOX_BLOCK) == LayoutNodeTypes.MASK_BOX_BLOCK))
    {
      elementStyle = textStyleCache.getStyleSheet
          (new FullWidthWrapperStyleSheet(new NonDynamicHeightWrapperStyleSheet(element.getStyle())));
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.layout.style.SimpleStyleSheet

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.