Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions
nsICSSNameSpaceRule Class Reference

#include <nsICSSNameSpaceRule.h>

Inheritance diagram for nsICSSNameSpaceRule:
Inheritance graph
[legend]
Collaboration diagram for nsICSSNameSpaceRule:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  UNKNOWN_RULE = 0, STYLE_RULE = 1, IMPORT_RULE = 2, MEDIA_RULE = 3,
  FONT_FACE_RULE = 4, PAGE_RULE = 5, CHARSET_RULE = 6, NAMESPACE_RULE = 7,
  DOCUMENT_RULE = 8
}

Public Member Functions

NS_IMETHOD GetPrefix (nsIAtom *&aPrefix) const =0
NS_IMETHOD SetPrefix (nsIAtom *aPrefix)=0
NS_IMETHOD GetURLSpec (nsString &aURLSpec) const =0
NS_IMETHOD SetURLSpec (const nsString &aURLSpec)=0
NS_IMETHOD GetType (PRInt32 &aType) const =0
NS_IMETHOD GetStyleSheet (nsIStyleSheet *&aSheet) const =0
NS_IMETHOD SetStyleSheet (nsICSSStyleSheet *aSheet)=0
NS_IMETHOD SetParentRule (nsICSSGroupRule *aRule)=0
NS_IMETHOD Clone (nsICSSRule *&aClone) const =0
NS_IMETHOD GetDOMRule (nsIDOMCSSRule **aDOMRule)=0
NS_IMETHOD MapRuleInfoInto (nsRuleData *aRuleData)=0
 |nsIStyleRule::MapRuleInfoInto| is a request to copy all stylistic data represented by the rule that:

Detailed Description

Definition at line 50 of file nsICSSNameSpaceRule.h.


Member Enumeration Documentation

anonymous enum [inherited]
Enumerator:
UNKNOWN_RULE 
STYLE_RULE 
IMPORT_RULE 
MEDIA_RULE 
FONT_FACE_RULE 
PAGE_RULE 
CHARSET_RULE 
NAMESPACE_RULE 
DOCUMENT_RULE 

Definition at line 55 of file nsICSSRule.h.


Member Function Documentation

NS_IMETHOD nsICSSRule::Clone ( nsICSSRule *&  aClone) const [pure virtual, inherited]

Implemented in CSSNameSpaceRuleImpl, CSSStyleRuleImpl, CSSImportRuleImpl, CSSCharsetRuleImpl, nsCSSDocumentRule, and nsCSSMediaRule.

Here is the caller graph for this function:

NS_IMETHOD nsICSSRule::GetDOMRule ( nsIDOMCSSRule **  aDOMRule) [pure virtual, inherited]

Implemented in CSSStyleRuleImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSNameSpaceRule::GetPrefix ( nsIAtom *&  aPrefix) const [pure virtual]

Implemented in CSSNameSpaceRuleImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSRule::GetStyleSheet ( nsIStyleSheet *&  aSheet) const [pure virtual, inherited]

Implemented in CSSStyleRuleImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSRule::GetType ( PRInt32 aType) const [pure virtual, inherited]

Implemented in CSSNameSpaceRuleImpl, CSSStyleRuleImpl, CSSImportRuleImpl, CSSCharsetRuleImpl, nsCSSDocumentRule, and nsCSSMediaRule.

Here is the caller graph for this function:

NS_IMETHOD nsICSSNameSpaceRule::GetURLSpec ( nsString aURLSpec) const [pure virtual]

Implemented in CSSNameSpaceRuleImpl.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleRule::MapRuleInfoInto ( nsRuleData aRuleData) [pure virtual, inherited]

|nsIStyleRule::MapRuleInfoInto| is a request to copy all stylistic data represented by the rule that:

  • are relevant for |aRuleData->mSID| (the style struct ID)
  • are not already filled into the data struct into the appropriate data struct in |aRuleData|. It is important that only empty data are filled in, since the rule tree is walked from highest priority rule to least, so that the walk can stop if all needed data are found. Thus overwriting non-empty data will break CSS cascading rules.

Implemented in CSSStyleRuleImpl, CSSImportantRule, nsHTMLStyleSheet::TableUngroupedColRule, nsHTMLStyleSheet::TableColRule, nsHTMLStyleSheet::TableColgroupRule, nsHTMLStyleSheet::TableRowRule, nsHTMLStyleSheet::TableTbodyRule, nsHTMLStyleSheet::TableTHRule, nsHTMLStyleSheet::GenericTableRule, nsHTMLStyleSheet::HTMLColorRule, CSSFirstLetterRule, nsMappedAttributes, CSSFirstLineRule, and BodyRule.

Here is the caller graph for this function:

NS_IMETHOD nsICSSRule::SetParentRule ( nsICSSGroupRule aRule) [pure virtual, inherited]

Implemented in CSSStyleRuleImpl.

Here is the caller graph for this function:

NS_IMETHOD nsICSSNameSpaceRule::SetPrefix ( nsIAtom aPrefix) [pure virtual]

Implemented in CSSNameSpaceRuleImpl.

NS_IMETHOD nsICSSRule::SetStyleSheet ( nsICSSStyleSheet aSheet) [pure virtual, inherited]

Implemented in CSSStyleRuleImpl, and nsCSSMediaRule.

Here is the caller graph for this function:

NS_IMETHOD nsICSSNameSpaceRule::SetURLSpec ( const nsString aURLSpec) [pure virtual]

Implemented in CSSNameSpaceRuleImpl.


The documentation for this class was generated from the following file: