khtml Library API Documentation

DOM::CSSParser Class Reference

Collaboration diagram for DOM::CSSParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CSSParser (bool strictParsing=true)
 ~CSSParser ()
void parseSheet (DOM::CSSStyleSheetImpl *sheet, const DOM::DOMString &string)
DOM::CSSRuleImplparseRule (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
CSSStyleDeclarationImplcreateStyleDeclaration (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)
CSSPrimitiveValueImplparseBackgroundPositionXY (int propId, bool forward, bool &ok)
CSSValueListImplparseFontFamily ()
CSSPrimitiveValueImplparseColor ()
CSSPrimitiveValueImplparseColorFromValue (Value *val)
CSSValueImplparseCounterContent (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 CSSParsercurrent ()
static bool parseColor (const QString &name, QRgb &rgb)

Public Attributes

bool strict
bool important
bool nonCSSHint
unsigned int id
DOM::StyleListImplstyleElement
DOM::CSSRuleImplrule
ValueListvalueList
CSSProperty ** parsedProperties
int numParsedProperties
int maxParsedProperties
bool inParseShortHand
unsigned int defaultNamespace

Static Public Attributes

static CSSParsercurrentParser = 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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Sep 15 11:11:32 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003