Package org.pentaho.reporting.libraries.css.model

Examples of org.pentaho.reporting.libraries.css.model.StyleSheet


    assertNotNull("Could not retrieve the StyleKey for [background-color]", backgroundColor);
  }

  public void testParseSingleStyle() throws Exception
  {
    StyleSheet s = new StyleSheet();
    CSSStyleRule rule = new CSSStyleRule(s, null);
    rule.setPropertyValueAsString(BoxStyleKeys.HEIGHT, "10%");
    assertEquals("10%", rule.getPropertyCSSValue(BoxStyleKeys.HEIGHT).toString());
    rule.setPropertyValueAsString(BoxStyleKeys.HEIGHT, "10pt");
    assertEquals("10pt", rule.getPropertyCSSValue(BoxStyleKeys.HEIGHT).toString());
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.css.model.StyleSheet

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.