khtml Library API Documentation

DOM::CSSPrimitiveValueImpl Class Reference

Inheritance diagram for DOM::CSSPrimitiveValueImpl:

DOM::CSSValueImpl DOM::StyleBaseImpl DOM::CSSImageValueImpl DOM::CSSQuirkPrimitiveValueImpl DOM::FontFamilyValueImpl List of all members.

Public Member Functions

 CSSPrimitiveValueImpl ()
 CSSPrimitiveValueImpl (int ident)
 CSSPrimitiveValueImpl (double num, CSSPrimitiveValue::UnitTypes type)
 CSSPrimitiveValueImpl (const DOMString &str, CSSPrimitiveValue::UnitTypes type)
 CSSPrimitiveValueImpl (CounterImpl *c)
 CSSPrimitiveValueImpl (RectImpl *r)
 CSSPrimitiveValueImpl (QRgb color)
virtual ~CSSPrimitiveValueImpl ()
void cleanup ()
unsigned short primitiveType () const
int computeLength (khtml::RenderStyle *style, QPaintDeviceMetrics *devMetrics)
double computeLengthFloat (khtml::RenderStyle *style, QPaintDeviceMetrics *devMetrics)
void setPrimitiveType (unsigned short type)
void setFloatValue (unsigned short unitType, double floatValue, int &exceptioncode)
double floatValue (unsigned short) const
void setStringValue (unsigned short stringType, const DOM::DOMString &stringValue, int &exceptioncode)
DOM::DOMStringImpl * getStringValue () const
CounterImpl * getCounterValue () const
RectImpl * getRectValue () const
QRgb getRGBColorValue () const
virtual bool isPrimitiveValue () const
virtual unsigned short cssValueType () const
int getIdent ()
virtual bool parseString (const DOMString &string, bool=false)
virtual DOM::DOMString cssText () const
virtual bool isQuirkValue () const

Protected Attributes

int m_type
union {
   int   ident
   double   num
   DOM::DOMStringImpl *   string
   CounterImpl *   counter
   RectImpl *   rect
   QRgb   rgbcolor
} m_value

Detailed Description

Definition at line 155 of file css_valueimpl.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Nov 1 10:35:37 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003