|
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 |
unsigned int | defaultNamespace () |
void | addProperty (int propId, CSSValueImpl *value, bool important) |
bool | hasProperties () const |
CSSStyleDeclarationImpl * | createStyleDeclaration (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) |
CSSValueImpl * | parseBackgroundColor () |
CSSValueImpl * | parseBackgroundImage () |
CSSValueImpl * | parseBackgroundPositionXY (bool &xFound, bool &yFound) |
void | parseBackgroundPosition (CSSValueImpl *&value1, CSSValueImpl *&value2) |
CSSValueImpl * | parseBackgroundSize () |
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) |
CSSValueListImpl * | parseFontFamily () |
CSSPrimitiveValueImpl * | parseColor () |
CSSPrimitiveValueImpl * | parseColorFromValue (Value *val) |
CSSValueImpl * | parseCounterContent (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 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 |
int | m_inParseShorthand |
int | m_currentShorthand |
bool | m_implicitShorthand |
Static Public Attributes |
static CSSParser * | currentParser = 0 |