Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIStyleSheet Class Reference

A style sheet is a thing associated with a document that has style rules. More...

#include <nsIStyleSheet.h>

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

List of all members.

Public Member Functions

NS_IMETHOD GetSheetURI (nsIURI **aSheetURI) const =0
NS_IMETHOD GetBaseURI (nsIURI **aBaseURI) const =0
NS_IMETHOD GetTitle (nsString &aTitle) const =0
NS_IMETHOD GetType (nsString &aType) const =0
 NS_IMETHOD_ (PRBool) UseForMedium(nsPresContext *aPresContext) const =0
 NS_IMETHOD_ (PRBool) HasRules() const =0
NS_IMETHOD GetApplicable (PRBool &aApplicable) const =0
 Whether the sheet is applicable.
NS_IMETHOD SetEnabled (PRBool aEnabled)=0
 Set the stylesheet to be enabled.
NS_IMETHOD GetComplete (PRBool &aComplete) const =0
 Whether the sheet is complete.
NS_IMETHOD SetComplete ()=0
NS_IMETHOD GetParentSheet (nsIStyleSheet *&aParent) const =0
NS_IMETHOD GetOwningDocument (nsIDocument *&aDocument) const =0
NS_IMETHOD SetOwningDocument (nsIDocument *aDocument)=0

Detailed Description

A style sheet is a thing associated with a document that has style rules.

Those style rules can be reached in one of two ways, depending on which level of the nsStyleSet it is in: 1) It can be |QueryInterface|d to nsIStyleRuleProcessor 2) It can be |QueryInterface|d to nsICSSStyleSheet, with which the |nsStyleSet| uses an |nsCSSRuleProcessor| to access the rules.

Definition at line 66 of file nsIStyleSheet.h.


Member Function Documentation

NS_IMETHOD nsIStyleSheet::GetApplicable ( PRBool aApplicable) const [pure virtual]

Whether the sheet is applicable.

A sheet that is not applicable should never be inserted into a style set. A sheet may not be applicable for a variety of reasons including being disabled and being incomplete.

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetBaseURI ( nsIURI **  aBaseURI) const [pure virtual]
NS_IMETHOD nsIStyleSheet::GetComplete ( PRBool aComplete) const [pure virtual]

Whether the sheet is complete.

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetOwningDocument ( nsIDocument *&  aDocument) const [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetParentSheet ( nsIStyleSheet *&  aParent) const [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetSheetURI ( nsIURI **  aSheetURI) const [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetTitle ( nsString aTitle) const [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::GetType ( nsString aType) const [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

nsIStyleSheet::NS_IMETHOD_ ( PRBool  ) const [pure virtual]
nsIStyleSheet::NS_IMETHOD_ ( PRBool  ) const [pure virtual]
NS_IMETHOD nsIStyleSheet::SetEnabled ( PRBool  aEnabled) [pure virtual]

Set the stylesheet to be enabled.

This may or may not make it applicable.

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:

NS_IMETHOD nsIStyleSheet::SetOwningDocument ( nsIDocument aDocument) [pure virtual]

Implemented in HTMLCSSStyleSheetImpl, nsCSSStyleSheet, and nsHTMLStyleSheet.

Here is the caller graph for this function:


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