KHTML
css_value.cpp
Go to the documentation of this file.
99 void CSSStyleDeclaration::setProperty( const DOMString &propName, const DOMString &value, const DOMString &priority )
351 void CSSPrimitiveValue::setStringValue( unsigned short stringType, const DOMString &stringValue )
477 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qRed(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
482 return new CSSPrimitiveValueImpl(float(qAlpha(m_color) ? qGreen(m_color) : 0), CSSPrimitiveValue::CSS_DIMENSION);
487 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:296
CSSPrimitiveValue red() const
This attribute is used for the red value of the RGB color.
Definition: css_value.cpp:475
RGBColor getRGBColorValue() const
This method is used to get the RGB color.
Definition: css_value.cpp:381
void setStringValue(unsigned short stringType, const DOM::DOMString &stringValue)
A method to set the string value with a specified unit.
Definition: css_value.cpp:351
unsigned long length() const
The number of properties that have been explicitly set in this declaration block. ...
Definition: css_value.cpp:109
DOM::DOMString cssText() const
A string representation of the current value.
Definition: css_value.cpp:175
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:485
CSSStyleDeclarationImpl * handle() const
Definition: css_value.cpp:131
DOM::DOMString separator() const
This attribute is used for the separator of nested counters.
Definition: css_value.cpp:433
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:427
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:120
CSSPrimitiveValue left() const
This attribute is used for the left of the rect.
Definition: css_value.cpp:543
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:342
CSSPrimitiveValue top() const
This attribute is used for the top of the rect.
Definition: css_value.cpp:525
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:181
The CSSPrimitiveValue interface represents a single CSS value .
Definition: css_value.h:372
CSSValueList & operator=(const CSSValueList &other)
Definition: css_value.cpp:235
CSSPrimitiveValue right() const
This attribute is used for the right of the rect.
Definition: css_value.cpp:531
Counter getCounterValue() const
This method is used to get the Counter value.
Definition: css_value.cpp:369
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:187
void setFloatValue(unsigned short unitType, float floatValue)
A method to set the float value with a specified unit.
Definition: css_value.cpp:331
DOM::DOMString getStringValue() const
This method is used to get the string value in a specified unit.
Definition: css_value.cpp:363
CSSValue item(unsigned long index)
Used to retrieve a CSS rule by ordinal index.
Definition: css_value.cpp:270
DOM::DOMString identifier() const
This attribute is used for the identifier of the counter.
Definition: css_value.cpp:421
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:589
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:325
The Counter interface is used to represent any counter or counters function value.
Definition: css_value.h:697
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:480
CSSRule parentRule() const
The CSS rule that contains this declaration block.
Definition: css_value.cpp:125
CSSPrimitiveValue bottom() const
This attribute is used for the bottom of the rect.
Definition: css_value.cpp:537
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.