khtml Library API Documentation

DOM::CSSParser Class Reference

List of all members.

Public Member Functions

 CSSParser (bool strictParsing=true)
 ~CSSParser ()
void parseSheet (DOM::CSSStyleSheetImpl *sheet, const DOM::DOMString &string)
DOM::CSSRuleImpl * parseRule (DOM::CSSStyleSheetImpl *sheet, const DOM::DOMString &string)
bool parseValue (DOM::CSSStyleDeclarationImpl *decls, int id, const DOM::DOMString &string, bool _important, bool _nonCSSHint)
bool parseDeclaration (DOM::CSSStyleDeclarationImpl *decls, const DOM::DOMString &string, bool _nonCSSHint)
DOM::DocumentImpl * document () const
void addProperty (int propId, CSSValueImpl *value, bool important)
bool hasProperties () const
CSSStyleDeclarationImpl * createStyleDeclaration (CSSStyleRuleImpl *rule)
void clearProperties ()
bool parseValue (int propId, bool important, int expected=1)
bool parseShortHand (const int *properties, int numProperties, bool important)
bool parse4Values (const int *properties, bool important)
bool parseContent (int propId, bool important)
bool parseShape (int propId, bool important)
bool parseFont (bool important)
bool parseCounter (int propId, bool increment, bool important)
CSSPrimitiveValueImpl * parseBackgroundPositionXY (int propId, bool forward, bool &ok)
CSSValueListImpl * parseFontFamily ()
CSSPrimitiveValueImpl * parseColor ()
CSSPrimitiveValueImpl * parseColorFromValue (Value *val)
CSSValueImpl * parseCounterContent (ValueList *args, bool counters)
bool parseShadow (int propId, bool important)
int lex (void *yylval)
int token ()
unsigned short * text (int *length)
int lex ()

Static Public Member Functions

static CSSParser * current ()
static bool parseColor (const QString &name, QRgb &rgb)

Public Attributes

bool strict
bool important
bool nonCSSHint
unsigned int id
DOM::StyleListImpl * styleElement
DOM::CSSRuleImpl * rule
ValueList * valueList
CSSProperty ** parsedProperties
int numParsedProperties
int maxParsedProperties
bool inParseShortHand
unsigned int defaultNamespace

Static Public Attributes

static CSSParser * currentParser = 0

Detailed Description

Definition at line 93 of file cssparser.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