зеркало из https://github.com/mozilla/gecko-dev.git
added accessors to get & set alternate style sheets
This commit is contained in:
Родитель
b8cf627e7d
Коммит
50635cc188
|
@ -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
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче