added accessors to get & set alternate style sheets
git-svn-id: svn://10.0.0.236/trunk@18420 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
edced705c2
commit
c2d5d9cb79
@ -33,6 +33,8 @@ class nsIDeviceContext;
|
||||
class nsIRenderingContext;
|
||||
class nsIPageSequenceFrame;
|
||||
class nsISelection;
|
||||
class nsString;
|
||||
class nsStringArray;
|
||||
|
||||
#define NS_IPRESSHELL_IID \
|
||||
{ 0x76e79c60, 0x944e, 0x11d1, \
|
||||
@ -64,6 +66,15 @@ public:
|
||||
|
||||
virtual nsIStyleSet* GetStyleSet() = 0;
|
||||
|
||||
NS_IMETHOD GetActiveAlternateStyleSheet(nsString& aSheetTitle) = 0;
|
||||
NS_IMETHOD SelectAlternateStyleSheet(const nsString& aSheetTitle) = 0;
|
||||
|
||||
/**
|
||||
* Gather titles of all selectable (alternate and preferred) style sheets
|
||||
* fills void array with nsString* caller must free strings
|
||||
*/
|
||||
NS_IMETHOD ListAlternateStyleSheets(nsStringArray& aTitleList) = 0;
|
||||
|
||||
/** GetSelection will return the selection that the presentation shell may implement.
|
||||
* @param aSelection will hold the return value
|
||||
*/
|
||||
|
||||
@ -33,6 +33,8 @@ class nsIDeviceContext;
|
||||
class nsIRenderingContext;
|
||||
class nsIPageSequenceFrame;
|
||||
class nsISelection;
|
||||
class nsString;
|
||||
class nsStringArray;
|
||||
|
||||
#define NS_IPRESSHELL_IID \
|
||||
{ 0x76e79c60, 0x944e, 0x11d1, \
|
||||
@ -64,6 +66,15 @@ public:
|
||||
|
||||
virtual nsIStyleSet* GetStyleSet() = 0;
|
||||
|
||||
NS_IMETHOD GetActiveAlternateStyleSheet(nsString& aSheetTitle) = 0;
|
||||
NS_IMETHOD SelectAlternateStyleSheet(const nsString& aSheetTitle) = 0;
|
||||
|
||||
/**
|
||||
* Gather titles of all selectable (alternate and preferred) style sheets
|
||||
* fills void array with nsString* caller must free strings
|
||||
*/
|
||||
NS_IMETHOD ListAlternateStyleSheets(nsStringArray& aTitleList) = 0;
|
||||
|
||||
/** GetSelection will return the selection that the presentation shell may implement.
|
||||
* @param aSelection will hold the return value
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user