Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIStyleSheet Class Reference

#include <nsIStyleSheet.h>

Inheritance diagram for nsIStyleSheet:


List of all members.

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 72 of file nsIStyleSheet.h.

Public Member Functions

NS_IMETHOD GetApplicable (PRBool &aApplicable) const =0
NS_IMETHOD GetBaseURI (nsIURI **aBaseURI) const =0
NS_IMETHOD GetComplete (PRBool &aComplete) const =0
NS_IMETHOD GetOwningDocument (nsIDocument *&aDocument) const =0
NS_IMETHOD GetParentSheet (nsIStyleSheet *&aParent) const =0
NS_IMETHOD GetSheetURI (nsIURI **aSheetURI) const =0
NS_IMETHOD GetTitle (nsString &aTitle) const =0
NS_IMETHOD GetType (nsString &aType) const =0
 NS_IMETHOD_ (PRBool) HasRules() const =0
 NS_IMETHOD_ (PRBool) UseForMedium(nsPresContext *aPresContext) const =0
NS_IMETHOD SetComplete ()=0
NS_IMETHOD SetEnabled (PRBool aEnabled)=0
NS_IMETHOD SetOwningDocument (nsIDocument *aDocument)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index