Class DomCssValueAdaptor

java.lang.Object
org.docx4j.convert.in.xhtml.DomCssValueAdaptor
All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue, org.w3c.dom.css.CSSValue

public class DomCssValueAdaptor extends Object implements org.w3c.dom.css.CSSPrimitiveValue
  • Constructor Details

    • DomCssValueAdaptor

      public DomCssValueAdaptor(com.openhtmltopdf.css.parser.PropertyValue val)
  • Method Details

    • getCssText

      public String getCssText()
      Specified by:
      getCssText in interface org.w3c.dom.css.CSSValue
    • setCssText

      public void setCssText(String cssText) throws DOMException
      Specified by:
      setCssText in interface org.w3c.dom.css.CSSValue
      Throws:
      DOMException
    • getCssValueType

      public short getCssValueType()
      Specified by:
      getCssValueType in interface org.w3c.dom.css.CSSValue
    • getPrimitiveType

      public short getPrimitiveType()
      Specified by:
      getPrimitiveType in interface org.w3c.dom.css.CSSPrimitiveValue
    • setFloatValue

      public void setFloatValue(short unitType, float floatValue) throws DOMException
      Specified by:
      setFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • getFloatValue

      public float getFloatValue(short unitType) throws DOMException
      Specified by:
      getFloatValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • setStringValue

      public void setStringValue(short stringType, String stringValue) throws DOMException
      Specified by:
      setStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • getStringValue

      public String getStringValue() throws DOMException
      Specified by:
      getStringValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • getCounterValue

      public org.w3c.dom.css.Counter getCounterValue() throws DOMException
      Specified by:
      getCounterValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • getRectValue

      public org.w3c.dom.css.Rect getRectValue() throws DOMException
      Specified by:
      getRectValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException
    • getRGBColorValue

      public org.w3c.dom.css.RGBColor getRGBColorValue() throws DOMException
      Specified by:
      getRGBColorValue in interface org.w3c.dom.css.CSSPrimitiveValue
      Throws:
      DOMException