KHTML
css_value.cpp
Go to the documentation of this file.
99 void CSSStyleDeclaration::setProperty( const DOMString &propName, const DOMString &value, const DOMString &priority )
347 void CSSPrimitiveValue::setStringValue( unsigned short stringType, const DOMString &stringValue )
473 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qRed(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
478 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qGreen(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
483 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qBlue(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
DOM::DOMString cssText() const
The parsable textual representation of the declaration block (including the surrounding curly braces)...
Definition: css_value.cpp:63
CSSPrimitiveValue & operator=(const CSSPrimitiveValue &other)
Definition: css_value.cpp:292
CSSPrimitiveValue red() const
This attribute is used for the red value of the RGB color.
Definition: css_value.cpp:471
RGBColor getRGBColorValue() const
This method is used to get the RGB color.
Definition: css_value.cpp:377
void setStringValue(unsigned short stringType, const DOM::DOMString &stringValue)
A method to set the string value with a specified unit.
Definition: css_value.cpp:347
unsigned long length() const
The number of properties that have been explicitly set in this declaration block. ...
Definition: css_value.cpp:105
DOM::DOMString cssText() const
A string representation of the current value.
Definition: css_value.cpp:171
The CSSStyleDeclaration interface represents a single CSS declaration block .
Definition: css_value.h:60
CSSPrimitiveValue blue() const
This attribute is used for the blue value of the RGB color.
Definition: css_value.cpp:481
CSSStyleDeclarationImpl * handle() const
Definition: css_value.cpp:127
DOM::DOMString separator() const
This attribute is used for the separator of nested counters.
Definition: css_value.cpp:429
void setCssText(const DOM::DOMString &)
see cssText SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable...
Definition: css_value.cpp:69
DOM::DOMString listStyle() const
This attribute is used for the style of the list.
Definition: css_value.cpp:423
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:116
CSSPrimitiveValue left() const
This attribute is used for the left of the rect.
Definition: css_value.cpp:539
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
The CSSValueList interface provides the absraction of an ordered collection of CSS values...
Definition: css_value.h:315
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:75
float getFloatValue(unsigned short unitType) const
This method is used to get a float value in a specified unit.
Definition: css_value.cpp:338
CSSPrimitiveValue top() const
This attribute is used for the top of the rect.
Definition: css_value.cpp:521
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:81
void setCssText(const DOM::DOMString &)
see cssText SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable...
Definition: css_value.cpp:177
The CSSPrimitiveValue interface represents a single CSS value .
Definition: css_value.h:372
CSSValueList & operator=(const CSSValueList &other)
Definition: css_value.cpp:231
CSSPrimitiveValue right() const
This attribute is used for the right of the rect.
Definition: css_value.cpp:527
Counter getCounterValue() const
This method is used to get the Counter value.
Definition: css_value.cpp:365
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:87
unsigned short cssValueType() const
A code defining the type of the value as defined above.
Definition: css_value.cpp:183
void setFloatValue(unsigned short unitType, float floatValue)
A method to set the float value with a specified unit.
Definition: css_value.cpp:327
DOM::DOMString getStringValue() const
This method is used to get the string value in a specified unit.
Definition: css_value.cpp:359
CSSValue item(unsigned long index)
Used to retrieve a CSS rule by ordinal index.
Definition: css_value.cpp:266
DOM::DOMString identifier() const
This attribute is used for the identifier of the counter.
Definition: css_value.cpp:417
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:99
The CSSRule interface is the abstract base interface for any type of CSS statement ...
Definition: css_rule.h:52
The RGBColor interface is used to represent any RGB color value.
Definition: css_value.h:587
This exception is raised when a specific CSS operation is impossible to perform.
Definition: css_stylesheet.h:174
CSSStyleDeclaration & operator=(const CSSStyleDeclaration &other)
Definition: css_value.cpp:48
The CSSValue interface represents a simple or a complexe value.
Definition: css_value.h:240
unsigned short primitiveType() const
The type of the value as defined by the constants specified above.
Definition: css_value.cpp:321
The Counter interface is used to represent any counter or counters function value.
Definition: css_value.h:695
DOM::DOMString getPropertyPriority(const DOM::DOMString &propertyName) const
Used to retrieve the priority of a CSS property (e.g.
Definition: css_value.cpp:93
CSSPrimitiveValue green() const
This attribute is used for the green value of the RGB color.
Definition: css_value.cpp:476
CSSRule parentRule() const
The CSS rule that contains this declaration block.
Definition: css_value.cpp:121
CSSPrimitiveValue bottom() const
This attribute is used for the bottom of the rect.
Definition: css_value.cpp:533
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.