KHtml
css_value.cpp
122 void CSSStyleDeclaration::setProperty(const DOMString &propName, const DOMString &value, const DOMString &priority)
575 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qRed(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
580 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qGreen(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
The CSSPrimitiveValue interface represents a single CSS value .
Definition: css_value.h:367
CSSPrimitiveValue blue() const
This attribute is used for the blue value of the RGB color.
Definition: css_value.cpp:583
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:90
CSSStyleDeclarationImpl * handle() const
Definition: css_value.cpp:157
CSSRule parentRule() const
The CSS rule that contains this declaration block.
Definition: css_value.cpp:149
CSSPrimitiveValue red() const
This attribute is used for the red value of the RGB color.
Definition: css_value.cpp:573
The CSSRule interface is the abstract base interface for any type of CSS statement .
Definition: css_rule.h:53
Counter getCounterValue() const
This method is used to get the Counter value.
Definition: css_value.cpp:449
This library provides a full-featured HTML parser and widget.
CSSPrimitiveValue bottom() const
This attribute is used for the bottom of the rect.
Definition: css_value.cpp:648
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:142
DOM::DOMString getPropertyPriority(const DOM::DOMString &propertyName) const
Used to retrieve the priority of a CSS property (e.g.
Definition: css_value.cpp:114
unsigned short primitiveType() const
The type of the value as defined by the constants specified above.
Definition: css_value.cpp:391
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
DOM::DOMString cssText() const
The parsable textual representation of the declaration block (including the surrounding curly braces)...
Definition: css_value.cpp:74
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
The Counter interface is used to represent any counter or counters function value.
Definition: css_value.h:696
CSSPrimitiveValue green() const
This attribute is used for the green value of the RGB color.
Definition: css_value.cpp:578
DOM::DOMString cssText() const
A string representation of the current value.
Definition: css_value.cpp:211
void setFloatValue(unsigned short unitType, float floatValue)
A method to set the float value with a specified unit.
Definition: css_value.cpp:399
DOM::DOMString getStringValue() const
This method is used to get the string value in a specified unit.
Definition: css_value.cpp:441
The CSSValue interface represents a simple or a complexe value.
Definition: css_value.h:237
CSSValue item(unsigned long index)
Used to retrieve a CSS rule by ordinal index.
Definition: css_value.cpp:326
DOM::DOMString separator() const
This attribute is used for the separator of nested counters.
Definition: css_value.cpp:529
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:106
CSSPrimitiveValue left() const
This attribute is used for the left of the rect.
Definition: css_value.cpp:656
RGBColor getRGBColorValue() const
This method is used to get the RGB color.
Definition: css_value.cpp:465
unsigned long length() const
The number of properties that have been explicitly set in this declaration block.
Definition: css_value.cpp:134
float getFloatValue(unsigned short unitType) const
This method is used to get a float value in a specified unit.
Definition: css_value.cpp:414
DOM::DOMString identifier() const
This attribute is used for the identifier of the counter.
Definition: css_value.cpp:513
The RGBColor interface is used to represent any RGB color value.
Definition: css_value.h:582
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:98
void setStringValue(unsigned short stringType, const DOM::DOMString &stringValue)
A method to set the string value with a specified unit.
Definition: css_value.cpp:426
CSSPrimitiveValue right() const
This attribute is used for the right of the rect.
Definition: css_value.cpp:640
CSSPrimitiveValue top() const
This attribute is used for the top of the rect.
Definition: css_value.cpp:632
This exception is raised when a specific CSS operation is impossible to perform.
Definition: css_stylesheet.h:180
unsigned short cssValueType() const
A code defining the type of the value as defined above.
Definition: css_value.cpp:227
DOM::DOMString listStyle() const
This attribute is used for the style of the list.
Definition: css_value.cpp:521
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jan 27 2023 07:43:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jan 27 2023 07:43:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.