Package org.docx4j.convert.in.xhtml
Class DomCssValueAdaptor
java.lang.Object
org.docx4j.convert.in.xhtml.DomCssValueAdaptor
- All Implemented Interfaces:
org.w3c.dom.css.CSSPrimitiveValue,org.w3c.dom.css.CSSValue
-
Field Summary
Fields inherited from interface org.w3c.dom.css.CSSPrimitiveValue
CSS_ATTR, CSS_CM, CSS_COUNTER, CSS_DEG, CSS_DIMENSION, CSS_EMS, CSS_EXS, CSS_GRAD, CSS_HZ, CSS_IDENT, CSS_IN, CSS_KHZ, CSS_MM, CSS_MS, CSS_NUMBER, CSS_PC, CSS_PERCENTAGE, CSS_PT, CSS_PX, CSS_RAD, CSS_RECT, CSS_RGBCOLOR, CSS_S, CSS_STRING, CSS_UNKNOWN, CSS_URIFields inherited from interface org.w3c.dom.css.CSSValue
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.css.CountershortfloatgetFloatValue(short unitType) shortorg.w3c.dom.css.Rectorg.w3c.dom.css.RGBColorvoidsetCssText(String cssText) voidsetFloatValue(short unitType, float floatValue) voidsetStringValue(short stringType, String stringValue)
-
Constructor Details
-
DomCssValueAdaptor
public DomCssValueAdaptor(com.openhtmltopdf.css.parser.PropertyValue val)
-
-
Method Details
-
getCssText
- Specified by:
getCssTextin interfaceorg.w3c.dom.css.CSSValue
-
setCssText
- Specified by:
setCssTextin interfaceorg.w3c.dom.css.CSSValue- Throws:
DOMException
-
getCssValueType
public short getCssValueType()- Specified by:
getCssValueTypein interfaceorg.w3c.dom.css.CSSValue
-
getPrimitiveType
public short getPrimitiveType()- Specified by:
getPrimitiveTypein interfaceorg.w3c.dom.css.CSSPrimitiveValue
-
setFloatValue
- Specified by:
setFloatValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getFloatValue
- Specified by:
getFloatValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
setStringValue
- Specified by:
setStringValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getStringValue
- Specified by:
getStringValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getCounterValue
- Specified by:
getCounterValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getRectValue
- Specified by:
getRectValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-
getRGBColorValue
- Specified by:
getRGBColorValuein interfaceorg.w3c.dom.css.CSSPrimitiveValue- Throws:
DOMException
-