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

Examples of org.pentaho.reporting.engine.classic.core.style.ResolverStyleSheet


      {
        final Element element = elements[i];
        elementTypes[i] = element.getElementType();
      }

      final ResolverStyleSheet resolverStyleSheet = getResolvedStyle();
      if (elements.length > 0)
      {
        final StyleResolver resolver = new SimpleStyleResolver(true);
        resolver.resolve(elements[0], resolverStyleSheet);
      }
View Full Code Here


    {
      super.resetCache();
      Arrays.fill(inheritValues, null);
      Arrays.fill(expressionValues, null);

      final ResolverStyleSheet resolverStyleSheet = getResolvedStyle();
      if (elements.length > 0)
      {
        final StyleResolver resolver = new SimpleStyleResolver(true);
        resolver.resolve(elements[0], resolverStyleSheet);
      }
      else
      {
        resolverStyleSheet.clear();
      }
    }
View Full Code Here

  {
    this.metaData = EMPTY_METADATA;
    this.groupings = EMPTY_GROUPINGS;
    propertyEditors = EMPTY_VALUES;
    fullValues = EMPTY_VALUES;
    resolverStyleSheet = new ResolverStyleSheet();
  }
View Full Code Here

  protected AbstractStyleDataBackend(final StyleMetaData[] metaData,
                                    final GroupingHeader[] groupings)
  {
    this.metaData = metaData;
    this.groupings = groupings;
    resolverStyleSheet = new ResolverStyleSheet();

    propertyEditors = new Object[this.metaData.length];
    fullValues = new Object[this.metaData.length];
  }
View Full Code Here

    new DropTarget(this, new BandDndHandler(this));

    installMouseOperationHandler();

    styleResolver = new SimpleStyleResolver(true);
    resolvedStyle = new ResolverStyleSheet();

    renderContext.getReportDefinition().addReportModelListener(changeHandler);
  }
View Full Code Here

    final StyleKey[] keys = StyleKey.getDefinedStyleKeys();
    final Object[] values = new Object[keys.length];
    final ResolverStyleSheet[] styles = new ResolverStyleSheet[visualElements.length];
    for (int i = 0; i < styles.length; i++)
    {
      final ResolverStyleSheet style = new ResolverStyleSheet();
      styleResolver.resolve(visualElements[i], style);
      styles[i] = style;
    }
   
    for (int i = 0; i < keys.length; i++)
View Full Code Here

    if (o != null)
    {
      return o;
    }

    final ResolverStyleSheet styleSheet = dataBackend1.getResolvedStyle();
    final Object lastElement = styleSheet.getStyleProperty(metaData.getStyleKey());
    if (lastElement != null)
    {
      fullValues[row] = lastElement;
    }
    else
View Full Code Here

      return;
    }

    ReportDefinition reportDefinition = locateMasterReport(event.getState());
    resolver = createStyleResolver(reportDefinition, getRuntime().getProcessingContext());
    styleSheet = new ResolverStyleSheet();
    super.reportInitialized(event);
  }
View Full Code Here

    final CrosstabTableCell b = new CrosstabTableCell(colSpan, rowSpan);
    b.getStyle().setStyleProperty(BandStyleKeys.PAGEBREAK_BEFORE, pagebreakBefore);
    b.getStyle().setStyleProperty(BandStyleKeys.PAGEBREAK_AFTER, pagebreakAfter);

    final StyleResolver resolver = new SimpleStyleResolver();
    final ResolverStyleSheet resolverTarget = new ResolverStyleSheet();
    resolver.resolve(b, resolverTarget);
    b.setComputedStyle(new SimpleStyleSheet(resolverTarget));
    return b;
  }
View Full Code Here

    b.getStyle().setStyleProperty(BandStyleKeys.LAYOUT, BandStyleKeys.LAYOUT_TABLE);
    b.getStyle().setStyleProperty(ElementStyleKeys.INVISIBLE_CONSUMES_SPACE, true);
    b.getStyle().setStyleProperty(BandStyleKeys.TABLE_LAYOUT, tableLayout);

    final StyleResolver resolver = new SimpleStyleResolver();
    final ResolverStyleSheet resolverTarget = new ResolverStyleSheet();
    resolver.resolve(b, resolverTarget);
    b.setComputedStyle(new SimpleStyleSheet(resolverTarget));
    return b;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.style.ResolverStyleSheet

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.