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

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


  protected void processSubreportDrawableContent(final SubreportDrawable reportDrawable,
                                                 final RenderBox box,
                                                 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())));
    }
    else if ((box.getNodeType() & LayoutNodeTypes.MASK_BOX_INLINE) == LayoutNodeTypes.MASK_BOX_INLINE)
    {
      elementStyle = styleCache.getStyleSheet(new FullWidthWrapperStyleSheet(element.getStyle()));
    }
    else
    {
      elementStyle = textStyleCache.getStyleSheet
          (new NonDynamicHeightWrapperStyleSheet(element.getStyle()));
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.layout.StyleCache

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.