css_value.cpp
122 void CSSStyleDeclaration::setProperty( const DOMString &propName, const DOMString &value, const DOMString &priority )
377 void CSSPrimitiveValue::setStringValue( unsigned short stringType, const DOMString &stringValue )
503 return new CSSPrimitiveValueImpl(float(tqAlpha(m_color) ? tqRed(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
508 return new CSSPrimitiveValueImpl(float(tqAlpha(m_color) ? tqGreen(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
513 return new CSSPrimitiveValueImpl(float(tqAlpha(m_color) ? tqBlue(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
This exception is raised when a specific CSS operation is impossible to perform.
Definition: css_stylesheet.h:174
The CSSPrimitiveValue interface represents a single CSS value .
Definition: css_value.h:374
unsigned short primitiveType() const
The type of the value as defined by the constants specified above.
Definition: css_value.cpp:351
void setFloatValue(unsigned short unitType, float floatValue)
A method to set the float value with a specified unit.
Definition: css_value.cpp:357
float getFloatValue(unsigned short unitType)
This method is used to get a float value in a specified unit.
Definition: css_value.cpp:368
void setStringValue(unsigned short stringType, const DOM::DOMString &stringValue)
A method to set the string value with a specified unit.
Definition: css_value.cpp:377
DOM::DOMString getStringValue()
This method is used to get the string value in a specified unit.
Definition: css_value.cpp:389
The CSSRule interface is the abstract base interface for any type of CSS statement .
Definition: css_rule.h:53
The CSSStyleDeclaration interface represents a single CSS declaration block .
Definition: css_value.h:61
CSSRule parentRule() const
The CSS rule that contains this declaration block.
Definition: css_value.cpp:151
DOM::DOMString item(unsigned long index) const
Used to retrieve the properties that have been explicitly set in this declaration block.
Definition: css_value.cpp:146
DOM::DOMString getPropertyPriority(const DOM::DOMString &propertyName) const
Used to retrieve the priority of a CSS property (e.g.
Definition: css_value.cpp:113
CSSValue getPropertyCSSValue(const DOM::DOMString &propertyName) const
Used to retrieve the object representation of the value of a CSS property if it has been explicitly s...
Definition: css_value.cpp:93
DOM::DOMString getPropertyValue(const DOM::DOMString &propertyName) const
Used to retrieve the value of a CSS property if it has been explicitly set within this declaration bl...
Definition: css_value.cpp:80
unsigned long length() const
The number of properties that have been explicitly set in this declaration block.
Definition: css_value.cpp:135
DOM::DOMString cssText() const
The parsable textual representation of the declaration block (including the surrounding curly braces)...
Definition: css_value.cpp:63
DOM::DOMString removeProperty(const DOM::DOMString &propertyName)
Used to remove a CSS property if it has been explicitly set within this declaration block.
Definition: css_value.cpp:101
void setProperty(const DOM::DOMString &propertyName, const DOM::DOMString &value, const DOM::DOMString &priority)
Used to set a property value and priority within this declaration block.
Definition: css_value.cpp:122
CSSValue item(unsigned long index)
Used to retrieve a CSS rule by ordinal index.
Definition: css_value.cpp:296
The CSSValue interface represents a simple or a complexe value.
Definition: css_value.h:244
DOM::DOMString cssText() const
A string representation of the current value.
Definition: css_value.cpp:201
unsigned short cssValueType() const
A code defining the type of the value as defined above.
Definition: css_value.cpp:213
The Counter interface is used to represent any counter or counters function value.
Definition: css_value.h:700
DOM::DOMString identifier() const
This attribute is used for the identifier of the counter.
Definition: css_value.cpp:447
DOM::DOMString listStyle() const
This attribute is used for the style of the list.
Definition: css_value.cpp:453
DOM::DOMString separator() const
This attribute is used for the separator of nested counters.
Definition: css_value.cpp:459
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
The RGBColor interface is used to represent any RGB color value.
Definition: css_value.h:592
CSSPrimitiveValue blue() const
This attribute is used for the blue value of the RGB color.
Definition: css_value.cpp:511
CSSPrimitiveValue red() const
This attribute is used for the red value of the RGB color.
Definition: css_value.cpp:501
CSSPrimitiveValue green() const
This attribute is used for the green value of the RGB color.
Definition: css_value.cpp:506
CSSPrimitiveValue bottom() const
This attribute is used for the bottom of the rect.
Definition: css_value.cpp:563
CSSPrimitiveValue left() const
This attribute is used for the left of the rect.
Definition: css_value.cpp:569
CSSPrimitiveValue right() const
This attribute is used for the right of the rect.
Definition: css_value.cpp:557
CSSPrimitiveValue top() const
This attribute is used for the top of the rect.
Definition: css_value.cpp:551
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57