DOM::CSSParser Class Reference

List of all members.

Detailed Description

Definition at line 95 of file cssparser.h.


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
unsigned int defaultNamespace ()
void addProperty (int propId, CSSValueImpl *value, bool important)
bool hasProperties () const
CSSStyleDeclarationImplcreateStyleDeclaration (CSSStyleRuleImpl *rule)
void clearProperties ()
bool parseValue (int propId, bool important)
bool parseShortHand (int propId, const int *properties, int numProperties, bool important)
bool parse4Values (int propId, const int *properties, bool important)
bool parseContent (int propId, bool important)
CSSValueImplparseBackgroundColor ()
CSSValueImplparseBackgroundImage ()
CSSValueImplparseBackgroundPositionXY (bool &xFound, bool &yFound)
void parseBackgroundPosition (CSSValueImpl *&value1, CSSValueImpl *&value2)
CSSValueImplparseBackgroundSize ()
bool parseBackgroundProperty (int propId, int &propId1, int &propId2, CSSValueImpl *&retValue1, CSSValueImpl *&retValue2)
bool parseBackgroundShorthand (bool important)
void addBackgroundValue (CSSValueImpl *&lval, CSSValueImpl *rval)
bool parseShape (int propId, bool important)
bool parseFont (bool important)
bool parseCounter (int propId, bool increment, bool important)
CSSValueListImplparseFontFamily ()
CSSPrimitiveValueImplparseColor ()
CSSPrimitiveValueImplparseColorFromValue (Value *val)
CSSValueImplparseCounterContent (ValueList *args, bool counters)
bool parseShadow (int propId, bool important)
bool parseBorderImage (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
int m_inParseShorthand
int m_currentShorthand
bool m_implicitShorthand

Static Public Attributes

static CSSParsercurrentParser = 0

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys