Back to index

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

#include <nsICSSImportRule.h>

Inheritance diagram for nsICSSImportRule:
Inheritance graph
[legend]
Collaboration diagram for nsICSSImportRule:
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 SetURLSpec (const nsString &aURLSpec)=0
NS_IMETHOD GetURLSpec (nsString &aURLSpec) const =0
NS_IMETHOD SetMedia (const nsString &aMedia)=0
NS_IMETHOD GetMedia (nsString &aMedia) const =0
NS_IMETHOD SetSheet (nsICSSStyleSheet *)=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 51 of file nsICSSImportRule.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 nsICSSImportRule::GetMedia ( nsString aMedia) const [pure virtual]

Implemented in CSSImportRuleImpl.

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 nsICSSImportRule::GetURLSpec ( nsString aURLSpec) const [pure virtual]

Implemented in CSSImportRuleImpl.

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 nsICSSImportRule::SetMedia ( const nsString aMedia) [pure virtual]

Implemented in CSSImportRuleImpl.

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

Implemented in CSSStyleRuleImpl.

Here is the caller graph for this function:

Implemented in CSSImportRuleImpl.

Here is the caller graph for this function:

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

Implemented in CSSStyleRuleImpl, and nsCSSMediaRule.

Here is the caller graph for this function:

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

Implemented in CSSImportRuleImpl.


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