Added new style interfaces. Modified property slot id allocation.

This commit is contained in:
vidur%netscape.com 1998-09-25 00:49:44 +00:00
parent 6222d3f057
commit 2d0550a5a2
186 changed files with 10351 additions and 468 deletions

View File

@ -17,7 +17,7 @@
DEPTH=../..
DIRS = coreDom coreEvents events html
DIRS = coreDom coreEvents events html css
DEFINES = -D_IMPL_NS_DOM

View File

@ -30,3 +30,5 @@ nsIDOMNamedNodeMap.h
nsIDOMNodeList.h
nsIDOMProcessingInstruction.h
nsIDOMText.h
nsIDOMStyleSheet.h
nsIDOMStyleSheetCollection.h

View File

@ -34,6 +34,8 @@ EXPORTS = \
nsIDOMNodeList.h \
nsIDOMProcessingInstruction.h \
nsIDOMText.h \
nsIDOMStyleSheet.h \
nsIDOMStyleSheetCollection.h \
$(NULL)
MODULE = dom

View File

@ -23,7 +23,7 @@ EXPORTS=nsIDOMAttribute.h nsIDOMCDATASection.h nsIDOMComment.h nsIDOMData.h \
nsIDOMDOM.h nsIDOMDocument.h nsIDOMDocumentType.h \
nsIDOMDocumentFragment.h nsIDOMElement.h nsIDOMNode.h \
nsIDOMNamedNodeMap.h nsIDOMNodeList.h nsIDOMProcessingInstruction.h \
nsIDOMText.h
nsIDOMText.h nsIDOMStyleSheet.h nsIDOMStyleSheetCollection.h
MODULE=dom

View File

@ -0,0 +1,59 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMStyleSheet_h__
#define nsIDOMStyleSheet_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#define NS_IDOMSTYLESHEET_IID \
{ 0x6f7652ee, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMStyleSheet : public nsISupports {
public:
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetReadOnly(PRBool* aReadOnly)=0;
};
#define NS_DECL_IDOMSTYLESHEET \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly); \
#define NS_FORWARD_IDOMSTYLESHEET(_to) \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to##GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to##SetDisabled(aDisabled); } \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly) { return _to##GetReadOnly(aReadOnly); } \
extern nsresult NS_InitStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptStyleSheet(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMStyleSheet_h__

View File

@ -0,0 +1,57 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMStyleSheetCollection_h__
#define nsIDOMStyleSheetCollection_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
class nsIDOMStyleSheet;
#define NS_IDOMSTYLESHEETCOLLECTION_IID \
{ 0x6f7652ef, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMStyleSheetCollection : public nsISupports {
public:
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMStyleSheet** aReturn)=0;
};
#define NS_DECL_IDOMSTYLESHEETCOLLECTION \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMStyleSheet** aReturn); \
#define NS_FORWARD_IDOMSTYLESHEETCOLLECTION(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to##GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMStyleSheet** aReturn) { return _to##Item(aIndex, aReturn); } \
extern nsresult NS_InitStyleSheetCollectionClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptStyleSheetCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMStyleSheetCollection_h__

View File

@ -28,7 +28,7 @@
class nsIDOMText;
#define NS_IDOMTEXT_IID \
{ 0x6f7652ee, 0xee43, 0x11d1, \
{ 0x6f7652f0, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMText : public nsIDOMData {

View File

@ -27,7 +27,7 @@
class nsIDOMNode;
#define NS_IDOMEVENT_IID \
{ 0x6f76532e, 0xee43, 0x11d1, \
{ 0x6f765330, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMEvent : public nsISupports {

View File

@ -27,7 +27,7 @@
#define NS_IDOMEVENTCAPTURER_IID \
{ 0x6f765330, 0xee43, 0x11d1, \
{ 0x6f76533a, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMEventCapturer : public nsIDOMEventReceiver {

View File

@ -26,7 +26,7 @@
#define NS_IDOMNSEVENT_IID \
{ 0x6f76532f, 0xee43, 0x11d1, \
{ 0x6f765331, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMNSEvent : public nsISupports {

26
dom/public/css/MANIFEST Normal file
View File

@ -0,0 +1,26 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the mozilla:dist:dom directory
#
nsIDOMCSSFontFaceRule.h
nsIDOMCSSMediaRule.h
nsIDOMCSSPageRule.h
nsIDOMCSSStyleDeclaration.h
nsIDOMCSSStyleRule.h
nsIDOMCSSStyleRuleCollection.h
nsIDOMCSSStyleRuleSimple.h
nsIDOMCSSStyleSheet.h

37
dom/public/css/Makefile Normal file
View File

@ -0,0 +1,37 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../../..
DEFINES = -D_IMPL_NS_DOM
EXPORTS = \
nsIDOMCSSFontFaceRule.h \
nsIDOMCSSMediaRule.h \
nsIDOMCSSPageRule.h \
nsIDOMCSSStyleDeclaration.h \
nsIDOMCSSStyleRule.h \
nsIDOMCSSStyleRuleCollection.h \
nsIDOMCSSStyleRuleSimple.h \
nsIDOMCSSStyleSheet.h
$(NULL)
MODULE = dom
include $(DEPTH)/config/config.mk
include $(DEPTH)/config/rules.mk

View File

@ -0,0 +1,34 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..
IGNORE_MANIFEST=1
DEFINES=-D_IMPL_NS_DOM
EXPORTS= \
nsIDOMCSSFontFaceRule.h \
nsIDOMCSSMediaRule.h \
nsIDOMCSSPageRule.h \
nsIDOMCSSStyleDeclaration.h \
nsIDOMCSSStyleRule.h \
nsIDOMCSSStyleRuleCollection.h \
nsIDOMCSSStyleRuleSimple.h \
nsIDOMCSSStyleSheet.h
MODULE=dom
include <$(DEPTH)\config\rules.mak>

View File

@ -0,0 +1,57 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSFontFaceRule_h__
#define nsIDOMCSSFontFaceRule_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMCSSStyleRule.h"
class nsIDOMCSSStyleDeclaration;
#define NS_IDOMCSSFONTFACERULE_IID \
{ 0x6f765332, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSFontFaceRule : public nsIDOMCSSStyleRule {
public:
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle)=0;
};
#define NS_DECL_IDOMCSSFONTFACERULE \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle); \
#define NS_FORWARD_IDOMCSSFONTFACERULE(_to) \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to##GetStyle(aStyle); } \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
extern nsresult NS_InitCSSFontFaceRuleClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSFontFaceRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSFontFaceRule_h__

View File

@ -0,0 +1,69 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSMediaRule_h__
#define nsIDOMCSSMediaRule_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMCSSStyleRule.h"
class nsIDOMCSSStyleRuleCollection;
#define NS_IDOMCSSMEDIARULE_IID \
{ 0x6f765333, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSMediaRule : public nsIDOMCSSStyleRule {
public:
NS_IMETHOD GetMediaTypes(nsString& aMediaTypes)=0;
NS_IMETHOD SetMediaTypes(const nsString& aMediaTypes)=0;
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules)=0;
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD RemoveRule(PRUint32 aIndex)=0;
};
#define NS_DECL_IDOMCSSMEDIARULE \
NS_IMETHOD GetMediaTypes(nsString& aMediaTypes); \
NS_IMETHOD SetMediaTypes(const nsString& aMediaTypes); \
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules); \
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD RemoveRule(PRUint32 aIndex); \
#define NS_FORWARD_IDOMCSSMEDIARULE(_to) \
NS_IMETHOD GetMediaTypes(nsString& aMediaTypes) { return _to##GetMediaTypes(aMediaTypes); } \
NS_IMETHOD SetMediaTypes(const nsString& aMediaTypes) { return _to##SetMediaTypes(aMediaTypes); } \
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules) { return _to##GetRules(aRules); } \
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn) { return _to##AddRule(aSelector, aDeclaration, aIndex, aReturn); } \
NS_IMETHOD RemoveRule(PRUint32 aIndex) { return _to##RemoveRule(aIndex); } \
extern nsresult NS_InitCSSMediaRuleClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSMediaRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSMediaRule_h__

View File

@ -0,0 +1,64 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSPageRule_h__
#define nsIDOMCSSPageRule_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMCSSStyleRule.h"
class nsIDOMCSSStyleDeclaration;
#define NS_IDOMCSSPAGERULE_IID \
{ 0x6f765334, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSPageRule : public nsIDOMCSSStyleRule {
public:
NS_IMETHOD GetSelectorText(nsString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsString& aSelectorText)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle)=0;
};
#define NS_DECL_IDOMCSSPAGERULE \
NS_IMETHOD GetSelectorText(nsString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle); \
#define NS_FORWARD_IDOMCSSPAGERULE(_to) \
NS_IMETHOD GetSelectorText(nsString& aSelectorText) { return _to##GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText) { return _to##SetSelectorText(aSelectorText); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to##GetStyle(aStyle); } \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
extern nsresult NS_InitCSSPageRuleClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSPageRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSPageRule_h__

View File

@ -0,0 +1,922 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSStyleDeclaration_h__
#define nsIDOMCSSStyleDeclaration_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#define NS_IDOMCSSSTYLEDECLARATION_IID \
{ 0x6f765335, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSStyleDeclaration : public nsISupports {
public:
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD GetAzimuth(nsString& aAzimuth)=0;
NS_IMETHOD SetAzimuth(const nsString& aAzimuth)=0;
NS_IMETHOD GetBackground(nsString& aBackground)=0;
NS_IMETHOD SetBackground(const nsString& aBackground)=0;
NS_IMETHOD GetBackgroundAttachment(nsString& aBackgroundAttachment)=0;
NS_IMETHOD SetBackgroundAttachment(const nsString& aBackgroundAttachment)=0;
NS_IMETHOD GetBackgroundColor(nsString& aBackgroundColor)=0;
NS_IMETHOD SetBackgroundColor(const nsString& aBackgroundColor)=0;
NS_IMETHOD GetBackgroundImage(nsString& aBackgroundImage)=0;
NS_IMETHOD SetBackgroundImage(const nsString& aBackgroundImage)=0;
NS_IMETHOD GetBackgroundPosition(nsString& aBackgroundPosition)=0;
NS_IMETHOD SetBackgroundPosition(const nsString& aBackgroundPosition)=0;
NS_IMETHOD GetBackgroundRepeat(nsString& aBackgroundRepeat)=0;
NS_IMETHOD SetBackgroundRepeat(const nsString& aBackgroundRepeat)=0;
NS_IMETHOD GetBorder(nsString& aBorder)=0;
NS_IMETHOD SetBorder(const nsString& aBorder)=0;
NS_IMETHOD GetBorderCollapse(nsString& aBorderCollapse)=0;
NS_IMETHOD SetBorderCollapse(const nsString& aBorderCollapse)=0;
NS_IMETHOD GetBorderColor(nsString& aBorderColor)=0;
NS_IMETHOD SetBorderColor(const nsString& aBorderColor)=0;
NS_IMETHOD GetBorderSpacing(nsString& aBorderSpacing)=0;
NS_IMETHOD SetBorderSpacing(const nsString& aBorderSpacing)=0;
NS_IMETHOD GetBorderStyle(nsString& aBorderStyle)=0;
NS_IMETHOD SetBorderStyle(const nsString& aBorderStyle)=0;
NS_IMETHOD GetBorderTop(nsString& aBorderTop)=0;
NS_IMETHOD SetBorderTop(const nsString& aBorderTop)=0;
NS_IMETHOD GetBorderRight(nsString& aBorderRight)=0;
NS_IMETHOD SetBorderRight(const nsString& aBorderRight)=0;
NS_IMETHOD GetBorderBottom(nsString& aBorderBottom)=0;
NS_IMETHOD SetBorderBottom(const nsString& aBorderBottom)=0;
NS_IMETHOD GetBorderLeft(nsString& aBorderLeft)=0;
NS_IMETHOD SetBorderLeft(const nsString& aBorderLeft)=0;
NS_IMETHOD GetBorderTopColor(nsString& aBorderTopColor)=0;
NS_IMETHOD SetBorderTopColor(const nsString& aBorderTopColor)=0;
NS_IMETHOD GetBorderRightColor(nsString& aBorderRightColor)=0;
NS_IMETHOD SetBorderRightColor(const nsString& aBorderRightColor)=0;
NS_IMETHOD GetBorderBottomColor(nsString& aBorderBottomColor)=0;
NS_IMETHOD SetBorderBottomColor(const nsString& aBorderBottomColor)=0;
NS_IMETHOD GetBorderLeftColor(nsString& aBorderLeftColor)=0;
NS_IMETHOD SetBorderLeftColor(const nsString& aBorderLeftColor)=0;
NS_IMETHOD GetBorderTopStyle(nsString& aBorderTopStyle)=0;
NS_IMETHOD SetBorderTopStyle(const nsString& aBorderTopStyle)=0;
NS_IMETHOD GetBorderRightStyle(nsString& aBorderRightStyle)=0;
NS_IMETHOD SetBorderRightStyle(const nsString& aBorderRightStyle)=0;
NS_IMETHOD GetBorderBottomStyle(nsString& aBorderBottomStyle)=0;
NS_IMETHOD SetBorderBottomStyle(const nsString& aBorderBottomStyle)=0;
NS_IMETHOD GetBorderLeftStyle(nsString& aBorderLeftStyle)=0;
NS_IMETHOD SetBorderLeftStyle(const nsString& aBorderLeftStyle)=0;
NS_IMETHOD GetBorderTopWidth(nsString& aBorderTopWidth)=0;
NS_IMETHOD SetBorderTopWidth(const nsString& aBorderTopWidth)=0;
NS_IMETHOD GetBorderRightWidth(nsString& aBorderRightWidth)=0;
NS_IMETHOD SetBorderRightWidth(const nsString& aBorderRightWidth)=0;
NS_IMETHOD GetBorderBottomWidth(nsString& aBorderBottomWidth)=0;
NS_IMETHOD SetBorderBottomWidth(const nsString& aBorderBottomWidth)=0;
NS_IMETHOD GetBorderLeftWidth(nsString& aBorderLeftWidth)=0;
NS_IMETHOD SetBorderLeftWidth(const nsString& aBorderLeftWidth)=0;
NS_IMETHOD GetBorderWidth(nsString& aBorderWidth)=0;
NS_IMETHOD SetBorderWidth(const nsString& aBorderWidth)=0;
NS_IMETHOD GetBottom(nsString& aBottom)=0;
NS_IMETHOD SetBottom(const nsString& aBottom)=0;
NS_IMETHOD GetCaptionSide(nsString& aCaptionSide)=0;
NS_IMETHOD SetCaptionSide(const nsString& aCaptionSide)=0;
NS_IMETHOD GetClear(nsString& aClear)=0;
NS_IMETHOD SetClear(const nsString& aClear)=0;
NS_IMETHOD GetClip(nsString& aClip)=0;
NS_IMETHOD SetClip(const nsString& aClip)=0;
NS_IMETHOD GetColor(nsString& aColor)=0;
NS_IMETHOD SetColor(const nsString& aColor)=0;
NS_IMETHOD GetContent(nsString& aContent)=0;
NS_IMETHOD SetContent(const nsString& aContent)=0;
NS_IMETHOD GetCounterIncrement(nsString& aCounterIncrement)=0;
NS_IMETHOD SetCounterIncrement(const nsString& aCounterIncrement)=0;
NS_IMETHOD GetCounterReset(nsString& aCounterReset)=0;
NS_IMETHOD SetCounterReset(const nsString& aCounterReset)=0;
NS_IMETHOD GetCue(nsString& aCue)=0;
NS_IMETHOD SetCue(const nsString& aCue)=0;
NS_IMETHOD GetCueAfter(nsString& aCueAfter)=0;
NS_IMETHOD SetCueAfter(const nsString& aCueAfter)=0;
NS_IMETHOD GetCueBefore(nsString& aCueBefore)=0;
NS_IMETHOD SetCueBefore(const nsString& aCueBefore)=0;
NS_IMETHOD GetCursor(nsString& aCursor)=0;
NS_IMETHOD SetCursor(const nsString& aCursor)=0;
NS_IMETHOD GetDirection(nsString& aDirection)=0;
NS_IMETHOD SetDirection(const nsString& aDirection)=0;
NS_IMETHOD GetDisplay(nsString& aDisplay)=0;
NS_IMETHOD SetDisplay(const nsString& aDisplay)=0;
NS_IMETHOD GetElevation(nsString& aElevation)=0;
NS_IMETHOD SetElevation(const nsString& aElevation)=0;
NS_IMETHOD GetEmptyCells(nsString& aEmptyCells)=0;
NS_IMETHOD SetEmptyCells(const nsString& aEmptyCells)=0;
NS_IMETHOD GetStyleFloat(nsString& aStyleFloat)=0;
NS_IMETHOD SetStyleFloat(const nsString& aStyleFloat)=0;
NS_IMETHOD GetFont(nsString& aFont)=0;
NS_IMETHOD SetFont(const nsString& aFont)=0;
NS_IMETHOD GetFontFamily(nsString& aFontFamily)=0;
NS_IMETHOD SetFontFamily(const nsString& aFontFamily)=0;
NS_IMETHOD GetFontSize(nsString& aFontSize)=0;
NS_IMETHOD SetFontSize(const nsString& aFontSize)=0;
NS_IMETHOD GetFontSizeAdjust(nsString& aFontSizeAdjust)=0;
NS_IMETHOD SetFontSizeAdjust(const nsString& aFontSizeAdjust)=0;
NS_IMETHOD GetFontStretch(nsString& aFontStretch)=0;
NS_IMETHOD SetFontStretch(const nsString& aFontStretch)=0;
NS_IMETHOD GetFontStyle(nsString& aFontStyle)=0;
NS_IMETHOD SetFontStyle(const nsString& aFontStyle)=0;
NS_IMETHOD GetFontVariant(nsString& aFontVariant)=0;
NS_IMETHOD SetFontVariant(const nsString& aFontVariant)=0;
NS_IMETHOD GetFontWeight(nsString& aFontWeight)=0;
NS_IMETHOD SetFontWeight(const nsString& aFontWeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetLeft(nsString& aLeft)=0;
NS_IMETHOD SetLeft(const nsString& aLeft)=0;
NS_IMETHOD GetLetterSpacing(nsString& aLetterSpacing)=0;
NS_IMETHOD SetLetterSpacing(const nsString& aLetterSpacing)=0;
NS_IMETHOD GetLineHeight(nsString& aLineHeight)=0;
NS_IMETHOD SetLineHeight(const nsString& aLineHeight)=0;
NS_IMETHOD GetListStyle(nsString& aListStyle)=0;
NS_IMETHOD SetListStyle(const nsString& aListStyle)=0;
NS_IMETHOD GetListStyleImage(nsString& aListStyleImage)=0;
NS_IMETHOD SetListStyleImage(const nsString& aListStyleImage)=0;
NS_IMETHOD GetListStylePosition(nsString& aListStylePosition)=0;
NS_IMETHOD SetListStylePosition(const nsString& aListStylePosition)=0;
NS_IMETHOD GetListStyleType(nsString& aListStyleType)=0;
NS_IMETHOD SetListStyleType(const nsString& aListStyleType)=0;
NS_IMETHOD GetMargin(nsString& aMargin)=0;
NS_IMETHOD SetMargin(const nsString& aMargin)=0;
NS_IMETHOD GetMarginTop(nsString& aMarginTop)=0;
NS_IMETHOD SetMarginTop(const nsString& aMarginTop)=0;
NS_IMETHOD GetMarginRight(nsString& aMarginRight)=0;
NS_IMETHOD SetMarginRight(const nsString& aMarginRight)=0;
NS_IMETHOD GetMarginBottom(nsString& aMarginBottom)=0;
NS_IMETHOD SetMarginBottom(const nsString& aMarginBottom)=0;
NS_IMETHOD GetMarginLeft(nsString& aMarginLeft)=0;
NS_IMETHOD SetMarginLeft(const nsString& aMarginLeft)=0;
NS_IMETHOD GetMarkerOffset(nsString& aMarkerOffset)=0;
NS_IMETHOD SetMarkerOffset(const nsString& aMarkerOffset)=0;
NS_IMETHOD GetMarks(nsString& aMarks)=0;
NS_IMETHOD SetMarks(const nsString& aMarks)=0;
NS_IMETHOD GetMaxHeight(nsString& aMaxHeight)=0;
NS_IMETHOD SetMaxHeight(const nsString& aMaxHeight)=0;
NS_IMETHOD GetMaxWidth(nsString& aMaxWidth)=0;
NS_IMETHOD SetMaxWidth(const nsString& aMaxWidth)=0;
NS_IMETHOD GetMinHeight(nsString& aMinHeight)=0;
NS_IMETHOD SetMinHeight(const nsString& aMinHeight)=0;
NS_IMETHOD GetMinWidth(nsString& aMinWidth)=0;
NS_IMETHOD SetMinWidth(const nsString& aMinWidth)=0;
NS_IMETHOD GetOrphans(nsString& aOrphans)=0;
NS_IMETHOD SetOrphans(const nsString& aOrphans)=0;
NS_IMETHOD GetOutline(nsString& aOutline)=0;
NS_IMETHOD SetOutline(const nsString& aOutline)=0;
NS_IMETHOD GetOutlineColor(nsString& aOutlineColor)=0;
NS_IMETHOD SetOutlineColor(const nsString& aOutlineColor)=0;
NS_IMETHOD GetOutlineStyle(nsString& aOutlineStyle)=0;
NS_IMETHOD SetOutlineStyle(const nsString& aOutlineStyle)=0;
NS_IMETHOD GetOutlineWidth(nsString& aOutlineWidth)=0;
NS_IMETHOD SetOutlineWidth(const nsString& aOutlineWidth)=0;
NS_IMETHOD GetOverflow(nsString& aOverflow)=0;
NS_IMETHOD SetOverflow(const nsString& aOverflow)=0;
NS_IMETHOD GetPadding(nsString& aPadding)=0;
NS_IMETHOD SetPadding(const nsString& aPadding)=0;
NS_IMETHOD GetPaddingTop(nsString& aPaddingTop)=0;
NS_IMETHOD SetPaddingTop(const nsString& aPaddingTop)=0;
NS_IMETHOD GetPaddingRight(nsString& aPaddingRight)=0;
NS_IMETHOD SetPaddingRight(const nsString& aPaddingRight)=0;
NS_IMETHOD GetPaddingBottom(nsString& aPaddingBottom)=0;
NS_IMETHOD SetPaddingBottom(const nsString& aPaddingBottom)=0;
NS_IMETHOD GetPaddingLeft(nsString& aPaddingLeft)=0;
NS_IMETHOD SetPaddingLeft(const nsString& aPaddingLeft)=0;
NS_IMETHOD GetPage(nsString& aPage)=0;
NS_IMETHOD SetPage(const nsString& aPage)=0;
NS_IMETHOD GetPageBreakAfter(nsString& aPageBreakAfter)=0;
NS_IMETHOD SetPageBreakAfter(const nsString& aPageBreakAfter)=0;
NS_IMETHOD GetPageBreakBefore(nsString& aPageBreakBefore)=0;
NS_IMETHOD SetPageBreakBefore(const nsString& aPageBreakBefore)=0;
NS_IMETHOD GetPageBreakInside(nsString& aPageBreakInside)=0;
NS_IMETHOD SetPageBreakInside(const nsString& aPageBreakInside)=0;
NS_IMETHOD GetPause(nsString& aPause)=0;
NS_IMETHOD SetPause(const nsString& aPause)=0;
NS_IMETHOD GetPauseAfter(nsString& aPauseAfter)=0;
NS_IMETHOD SetPauseAfter(const nsString& aPauseAfter)=0;
NS_IMETHOD GetPauseBefore(nsString& aPauseBefore)=0;
NS_IMETHOD SetPauseBefore(const nsString& aPauseBefore)=0;
NS_IMETHOD GetPitch(nsString& aPitch)=0;
NS_IMETHOD SetPitch(const nsString& aPitch)=0;
NS_IMETHOD GetPitchRange(nsString& aPitchRange)=0;
NS_IMETHOD SetPitchRange(const nsString& aPitchRange)=0;
NS_IMETHOD GetPlayDuring(nsString& aPlayDuring)=0;
NS_IMETHOD SetPlayDuring(const nsString& aPlayDuring)=0;
NS_IMETHOD GetPosition(nsString& aPosition)=0;
NS_IMETHOD SetPosition(const nsString& aPosition)=0;
NS_IMETHOD GetQuotes(nsString& aQuotes)=0;
NS_IMETHOD SetQuotes(const nsString& aQuotes)=0;
NS_IMETHOD GetRichness(nsString& aRichness)=0;
NS_IMETHOD SetRichness(const nsString& aRichness)=0;
NS_IMETHOD GetRight(nsString& aRight)=0;
NS_IMETHOD SetRight(const nsString& aRight)=0;
NS_IMETHOD GetSize(nsString& aSize)=0;
NS_IMETHOD SetSize(const nsString& aSize)=0;
NS_IMETHOD GetSpeak(nsString& aSpeak)=0;
NS_IMETHOD SetSpeak(const nsString& aSpeak)=0;
NS_IMETHOD GetSpeakHeader(nsString& aSpeakHeader)=0;
NS_IMETHOD SetSpeakHeader(const nsString& aSpeakHeader)=0;
NS_IMETHOD GetSpeakNumeral(nsString& aSpeakNumeral)=0;
NS_IMETHOD SetSpeakNumeral(const nsString& aSpeakNumeral)=0;
NS_IMETHOD GetSpeakPunctuation(nsString& aSpeakPunctuation)=0;
NS_IMETHOD SetSpeakPunctuation(const nsString& aSpeakPunctuation)=0;
NS_IMETHOD GetSpeechRate(nsString& aSpeechRate)=0;
NS_IMETHOD SetSpeechRate(const nsString& aSpeechRate)=0;
NS_IMETHOD GetStress(nsString& aStress)=0;
NS_IMETHOD SetStress(const nsString& aStress)=0;
NS_IMETHOD GetTableLayout(nsString& aTableLayout)=0;
NS_IMETHOD SetTableLayout(const nsString& aTableLayout)=0;
NS_IMETHOD GetTextAlign(nsString& aTextAlign)=0;
NS_IMETHOD SetTextAlign(const nsString& aTextAlign)=0;
NS_IMETHOD GetTextDecoration(nsString& aTextDecoration)=0;
NS_IMETHOD SetTextDecoration(const nsString& aTextDecoration)=0;
NS_IMETHOD GetTextIndent(nsString& aTextIndent)=0;
NS_IMETHOD SetTextIndent(const nsString& aTextIndent)=0;
NS_IMETHOD GetTextShadow(nsString& aTextShadow)=0;
NS_IMETHOD SetTextShadow(const nsString& aTextShadow)=0;
NS_IMETHOD GetTextTransform(nsString& aTextTransform)=0;
NS_IMETHOD SetTextTransform(const nsString& aTextTransform)=0;
NS_IMETHOD GetTop(nsString& aTop)=0;
NS_IMETHOD SetTop(const nsString& aTop)=0;
NS_IMETHOD GetUnicodeBidi(nsString& aUnicodeBidi)=0;
NS_IMETHOD SetUnicodeBidi(const nsString& aUnicodeBidi)=0;
NS_IMETHOD GetVerticalAlign(nsString& aVerticalAlign)=0;
NS_IMETHOD SetVerticalAlign(const nsString& aVerticalAlign)=0;
NS_IMETHOD GetVisibility(nsString& aVisibility)=0;
NS_IMETHOD SetVisibility(const nsString& aVisibility)=0;
NS_IMETHOD GetVoiceFamily(nsString& aVoiceFamily)=0;
NS_IMETHOD SetVoiceFamily(const nsString& aVoiceFamily)=0;
NS_IMETHOD GetVolume(nsString& aVolume)=0;
NS_IMETHOD SetVolume(const nsString& aVolume)=0;
NS_IMETHOD GetWhiteSpace(nsString& aWhiteSpace)=0;
NS_IMETHOD SetWhiteSpace(const nsString& aWhiteSpace)=0;
NS_IMETHOD GetWidows(nsString& aWidows)=0;
NS_IMETHOD SetWidows(const nsString& aWidows)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD GetWordSpacing(nsString& aWordSpacing)=0;
NS_IMETHOD SetWordSpacing(const nsString& aWordSpacing)=0;
NS_IMETHOD GetZIndex(nsString& aZIndex)=0;
NS_IMETHOD SetZIndex(const nsString& aZIndex)=0;
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn)=0;
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn)=0;
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn)=0;
};
#define NS_DECL_IDOMCSSSTYLEDECLARATION \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD GetAzimuth(nsString& aAzimuth); \
NS_IMETHOD SetAzimuth(const nsString& aAzimuth); \
NS_IMETHOD GetBackground(nsString& aBackground); \
NS_IMETHOD SetBackground(const nsString& aBackground); \
NS_IMETHOD GetBackgroundAttachment(nsString& aBackgroundAttachment); \
NS_IMETHOD SetBackgroundAttachment(const nsString& aBackgroundAttachment); \
NS_IMETHOD GetBackgroundColor(nsString& aBackgroundColor); \
NS_IMETHOD SetBackgroundColor(const nsString& aBackgroundColor); \
NS_IMETHOD GetBackgroundImage(nsString& aBackgroundImage); \
NS_IMETHOD SetBackgroundImage(const nsString& aBackgroundImage); \
NS_IMETHOD GetBackgroundPosition(nsString& aBackgroundPosition); \
NS_IMETHOD SetBackgroundPosition(const nsString& aBackgroundPosition); \
NS_IMETHOD GetBackgroundRepeat(nsString& aBackgroundRepeat); \
NS_IMETHOD SetBackgroundRepeat(const nsString& aBackgroundRepeat); \
NS_IMETHOD GetBorder(nsString& aBorder); \
NS_IMETHOD SetBorder(const nsString& aBorder); \
NS_IMETHOD GetBorderCollapse(nsString& aBorderCollapse); \
NS_IMETHOD SetBorderCollapse(const nsString& aBorderCollapse); \
NS_IMETHOD GetBorderColor(nsString& aBorderColor); \
NS_IMETHOD SetBorderColor(const nsString& aBorderColor); \
NS_IMETHOD GetBorderSpacing(nsString& aBorderSpacing); \
NS_IMETHOD SetBorderSpacing(const nsString& aBorderSpacing); \
NS_IMETHOD GetBorderStyle(nsString& aBorderStyle); \
NS_IMETHOD SetBorderStyle(const nsString& aBorderStyle); \
NS_IMETHOD GetBorderTop(nsString& aBorderTop); \
NS_IMETHOD SetBorderTop(const nsString& aBorderTop); \
NS_IMETHOD GetBorderRight(nsString& aBorderRight); \
NS_IMETHOD SetBorderRight(const nsString& aBorderRight); \
NS_IMETHOD GetBorderBottom(nsString& aBorderBottom); \
NS_IMETHOD SetBorderBottom(const nsString& aBorderBottom); \
NS_IMETHOD GetBorderLeft(nsString& aBorderLeft); \
NS_IMETHOD SetBorderLeft(const nsString& aBorderLeft); \
NS_IMETHOD GetBorderTopColor(nsString& aBorderTopColor); \
NS_IMETHOD SetBorderTopColor(const nsString& aBorderTopColor); \
NS_IMETHOD GetBorderRightColor(nsString& aBorderRightColor); \
NS_IMETHOD SetBorderRightColor(const nsString& aBorderRightColor); \
NS_IMETHOD GetBorderBottomColor(nsString& aBorderBottomColor); \
NS_IMETHOD SetBorderBottomColor(const nsString& aBorderBottomColor); \
NS_IMETHOD GetBorderLeftColor(nsString& aBorderLeftColor); \
NS_IMETHOD SetBorderLeftColor(const nsString& aBorderLeftColor); \
NS_IMETHOD GetBorderTopStyle(nsString& aBorderTopStyle); \
NS_IMETHOD SetBorderTopStyle(const nsString& aBorderTopStyle); \
NS_IMETHOD GetBorderRightStyle(nsString& aBorderRightStyle); \
NS_IMETHOD SetBorderRightStyle(const nsString& aBorderRightStyle); \
NS_IMETHOD GetBorderBottomStyle(nsString& aBorderBottomStyle); \
NS_IMETHOD SetBorderBottomStyle(const nsString& aBorderBottomStyle); \
NS_IMETHOD GetBorderLeftStyle(nsString& aBorderLeftStyle); \
NS_IMETHOD SetBorderLeftStyle(const nsString& aBorderLeftStyle); \
NS_IMETHOD GetBorderTopWidth(nsString& aBorderTopWidth); \
NS_IMETHOD SetBorderTopWidth(const nsString& aBorderTopWidth); \
NS_IMETHOD GetBorderRightWidth(nsString& aBorderRightWidth); \
NS_IMETHOD SetBorderRightWidth(const nsString& aBorderRightWidth); \
NS_IMETHOD GetBorderBottomWidth(nsString& aBorderBottomWidth); \
NS_IMETHOD SetBorderBottomWidth(const nsString& aBorderBottomWidth); \
NS_IMETHOD GetBorderLeftWidth(nsString& aBorderLeftWidth); \
NS_IMETHOD SetBorderLeftWidth(const nsString& aBorderLeftWidth); \
NS_IMETHOD GetBorderWidth(nsString& aBorderWidth); \
NS_IMETHOD SetBorderWidth(const nsString& aBorderWidth); \
NS_IMETHOD GetBottom(nsString& aBottom); \
NS_IMETHOD SetBottom(const nsString& aBottom); \
NS_IMETHOD GetCaptionSide(nsString& aCaptionSide); \
NS_IMETHOD SetCaptionSide(const nsString& aCaptionSide); \
NS_IMETHOD GetClear(nsString& aClear); \
NS_IMETHOD SetClear(const nsString& aClear); \
NS_IMETHOD GetClip(nsString& aClip); \
NS_IMETHOD SetClip(const nsString& aClip); \
NS_IMETHOD GetColor(nsString& aColor); \
NS_IMETHOD SetColor(const nsString& aColor); \
NS_IMETHOD GetContent(nsString& aContent); \
NS_IMETHOD SetContent(const nsString& aContent); \
NS_IMETHOD GetCounterIncrement(nsString& aCounterIncrement); \
NS_IMETHOD SetCounterIncrement(const nsString& aCounterIncrement); \
NS_IMETHOD GetCounterReset(nsString& aCounterReset); \
NS_IMETHOD SetCounterReset(const nsString& aCounterReset); \
NS_IMETHOD GetCue(nsString& aCue); \
NS_IMETHOD SetCue(const nsString& aCue); \
NS_IMETHOD GetCueAfter(nsString& aCueAfter); \
NS_IMETHOD SetCueAfter(const nsString& aCueAfter); \
NS_IMETHOD GetCueBefore(nsString& aCueBefore); \
NS_IMETHOD SetCueBefore(const nsString& aCueBefore); \
NS_IMETHOD GetCursor(nsString& aCursor); \
NS_IMETHOD SetCursor(const nsString& aCursor); \
NS_IMETHOD GetDirection(nsString& aDirection); \
NS_IMETHOD SetDirection(const nsString& aDirection); \
NS_IMETHOD GetDisplay(nsString& aDisplay); \
NS_IMETHOD SetDisplay(const nsString& aDisplay); \
NS_IMETHOD GetElevation(nsString& aElevation); \
NS_IMETHOD SetElevation(const nsString& aElevation); \
NS_IMETHOD GetEmptyCells(nsString& aEmptyCells); \
NS_IMETHOD SetEmptyCells(const nsString& aEmptyCells); \
NS_IMETHOD GetStyleFloat(nsString& aStyleFloat); \
NS_IMETHOD SetStyleFloat(const nsString& aStyleFloat); \
NS_IMETHOD GetFont(nsString& aFont); \
NS_IMETHOD SetFont(const nsString& aFont); \
NS_IMETHOD GetFontFamily(nsString& aFontFamily); \
NS_IMETHOD SetFontFamily(const nsString& aFontFamily); \
NS_IMETHOD GetFontSize(nsString& aFontSize); \
NS_IMETHOD SetFontSize(const nsString& aFontSize); \
NS_IMETHOD GetFontSizeAdjust(nsString& aFontSizeAdjust); \
NS_IMETHOD SetFontSizeAdjust(const nsString& aFontSizeAdjust); \
NS_IMETHOD GetFontStretch(nsString& aFontStretch); \
NS_IMETHOD SetFontStretch(const nsString& aFontStretch); \
NS_IMETHOD GetFontStyle(nsString& aFontStyle); \
NS_IMETHOD SetFontStyle(const nsString& aFontStyle); \
NS_IMETHOD GetFontVariant(nsString& aFontVariant); \
NS_IMETHOD SetFontVariant(const nsString& aFontVariant); \
NS_IMETHOD GetFontWeight(nsString& aFontWeight); \
NS_IMETHOD SetFontWeight(const nsString& aFontWeight); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetLeft(nsString& aLeft); \
NS_IMETHOD SetLeft(const nsString& aLeft); \
NS_IMETHOD GetLetterSpacing(nsString& aLetterSpacing); \
NS_IMETHOD SetLetterSpacing(const nsString& aLetterSpacing); \
NS_IMETHOD GetLineHeight(nsString& aLineHeight); \
NS_IMETHOD SetLineHeight(const nsString& aLineHeight); \
NS_IMETHOD GetListStyle(nsString& aListStyle); \
NS_IMETHOD SetListStyle(const nsString& aListStyle); \
NS_IMETHOD GetListStyleImage(nsString& aListStyleImage); \
NS_IMETHOD SetListStyleImage(const nsString& aListStyleImage); \
NS_IMETHOD GetListStylePosition(nsString& aListStylePosition); \
NS_IMETHOD SetListStylePosition(const nsString& aListStylePosition); \
NS_IMETHOD GetListStyleType(nsString& aListStyleType); \
NS_IMETHOD SetListStyleType(const nsString& aListStyleType); \
NS_IMETHOD GetMargin(nsString& aMargin); \
NS_IMETHOD SetMargin(const nsString& aMargin); \
NS_IMETHOD GetMarginTop(nsString& aMarginTop); \
NS_IMETHOD SetMarginTop(const nsString& aMarginTop); \
NS_IMETHOD GetMarginRight(nsString& aMarginRight); \
NS_IMETHOD SetMarginRight(const nsString& aMarginRight); \
NS_IMETHOD GetMarginBottom(nsString& aMarginBottom); \
NS_IMETHOD SetMarginBottom(const nsString& aMarginBottom); \
NS_IMETHOD GetMarginLeft(nsString& aMarginLeft); \
NS_IMETHOD SetMarginLeft(const nsString& aMarginLeft); \
NS_IMETHOD GetMarkerOffset(nsString& aMarkerOffset); \
NS_IMETHOD SetMarkerOffset(const nsString& aMarkerOffset); \
NS_IMETHOD GetMarks(nsString& aMarks); \
NS_IMETHOD SetMarks(const nsString& aMarks); \
NS_IMETHOD GetMaxHeight(nsString& aMaxHeight); \
NS_IMETHOD SetMaxHeight(const nsString& aMaxHeight); \
NS_IMETHOD GetMaxWidth(nsString& aMaxWidth); \
NS_IMETHOD SetMaxWidth(const nsString& aMaxWidth); \
NS_IMETHOD GetMinHeight(nsString& aMinHeight); \
NS_IMETHOD SetMinHeight(const nsString& aMinHeight); \
NS_IMETHOD GetMinWidth(nsString& aMinWidth); \
NS_IMETHOD SetMinWidth(const nsString& aMinWidth); \
NS_IMETHOD GetOrphans(nsString& aOrphans); \
NS_IMETHOD SetOrphans(const nsString& aOrphans); \
NS_IMETHOD GetOutline(nsString& aOutline); \
NS_IMETHOD SetOutline(const nsString& aOutline); \
NS_IMETHOD GetOutlineColor(nsString& aOutlineColor); \
NS_IMETHOD SetOutlineColor(const nsString& aOutlineColor); \
NS_IMETHOD GetOutlineStyle(nsString& aOutlineStyle); \
NS_IMETHOD SetOutlineStyle(const nsString& aOutlineStyle); \
NS_IMETHOD GetOutlineWidth(nsString& aOutlineWidth); \
NS_IMETHOD SetOutlineWidth(const nsString& aOutlineWidth); \
NS_IMETHOD GetOverflow(nsString& aOverflow); \
NS_IMETHOD SetOverflow(const nsString& aOverflow); \
NS_IMETHOD GetPadding(nsString& aPadding); \
NS_IMETHOD SetPadding(const nsString& aPadding); \
NS_IMETHOD GetPaddingTop(nsString& aPaddingTop); \
NS_IMETHOD SetPaddingTop(const nsString& aPaddingTop); \
NS_IMETHOD GetPaddingRight(nsString& aPaddingRight); \
NS_IMETHOD SetPaddingRight(const nsString& aPaddingRight); \
NS_IMETHOD GetPaddingBottom(nsString& aPaddingBottom); \
NS_IMETHOD SetPaddingBottom(const nsString& aPaddingBottom); \
NS_IMETHOD GetPaddingLeft(nsString& aPaddingLeft); \
NS_IMETHOD SetPaddingLeft(const nsString& aPaddingLeft); \
NS_IMETHOD GetPage(nsString& aPage); \
NS_IMETHOD SetPage(const nsString& aPage); \
NS_IMETHOD GetPageBreakAfter(nsString& aPageBreakAfter); \
NS_IMETHOD SetPageBreakAfter(const nsString& aPageBreakAfter); \
NS_IMETHOD GetPageBreakBefore(nsString& aPageBreakBefore); \
NS_IMETHOD SetPageBreakBefore(const nsString& aPageBreakBefore); \
NS_IMETHOD GetPageBreakInside(nsString& aPageBreakInside); \
NS_IMETHOD SetPageBreakInside(const nsString& aPageBreakInside); \
NS_IMETHOD GetPause(nsString& aPause); \
NS_IMETHOD SetPause(const nsString& aPause); \
NS_IMETHOD GetPauseAfter(nsString& aPauseAfter); \
NS_IMETHOD SetPauseAfter(const nsString& aPauseAfter); \
NS_IMETHOD GetPauseBefore(nsString& aPauseBefore); \
NS_IMETHOD SetPauseBefore(const nsString& aPauseBefore); \
NS_IMETHOD GetPitch(nsString& aPitch); \
NS_IMETHOD SetPitch(const nsString& aPitch); \
NS_IMETHOD GetPitchRange(nsString& aPitchRange); \
NS_IMETHOD SetPitchRange(const nsString& aPitchRange); \
NS_IMETHOD GetPlayDuring(nsString& aPlayDuring); \
NS_IMETHOD SetPlayDuring(const nsString& aPlayDuring); \
NS_IMETHOD GetPosition(nsString& aPosition); \
NS_IMETHOD SetPosition(const nsString& aPosition); \
NS_IMETHOD GetQuotes(nsString& aQuotes); \
NS_IMETHOD SetQuotes(const nsString& aQuotes); \
NS_IMETHOD GetRichness(nsString& aRichness); \
NS_IMETHOD SetRichness(const nsString& aRichness); \
NS_IMETHOD GetRight(nsString& aRight); \
NS_IMETHOD SetRight(const nsString& aRight); \
NS_IMETHOD GetSize(nsString& aSize); \
NS_IMETHOD SetSize(const nsString& aSize); \
NS_IMETHOD GetSpeak(nsString& aSpeak); \
NS_IMETHOD SetSpeak(const nsString& aSpeak); \
NS_IMETHOD GetSpeakHeader(nsString& aSpeakHeader); \
NS_IMETHOD SetSpeakHeader(const nsString& aSpeakHeader); \
NS_IMETHOD GetSpeakNumeral(nsString& aSpeakNumeral); \
NS_IMETHOD SetSpeakNumeral(const nsString& aSpeakNumeral); \
NS_IMETHOD GetSpeakPunctuation(nsString& aSpeakPunctuation); \
NS_IMETHOD SetSpeakPunctuation(const nsString& aSpeakPunctuation); \
NS_IMETHOD GetSpeechRate(nsString& aSpeechRate); \
NS_IMETHOD SetSpeechRate(const nsString& aSpeechRate); \
NS_IMETHOD GetStress(nsString& aStress); \
NS_IMETHOD SetStress(const nsString& aStress); \
NS_IMETHOD GetTableLayout(nsString& aTableLayout); \
NS_IMETHOD SetTableLayout(const nsString& aTableLayout); \
NS_IMETHOD GetTextAlign(nsString& aTextAlign); \
NS_IMETHOD SetTextAlign(const nsString& aTextAlign); \
NS_IMETHOD GetTextDecoration(nsString& aTextDecoration); \
NS_IMETHOD SetTextDecoration(const nsString& aTextDecoration); \
NS_IMETHOD GetTextIndent(nsString& aTextIndent); \
NS_IMETHOD SetTextIndent(const nsString& aTextIndent); \
NS_IMETHOD GetTextShadow(nsString& aTextShadow); \
NS_IMETHOD SetTextShadow(const nsString& aTextShadow); \
NS_IMETHOD GetTextTransform(nsString& aTextTransform); \
NS_IMETHOD SetTextTransform(const nsString& aTextTransform); \
NS_IMETHOD GetTop(nsString& aTop); \
NS_IMETHOD SetTop(const nsString& aTop); \
NS_IMETHOD GetUnicodeBidi(nsString& aUnicodeBidi); \
NS_IMETHOD SetUnicodeBidi(const nsString& aUnicodeBidi); \
NS_IMETHOD GetVerticalAlign(nsString& aVerticalAlign); \
NS_IMETHOD SetVerticalAlign(const nsString& aVerticalAlign); \
NS_IMETHOD GetVisibility(nsString& aVisibility); \
NS_IMETHOD SetVisibility(const nsString& aVisibility); \
NS_IMETHOD GetVoiceFamily(nsString& aVoiceFamily); \
NS_IMETHOD SetVoiceFamily(const nsString& aVoiceFamily); \
NS_IMETHOD GetVolume(nsString& aVolume); \
NS_IMETHOD SetVolume(const nsString& aVolume); \
NS_IMETHOD GetWhiteSpace(nsString& aWhiteSpace); \
NS_IMETHOD SetWhiteSpace(const nsString& aWhiteSpace); \
NS_IMETHOD GetWidows(nsString& aWidows); \
NS_IMETHOD SetWidows(const nsString& aWidows); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD GetWordSpacing(nsString& aWordSpacing); \
NS_IMETHOD SetWordSpacing(const nsString& aWordSpacing); \
NS_IMETHOD GetZIndex(nsString& aZIndex); \
NS_IMETHOD SetZIndex(const nsString& aZIndex); \
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn); \
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn); \
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority); \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn); \
#define NS_FORWARD_IDOMCSSSTYLEDECLARATION(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to##GetLength(aLength); } \
NS_IMETHOD GetAzimuth(nsString& aAzimuth) { return _to##GetAzimuth(aAzimuth); } \
NS_IMETHOD SetAzimuth(const nsString& aAzimuth) { return _to##SetAzimuth(aAzimuth); } \
NS_IMETHOD GetBackground(nsString& aBackground) { return _to##GetBackground(aBackground); } \
NS_IMETHOD SetBackground(const nsString& aBackground) { return _to##SetBackground(aBackground); } \
NS_IMETHOD GetBackgroundAttachment(nsString& aBackgroundAttachment) { return _to##GetBackgroundAttachment(aBackgroundAttachment); } \
NS_IMETHOD SetBackgroundAttachment(const nsString& aBackgroundAttachment) { return _to##SetBackgroundAttachment(aBackgroundAttachment); } \
NS_IMETHOD GetBackgroundColor(nsString& aBackgroundColor) { return _to##GetBackgroundColor(aBackgroundColor); } \
NS_IMETHOD SetBackgroundColor(const nsString& aBackgroundColor) { return _to##SetBackgroundColor(aBackgroundColor); } \
NS_IMETHOD GetBackgroundImage(nsString& aBackgroundImage) { return _to##GetBackgroundImage(aBackgroundImage); } \
NS_IMETHOD SetBackgroundImage(const nsString& aBackgroundImage) { return _to##SetBackgroundImage(aBackgroundImage); } \
NS_IMETHOD GetBackgroundPosition(nsString& aBackgroundPosition) { return _to##GetBackgroundPosition(aBackgroundPosition); } \
NS_IMETHOD SetBackgroundPosition(const nsString& aBackgroundPosition) { return _to##SetBackgroundPosition(aBackgroundPosition); } \
NS_IMETHOD GetBackgroundRepeat(nsString& aBackgroundRepeat) { return _to##GetBackgroundRepeat(aBackgroundRepeat); } \
NS_IMETHOD SetBackgroundRepeat(const nsString& aBackgroundRepeat) { return _to##SetBackgroundRepeat(aBackgroundRepeat); } \
NS_IMETHOD GetBorder(nsString& aBorder) { return _to##GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsString& aBorder) { return _to##SetBorder(aBorder); } \
NS_IMETHOD GetBorderCollapse(nsString& aBorderCollapse) { return _to##GetBorderCollapse(aBorderCollapse); } \
NS_IMETHOD SetBorderCollapse(const nsString& aBorderCollapse) { return _to##SetBorderCollapse(aBorderCollapse); } \
NS_IMETHOD GetBorderColor(nsString& aBorderColor) { return _to##GetBorderColor(aBorderColor); } \
NS_IMETHOD SetBorderColor(const nsString& aBorderColor) { return _to##SetBorderColor(aBorderColor); } \
NS_IMETHOD GetBorderSpacing(nsString& aBorderSpacing) { return _to##GetBorderSpacing(aBorderSpacing); } \
NS_IMETHOD SetBorderSpacing(const nsString& aBorderSpacing) { return _to##SetBorderSpacing(aBorderSpacing); } \
NS_IMETHOD GetBorderStyle(nsString& aBorderStyle) { return _to##GetBorderStyle(aBorderStyle); } \
NS_IMETHOD SetBorderStyle(const nsString& aBorderStyle) { return _to##SetBorderStyle(aBorderStyle); } \
NS_IMETHOD GetBorderTop(nsString& aBorderTop) { return _to##GetBorderTop(aBorderTop); } \
NS_IMETHOD SetBorderTop(const nsString& aBorderTop) { return _to##SetBorderTop(aBorderTop); } \
NS_IMETHOD GetBorderRight(nsString& aBorderRight) { return _to##GetBorderRight(aBorderRight); } \
NS_IMETHOD SetBorderRight(const nsString& aBorderRight) { return _to##SetBorderRight(aBorderRight); } \
NS_IMETHOD GetBorderBottom(nsString& aBorderBottom) { return _to##GetBorderBottom(aBorderBottom); } \
NS_IMETHOD SetBorderBottom(const nsString& aBorderBottom) { return _to##SetBorderBottom(aBorderBottom); } \
NS_IMETHOD GetBorderLeft(nsString& aBorderLeft) { return _to##GetBorderLeft(aBorderLeft); } \
NS_IMETHOD SetBorderLeft(const nsString& aBorderLeft) { return _to##SetBorderLeft(aBorderLeft); } \
NS_IMETHOD GetBorderTopColor(nsString& aBorderTopColor) { return _to##GetBorderTopColor(aBorderTopColor); } \
NS_IMETHOD SetBorderTopColor(const nsString& aBorderTopColor) { return _to##SetBorderTopColor(aBorderTopColor); } \
NS_IMETHOD GetBorderRightColor(nsString& aBorderRightColor) { return _to##GetBorderRightColor(aBorderRightColor); } \
NS_IMETHOD SetBorderRightColor(const nsString& aBorderRightColor) { return _to##SetBorderRightColor(aBorderRightColor); } \
NS_IMETHOD GetBorderBottomColor(nsString& aBorderBottomColor) { return _to##GetBorderBottomColor(aBorderBottomColor); } \
NS_IMETHOD SetBorderBottomColor(const nsString& aBorderBottomColor) { return _to##SetBorderBottomColor(aBorderBottomColor); } \
NS_IMETHOD GetBorderLeftColor(nsString& aBorderLeftColor) { return _to##GetBorderLeftColor(aBorderLeftColor); } \
NS_IMETHOD SetBorderLeftColor(const nsString& aBorderLeftColor) { return _to##SetBorderLeftColor(aBorderLeftColor); } \
NS_IMETHOD GetBorderTopStyle(nsString& aBorderTopStyle) { return _to##GetBorderTopStyle(aBorderTopStyle); } \
NS_IMETHOD SetBorderTopStyle(const nsString& aBorderTopStyle) { return _to##SetBorderTopStyle(aBorderTopStyle); } \
NS_IMETHOD GetBorderRightStyle(nsString& aBorderRightStyle) { return _to##GetBorderRightStyle(aBorderRightStyle); } \
NS_IMETHOD SetBorderRightStyle(const nsString& aBorderRightStyle) { return _to##SetBorderRightStyle(aBorderRightStyle); } \
NS_IMETHOD GetBorderBottomStyle(nsString& aBorderBottomStyle) { return _to##GetBorderBottomStyle(aBorderBottomStyle); } \
NS_IMETHOD SetBorderBottomStyle(const nsString& aBorderBottomStyle) { return _to##SetBorderBottomStyle(aBorderBottomStyle); } \
NS_IMETHOD GetBorderLeftStyle(nsString& aBorderLeftStyle) { return _to##GetBorderLeftStyle(aBorderLeftStyle); } \
NS_IMETHOD SetBorderLeftStyle(const nsString& aBorderLeftStyle) { return _to##SetBorderLeftStyle(aBorderLeftStyle); } \
NS_IMETHOD GetBorderTopWidth(nsString& aBorderTopWidth) { return _to##GetBorderTopWidth(aBorderTopWidth); } \
NS_IMETHOD SetBorderTopWidth(const nsString& aBorderTopWidth) { return _to##SetBorderTopWidth(aBorderTopWidth); } \
NS_IMETHOD GetBorderRightWidth(nsString& aBorderRightWidth) { return _to##GetBorderRightWidth(aBorderRightWidth); } \
NS_IMETHOD SetBorderRightWidth(const nsString& aBorderRightWidth) { return _to##SetBorderRightWidth(aBorderRightWidth); } \
NS_IMETHOD GetBorderBottomWidth(nsString& aBorderBottomWidth) { return _to##GetBorderBottomWidth(aBorderBottomWidth); } \
NS_IMETHOD SetBorderBottomWidth(const nsString& aBorderBottomWidth) { return _to##SetBorderBottomWidth(aBorderBottomWidth); } \
NS_IMETHOD GetBorderLeftWidth(nsString& aBorderLeftWidth) { return _to##GetBorderLeftWidth(aBorderLeftWidth); } \
NS_IMETHOD SetBorderLeftWidth(const nsString& aBorderLeftWidth) { return _to##SetBorderLeftWidth(aBorderLeftWidth); } \
NS_IMETHOD GetBorderWidth(nsString& aBorderWidth) { return _to##GetBorderWidth(aBorderWidth); } \
NS_IMETHOD SetBorderWidth(const nsString& aBorderWidth) { return _to##SetBorderWidth(aBorderWidth); } \
NS_IMETHOD GetBottom(nsString& aBottom) { return _to##GetBottom(aBottom); } \
NS_IMETHOD SetBottom(const nsString& aBottom) { return _to##SetBottom(aBottom); } \
NS_IMETHOD GetCaptionSide(nsString& aCaptionSide) { return _to##GetCaptionSide(aCaptionSide); } \
NS_IMETHOD SetCaptionSide(const nsString& aCaptionSide) { return _to##SetCaptionSide(aCaptionSide); } \
NS_IMETHOD GetClear(nsString& aClear) { return _to##GetClear(aClear); } \
NS_IMETHOD SetClear(const nsString& aClear) { return _to##SetClear(aClear); } \
NS_IMETHOD GetClip(nsString& aClip) { return _to##GetClip(aClip); } \
NS_IMETHOD SetClip(const nsString& aClip) { return _to##SetClip(aClip); } \
NS_IMETHOD GetColor(nsString& aColor) { return _to##GetColor(aColor); } \
NS_IMETHOD SetColor(const nsString& aColor) { return _to##SetColor(aColor); } \
NS_IMETHOD GetContent(nsString& aContent) { return _to##GetContent(aContent); } \
NS_IMETHOD SetContent(const nsString& aContent) { return _to##SetContent(aContent); } \
NS_IMETHOD GetCounterIncrement(nsString& aCounterIncrement) { return _to##GetCounterIncrement(aCounterIncrement); } \
NS_IMETHOD SetCounterIncrement(const nsString& aCounterIncrement) { return _to##SetCounterIncrement(aCounterIncrement); } \
NS_IMETHOD GetCounterReset(nsString& aCounterReset) { return _to##GetCounterReset(aCounterReset); } \
NS_IMETHOD SetCounterReset(const nsString& aCounterReset) { return _to##SetCounterReset(aCounterReset); } \
NS_IMETHOD GetCue(nsString& aCue) { return _to##GetCue(aCue); } \
NS_IMETHOD SetCue(const nsString& aCue) { return _to##SetCue(aCue); } \
NS_IMETHOD GetCueAfter(nsString& aCueAfter) { return _to##GetCueAfter(aCueAfter); } \
NS_IMETHOD SetCueAfter(const nsString& aCueAfter) { return _to##SetCueAfter(aCueAfter); } \
NS_IMETHOD GetCueBefore(nsString& aCueBefore) { return _to##GetCueBefore(aCueBefore); } \
NS_IMETHOD SetCueBefore(const nsString& aCueBefore) { return _to##SetCueBefore(aCueBefore); } \
NS_IMETHOD GetCursor(nsString& aCursor) { return _to##GetCursor(aCursor); } \
NS_IMETHOD SetCursor(const nsString& aCursor) { return _to##SetCursor(aCursor); } \
NS_IMETHOD GetDirection(nsString& aDirection) { return _to##GetDirection(aDirection); } \
NS_IMETHOD SetDirection(const nsString& aDirection) { return _to##SetDirection(aDirection); } \
NS_IMETHOD GetDisplay(nsString& aDisplay) { return _to##GetDisplay(aDisplay); } \
NS_IMETHOD SetDisplay(const nsString& aDisplay) { return _to##SetDisplay(aDisplay); } \
NS_IMETHOD GetElevation(nsString& aElevation) { return _to##GetElevation(aElevation); } \
NS_IMETHOD SetElevation(const nsString& aElevation) { return _to##SetElevation(aElevation); } \
NS_IMETHOD GetEmptyCells(nsString& aEmptyCells) { return _to##GetEmptyCells(aEmptyCells); } \
NS_IMETHOD SetEmptyCells(const nsString& aEmptyCells) { return _to##SetEmptyCells(aEmptyCells); } \
NS_IMETHOD GetStyleFloat(nsString& aStyleFloat) { return _to##GetStyleFloat(aStyleFloat); } \
NS_IMETHOD SetStyleFloat(const nsString& aStyleFloat) { return _to##SetStyleFloat(aStyleFloat); } \
NS_IMETHOD GetFont(nsString& aFont) { return _to##GetFont(aFont); } \
NS_IMETHOD SetFont(const nsString& aFont) { return _to##SetFont(aFont); } \
NS_IMETHOD GetFontFamily(nsString& aFontFamily) { return _to##GetFontFamily(aFontFamily); } \
NS_IMETHOD SetFontFamily(const nsString& aFontFamily) { return _to##SetFontFamily(aFontFamily); } \
NS_IMETHOD GetFontSize(nsString& aFontSize) { return _to##GetFontSize(aFontSize); } \
NS_IMETHOD SetFontSize(const nsString& aFontSize) { return _to##SetFontSize(aFontSize); } \
NS_IMETHOD GetFontSizeAdjust(nsString& aFontSizeAdjust) { return _to##GetFontSizeAdjust(aFontSizeAdjust); } \
NS_IMETHOD SetFontSizeAdjust(const nsString& aFontSizeAdjust) { return _to##SetFontSizeAdjust(aFontSizeAdjust); } \
NS_IMETHOD GetFontStretch(nsString& aFontStretch) { return _to##GetFontStretch(aFontStretch); } \
NS_IMETHOD SetFontStretch(const nsString& aFontStretch) { return _to##SetFontStretch(aFontStretch); } \
NS_IMETHOD GetFontStyle(nsString& aFontStyle) { return _to##GetFontStyle(aFontStyle); } \
NS_IMETHOD SetFontStyle(const nsString& aFontStyle) { return _to##SetFontStyle(aFontStyle); } \
NS_IMETHOD GetFontVariant(nsString& aFontVariant) { return _to##GetFontVariant(aFontVariant); } \
NS_IMETHOD SetFontVariant(const nsString& aFontVariant) { return _to##SetFontVariant(aFontVariant); } \
NS_IMETHOD GetFontWeight(nsString& aFontWeight) { return _to##GetFontWeight(aFontWeight); } \
NS_IMETHOD SetFontWeight(const nsString& aFontWeight) { return _to##SetFontWeight(aFontWeight); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to##GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to##SetHeight(aHeight); } \
NS_IMETHOD GetLeft(nsString& aLeft) { return _to##GetLeft(aLeft); } \
NS_IMETHOD SetLeft(const nsString& aLeft) { return _to##SetLeft(aLeft); } \
NS_IMETHOD GetLetterSpacing(nsString& aLetterSpacing) { return _to##GetLetterSpacing(aLetterSpacing); } \
NS_IMETHOD SetLetterSpacing(const nsString& aLetterSpacing) { return _to##SetLetterSpacing(aLetterSpacing); } \
NS_IMETHOD GetLineHeight(nsString& aLineHeight) { return _to##GetLineHeight(aLineHeight); } \
NS_IMETHOD SetLineHeight(const nsString& aLineHeight) { return _to##SetLineHeight(aLineHeight); } \
NS_IMETHOD GetListStyle(nsString& aListStyle) { return _to##GetListStyle(aListStyle); } \
NS_IMETHOD SetListStyle(const nsString& aListStyle) { return _to##SetListStyle(aListStyle); } \
NS_IMETHOD GetListStyleImage(nsString& aListStyleImage) { return _to##GetListStyleImage(aListStyleImage); } \
NS_IMETHOD SetListStyleImage(const nsString& aListStyleImage) { return _to##SetListStyleImage(aListStyleImage); } \
NS_IMETHOD GetListStylePosition(nsString& aListStylePosition) { return _to##GetListStylePosition(aListStylePosition); } \
NS_IMETHOD SetListStylePosition(const nsString& aListStylePosition) { return _to##SetListStylePosition(aListStylePosition); } \
NS_IMETHOD GetListStyleType(nsString& aListStyleType) { return _to##GetListStyleType(aListStyleType); } \
NS_IMETHOD SetListStyleType(const nsString& aListStyleType) { return _to##SetListStyleType(aListStyleType); } \
NS_IMETHOD GetMargin(nsString& aMargin) { return _to##GetMargin(aMargin); } \
NS_IMETHOD SetMargin(const nsString& aMargin) { return _to##SetMargin(aMargin); } \
NS_IMETHOD GetMarginTop(nsString& aMarginTop) { return _to##GetMarginTop(aMarginTop); } \
NS_IMETHOD SetMarginTop(const nsString& aMarginTop) { return _to##SetMarginTop(aMarginTop); } \
NS_IMETHOD GetMarginRight(nsString& aMarginRight) { return _to##GetMarginRight(aMarginRight); } \
NS_IMETHOD SetMarginRight(const nsString& aMarginRight) { return _to##SetMarginRight(aMarginRight); } \
NS_IMETHOD GetMarginBottom(nsString& aMarginBottom) { return _to##GetMarginBottom(aMarginBottom); } \
NS_IMETHOD SetMarginBottom(const nsString& aMarginBottom) { return _to##SetMarginBottom(aMarginBottom); } \
NS_IMETHOD GetMarginLeft(nsString& aMarginLeft) { return _to##GetMarginLeft(aMarginLeft); } \
NS_IMETHOD SetMarginLeft(const nsString& aMarginLeft) { return _to##SetMarginLeft(aMarginLeft); } \
NS_IMETHOD GetMarkerOffset(nsString& aMarkerOffset) { return _to##GetMarkerOffset(aMarkerOffset); } \
NS_IMETHOD SetMarkerOffset(const nsString& aMarkerOffset) { return _to##SetMarkerOffset(aMarkerOffset); } \
NS_IMETHOD GetMarks(nsString& aMarks) { return _to##GetMarks(aMarks); } \
NS_IMETHOD SetMarks(const nsString& aMarks) { return _to##SetMarks(aMarks); } \
NS_IMETHOD GetMaxHeight(nsString& aMaxHeight) { return _to##GetMaxHeight(aMaxHeight); } \
NS_IMETHOD SetMaxHeight(const nsString& aMaxHeight) { return _to##SetMaxHeight(aMaxHeight); } \
NS_IMETHOD GetMaxWidth(nsString& aMaxWidth) { return _to##GetMaxWidth(aMaxWidth); } \
NS_IMETHOD SetMaxWidth(const nsString& aMaxWidth) { return _to##SetMaxWidth(aMaxWidth); } \
NS_IMETHOD GetMinHeight(nsString& aMinHeight) { return _to##GetMinHeight(aMinHeight); } \
NS_IMETHOD SetMinHeight(const nsString& aMinHeight) { return _to##SetMinHeight(aMinHeight); } \
NS_IMETHOD GetMinWidth(nsString& aMinWidth) { return _to##GetMinWidth(aMinWidth); } \
NS_IMETHOD SetMinWidth(const nsString& aMinWidth) { return _to##SetMinWidth(aMinWidth); } \
NS_IMETHOD GetOrphans(nsString& aOrphans) { return _to##GetOrphans(aOrphans); } \
NS_IMETHOD SetOrphans(const nsString& aOrphans) { return _to##SetOrphans(aOrphans); } \
NS_IMETHOD GetOutline(nsString& aOutline) { return _to##GetOutline(aOutline); } \
NS_IMETHOD SetOutline(const nsString& aOutline) { return _to##SetOutline(aOutline); } \
NS_IMETHOD GetOutlineColor(nsString& aOutlineColor) { return _to##GetOutlineColor(aOutlineColor); } \
NS_IMETHOD SetOutlineColor(const nsString& aOutlineColor) { return _to##SetOutlineColor(aOutlineColor); } \
NS_IMETHOD GetOutlineStyle(nsString& aOutlineStyle) { return _to##GetOutlineStyle(aOutlineStyle); } \
NS_IMETHOD SetOutlineStyle(const nsString& aOutlineStyle) { return _to##SetOutlineStyle(aOutlineStyle); } \
NS_IMETHOD GetOutlineWidth(nsString& aOutlineWidth) { return _to##GetOutlineWidth(aOutlineWidth); } \
NS_IMETHOD SetOutlineWidth(const nsString& aOutlineWidth) { return _to##SetOutlineWidth(aOutlineWidth); } \
NS_IMETHOD GetOverflow(nsString& aOverflow) { return _to##GetOverflow(aOverflow); } \
NS_IMETHOD SetOverflow(const nsString& aOverflow) { return _to##SetOverflow(aOverflow); } \
NS_IMETHOD GetPadding(nsString& aPadding) { return _to##GetPadding(aPadding); } \
NS_IMETHOD SetPadding(const nsString& aPadding) { return _to##SetPadding(aPadding); } \
NS_IMETHOD GetPaddingTop(nsString& aPaddingTop) { return _to##GetPaddingTop(aPaddingTop); } \
NS_IMETHOD SetPaddingTop(const nsString& aPaddingTop) { return _to##SetPaddingTop(aPaddingTop); } \
NS_IMETHOD GetPaddingRight(nsString& aPaddingRight) { return _to##GetPaddingRight(aPaddingRight); } \
NS_IMETHOD SetPaddingRight(const nsString& aPaddingRight) { return _to##SetPaddingRight(aPaddingRight); } \
NS_IMETHOD GetPaddingBottom(nsString& aPaddingBottom) { return _to##GetPaddingBottom(aPaddingBottom); } \
NS_IMETHOD SetPaddingBottom(const nsString& aPaddingBottom) { return _to##SetPaddingBottom(aPaddingBottom); } \
NS_IMETHOD GetPaddingLeft(nsString& aPaddingLeft) { return _to##GetPaddingLeft(aPaddingLeft); } \
NS_IMETHOD SetPaddingLeft(const nsString& aPaddingLeft) { return _to##SetPaddingLeft(aPaddingLeft); } \
NS_IMETHOD GetPage(nsString& aPage) { return _to##GetPage(aPage); } \
NS_IMETHOD SetPage(const nsString& aPage) { return _to##SetPage(aPage); } \
NS_IMETHOD GetPageBreakAfter(nsString& aPageBreakAfter) { return _to##GetPageBreakAfter(aPageBreakAfter); } \
NS_IMETHOD SetPageBreakAfter(const nsString& aPageBreakAfter) { return _to##SetPageBreakAfter(aPageBreakAfter); } \
NS_IMETHOD GetPageBreakBefore(nsString& aPageBreakBefore) { return _to##GetPageBreakBefore(aPageBreakBefore); } \
NS_IMETHOD SetPageBreakBefore(const nsString& aPageBreakBefore) { return _to##SetPageBreakBefore(aPageBreakBefore); } \
NS_IMETHOD GetPageBreakInside(nsString& aPageBreakInside) { return _to##GetPageBreakInside(aPageBreakInside); } \
NS_IMETHOD SetPageBreakInside(const nsString& aPageBreakInside) { return _to##SetPageBreakInside(aPageBreakInside); } \
NS_IMETHOD GetPause(nsString& aPause) { return _to##GetPause(aPause); } \
NS_IMETHOD SetPause(const nsString& aPause) { return _to##SetPause(aPause); } \
NS_IMETHOD GetPauseAfter(nsString& aPauseAfter) { return _to##GetPauseAfter(aPauseAfter); } \
NS_IMETHOD SetPauseAfter(const nsString& aPauseAfter) { return _to##SetPauseAfter(aPauseAfter); } \
NS_IMETHOD GetPauseBefore(nsString& aPauseBefore) { return _to##GetPauseBefore(aPauseBefore); } \
NS_IMETHOD SetPauseBefore(const nsString& aPauseBefore) { return _to##SetPauseBefore(aPauseBefore); } \
NS_IMETHOD GetPitch(nsString& aPitch) { return _to##GetPitch(aPitch); } \
NS_IMETHOD SetPitch(const nsString& aPitch) { return _to##SetPitch(aPitch); } \
NS_IMETHOD GetPitchRange(nsString& aPitchRange) { return _to##GetPitchRange(aPitchRange); } \
NS_IMETHOD SetPitchRange(const nsString& aPitchRange) { return _to##SetPitchRange(aPitchRange); } \
NS_IMETHOD GetPlayDuring(nsString& aPlayDuring) { return _to##GetPlayDuring(aPlayDuring); } \
NS_IMETHOD SetPlayDuring(const nsString& aPlayDuring) { return _to##SetPlayDuring(aPlayDuring); } \
NS_IMETHOD GetPosition(nsString& aPosition) { return _to##GetPosition(aPosition); } \
NS_IMETHOD SetPosition(const nsString& aPosition) { return _to##SetPosition(aPosition); } \
NS_IMETHOD GetQuotes(nsString& aQuotes) { return _to##GetQuotes(aQuotes); } \
NS_IMETHOD SetQuotes(const nsString& aQuotes) { return _to##SetQuotes(aQuotes); } \
NS_IMETHOD GetRichness(nsString& aRichness) { return _to##GetRichness(aRichness); } \
NS_IMETHOD SetRichness(const nsString& aRichness) { return _to##SetRichness(aRichness); } \
NS_IMETHOD GetRight(nsString& aRight) { return _to##GetRight(aRight); } \
NS_IMETHOD SetRight(const nsString& aRight) { return _to##SetRight(aRight); } \
NS_IMETHOD GetSize(nsString& aSize) { return _to##GetSize(aSize); } \
NS_IMETHOD SetSize(const nsString& aSize) { return _to##SetSize(aSize); } \
NS_IMETHOD GetSpeak(nsString& aSpeak) { return _to##GetSpeak(aSpeak); } \
NS_IMETHOD SetSpeak(const nsString& aSpeak) { return _to##SetSpeak(aSpeak); } \
NS_IMETHOD GetSpeakHeader(nsString& aSpeakHeader) { return _to##GetSpeakHeader(aSpeakHeader); } \
NS_IMETHOD SetSpeakHeader(const nsString& aSpeakHeader) { return _to##SetSpeakHeader(aSpeakHeader); } \
NS_IMETHOD GetSpeakNumeral(nsString& aSpeakNumeral) { return _to##GetSpeakNumeral(aSpeakNumeral); } \
NS_IMETHOD SetSpeakNumeral(const nsString& aSpeakNumeral) { return _to##SetSpeakNumeral(aSpeakNumeral); } \
NS_IMETHOD GetSpeakPunctuation(nsString& aSpeakPunctuation) { return _to##GetSpeakPunctuation(aSpeakPunctuation); } \
NS_IMETHOD SetSpeakPunctuation(const nsString& aSpeakPunctuation) { return _to##SetSpeakPunctuation(aSpeakPunctuation); } \
NS_IMETHOD GetSpeechRate(nsString& aSpeechRate) { return _to##GetSpeechRate(aSpeechRate); } \
NS_IMETHOD SetSpeechRate(const nsString& aSpeechRate) { return _to##SetSpeechRate(aSpeechRate); } \
NS_IMETHOD GetStress(nsString& aStress) { return _to##GetStress(aStress); } \
NS_IMETHOD SetStress(const nsString& aStress) { return _to##SetStress(aStress); } \
NS_IMETHOD GetTableLayout(nsString& aTableLayout) { return _to##GetTableLayout(aTableLayout); } \
NS_IMETHOD SetTableLayout(const nsString& aTableLayout) { return _to##SetTableLayout(aTableLayout); } \
NS_IMETHOD GetTextAlign(nsString& aTextAlign) { return _to##GetTextAlign(aTextAlign); } \
NS_IMETHOD SetTextAlign(const nsString& aTextAlign) { return _to##SetTextAlign(aTextAlign); } \
NS_IMETHOD GetTextDecoration(nsString& aTextDecoration) { return _to##GetTextDecoration(aTextDecoration); } \
NS_IMETHOD SetTextDecoration(const nsString& aTextDecoration) { return _to##SetTextDecoration(aTextDecoration); } \
NS_IMETHOD GetTextIndent(nsString& aTextIndent) { return _to##GetTextIndent(aTextIndent); } \
NS_IMETHOD SetTextIndent(const nsString& aTextIndent) { return _to##SetTextIndent(aTextIndent); } \
NS_IMETHOD GetTextShadow(nsString& aTextShadow) { return _to##GetTextShadow(aTextShadow); } \
NS_IMETHOD SetTextShadow(const nsString& aTextShadow) { return _to##SetTextShadow(aTextShadow); } \
NS_IMETHOD GetTextTransform(nsString& aTextTransform) { return _to##GetTextTransform(aTextTransform); } \
NS_IMETHOD SetTextTransform(const nsString& aTextTransform) { return _to##SetTextTransform(aTextTransform); } \
NS_IMETHOD GetTop(nsString& aTop) { return _to##GetTop(aTop); } \
NS_IMETHOD SetTop(const nsString& aTop) { return _to##SetTop(aTop); } \
NS_IMETHOD GetUnicodeBidi(nsString& aUnicodeBidi) { return _to##GetUnicodeBidi(aUnicodeBidi); } \
NS_IMETHOD SetUnicodeBidi(const nsString& aUnicodeBidi) { return _to##SetUnicodeBidi(aUnicodeBidi); } \
NS_IMETHOD GetVerticalAlign(nsString& aVerticalAlign) { return _to##GetVerticalAlign(aVerticalAlign); } \
NS_IMETHOD SetVerticalAlign(const nsString& aVerticalAlign) { return _to##SetVerticalAlign(aVerticalAlign); } \
NS_IMETHOD GetVisibility(nsString& aVisibility) { return _to##GetVisibility(aVisibility); } \
NS_IMETHOD SetVisibility(const nsString& aVisibility) { return _to##SetVisibility(aVisibility); } \
NS_IMETHOD GetVoiceFamily(nsString& aVoiceFamily) { return _to##GetVoiceFamily(aVoiceFamily); } \
NS_IMETHOD SetVoiceFamily(const nsString& aVoiceFamily) { return _to##SetVoiceFamily(aVoiceFamily); } \
NS_IMETHOD GetVolume(nsString& aVolume) { return _to##GetVolume(aVolume); } \
NS_IMETHOD SetVolume(const nsString& aVolume) { return _to##SetVolume(aVolume); } \
NS_IMETHOD GetWhiteSpace(nsString& aWhiteSpace) { return _to##GetWhiteSpace(aWhiteSpace); } \
NS_IMETHOD SetWhiteSpace(const nsString& aWhiteSpace) { return _to##SetWhiteSpace(aWhiteSpace); } \
NS_IMETHOD GetWidows(nsString& aWidows) { return _to##GetWidows(aWidows); } \
NS_IMETHOD SetWidows(const nsString& aWidows) { return _to##SetWidows(aWidows); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to##GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
NS_IMETHOD GetWordSpacing(nsString& aWordSpacing) { return _to##GetWordSpacing(aWordSpacing); } \
NS_IMETHOD SetWordSpacing(const nsString& aWordSpacing) { return _to##SetWordSpacing(aWordSpacing); } \
NS_IMETHOD GetZIndex(nsString& aZIndex) { return _to##GetZIndex(aZIndex); } \
NS_IMETHOD SetZIndex(const nsString& aZIndex) { return _to##SetZIndex(aZIndex); } \
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn) { return _to##GetPropertyValue(aPropertyName, aReturn); } \
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn) { return _to##GetPropertyPriority(aPropertyName, aReturn); } \
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority) { return _to##SetProperty(aPropertyName, aValue, aPriority); } \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn) { return _to##Item(aIndex, aReturn); } \
extern nsresult NS_InitCSSStyleDeclarationClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleDeclaration(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSStyleDeclaration_h__

View File

@ -0,0 +1,52 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSStyleRule_h__
#define nsIDOMCSSStyleRule_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#define NS_IDOMCSSSTYLERULE_IID \
{ 0x6f765336, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSStyleRule : public nsISupports {
public:
NS_IMETHOD GetType(nsString& aType)=0;
};
#define NS_DECL_IDOMCSSSTYLERULE \
NS_IMETHOD GetType(nsString& aType); \
#define NS_FORWARD_IDOMCSSSTYLERULE(_to) \
NS_IMETHOD GetType(nsString& aType) { return _to##GetType(aType); } \
extern nsresult NS_InitCSSStyleRuleClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSStyleRule_h__

View File

@ -0,0 +1,57 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSStyleRuleCollection_h__
#define nsIDOMCSSStyleRuleCollection_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
class nsIDOMCSSStyleRule;
#define NS_IDOMCSSSTYLERULECOLLECTION_IID \
{ 0x6f765337, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSStyleRuleCollection : public nsISupports {
public:
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMCSSStyleRule** aReturn)=0;
};
#define NS_DECL_IDOMCSSSTYLERULECOLLECTION \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMCSSStyleRule** aReturn); \
#define NS_FORWARD_IDOMCSSSTYLERULECOLLECTION(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to##GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMCSSStyleRule** aReturn) { return _to##Item(aIndex, aReturn); } \
extern nsresult NS_InitCSSStyleRuleCollectionClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleRuleCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSStyleRuleCollection_h__

View File

@ -0,0 +1,64 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSStyleRuleSimple_h__
#define nsIDOMCSSStyleRuleSimple_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMCSSStyleRule.h"
class nsIDOMCSSStyleDeclaration;
#define NS_IDOMCSSSTYLERULESIMPLE_IID \
{ 0x6f765338, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSStyleRuleSimple : public nsIDOMCSSStyleRule {
public:
NS_IMETHOD GetSelectorText(nsString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsString& aSelectorText)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle)=0;
};
#define NS_DECL_IDOMCSSSTYLERULESIMPLE \
NS_IMETHOD GetSelectorText(nsString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle); \
#define NS_FORWARD_IDOMCSSSTYLERULESIMPLE(_to) \
NS_IMETHOD GetSelectorText(nsString& aSelectorText) { return _to##GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText) { return _to##SetSelectorText(aSelectorText); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to##GetStyle(aStyle); } \
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
extern nsresult NS_InitCSSStyleRuleSimpleClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleRuleSimple(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSStyleRuleSimple_h__

View File

@ -0,0 +1,93 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMCSSStyleSheet_h__
#define nsIDOMCSSStyleSheet_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMStyleSheet.h"
class nsIDOMHTMLElement;
class nsIDOMStyleSheetCollection;
class nsIDOMCSSStyleRuleCollection;
class nsIDOMCSSStyleSheet;
#define NS_IDOMCSSSTYLESHEET_IID \
{ 0x6f765339, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMCSSStyleSheet : public nsIDOMStyleSheet {
public:
NS_IMETHOD GetOwningElement(nsIDOMHTMLElement** aOwningElement)=0;
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD GetTitle(nsString& aTitle)=0;
NS_IMETHOD GetImports(nsIDOMStyleSheetCollection** aImports)=0;
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules)=0;
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD AddImport(const nsString& aUrl, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD RemoveRule(PRUint32 aIndex)=0;
NS_IMETHOD RemoveImport(PRUint32 aIndex)=0;
};
#define NS_DECL_IDOMCSSSTYLESHEET \
NS_IMETHOD GetOwningElement(nsIDOMHTMLElement** aOwningElement); \
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD GetTitle(nsString& aTitle); \
NS_IMETHOD GetImports(nsIDOMStyleSheetCollection** aImports); \
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules); \
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD AddImport(const nsString& aUrl, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD RemoveRule(PRUint32 aIndex); \
NS_IMETHOD RemoveImport(PRUint32 aIndex); \
#define NS_FORWARD_IDOMCSSSTYLESHEET(_to) \
NS_IMETHOD GetOwningElement(nsIDOMHTMLElement** aOwningElement) { return _to##GetOwningElement(aOwningElement); } \
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet) { return _to##GetParentStyleSheet(aParentStyleSheet); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to##GetHref(aHref); } \
NS_IMETHOD GetTitle(nsString& aTitle) { return _to##GetTitle(aTitle); } \
NS_IMETHOD GetImports(nsIDOMStyleSheetCollection** aImports) { return _to##GetImports(aImports); } \
NS_IMETHOD GetRules(nsIDOMCSSStyleRuleCollection** aRules) { return _to##GetRules(aRules); } \
NS_IMETHOD AddRule(const nsString& aSelector, const nsString& aDeclaration, PRUint32 aIndex, PRUint32* aReturn) { return _to##AddRule(aSelector, aDeclaration, aIndex, aReturn); } \
NS_IMETHOD AddImport(const nsString& aUrl, PRUint32 aIndex, PRUint32* aReturn) { return _to##AddImport(aUrl, aIndex, aReturn); } \
NS_IMETHOD RemoveRule(PRUint32 aIndex) { return _to##RemoveRule(aIndex); } \
NS_IMETHOD RemoveImport(PRUint32 aIndex) { return _to##RemoveImport(aIndex); } \
extern nsresult NS_InitCSSStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleSheet(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMCSSStyleSheet_h__

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLANCHORELEMENT_IID \
{ 0x6f7652ef, 0xee43, 0x11d1, \
{ 0x6f7652f1, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLAnchorElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLAPPLETELEMENT_IID \
{ 0x6f7652f0, 0xee43, 0x11d1, \
{ 0x6f7652f2, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLAppletElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLAREAELEMENT_IID \
{ 0x6f7652f1, 0xee43, 0x11d1, \
{ 0x6f7652f3, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLBRELEMENT_IID \
{ 0x6f7652f5, 0xee43, 0x11d1, \
{ 0x6f7652f7, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLBRElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLBASEELEMENT_IID \
{ 0x6f7652f2, 0xee43, 0x11d1, \
{ 0x6f7652f4, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLBaseElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLBASEFONTELEMENT_IID \
{ 0x6f7652f3, 0xee43, 0x11d1, \
{ 0x6f7652f5, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLBaseFontElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLBODYELEMENT_IID \
{ 0x6f7652f4, 0xee43, 0x11d1, \
{ 0x6f7652f6, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLBUTTONELEMENT_IID \
{ 0x6f7652f6, 0xee43, 0x11d1, \
{ 0x6f7652f8, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLButtonElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
class nsIDOMNode;
#define NS_IDOMHTMLCOLLECTION_IID \
{ 0x6f7652f7, 0xee43, 0x11d1, \
{ 0x6f7652f9, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLCollection : public nsISupports {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLDLISTELEMENT_IID \
{ 0x6f7652fb, 0xee43, 0x11d1, \
{ 0x6f7652fd, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLDListElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLDELELEMENT_IID \
{ 0x6f7652f8, 0xee43, 0x11d1, \
{ 0x6f7652fa, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLDelElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLDIRECTORYELEMENT_IID \
{ 0x6f7652f9, 0xee43, 0x11d1, \
{ 0x6f7652fb, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLDirectoryElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLDIVELEMENT_IID \
{ 0x6f7652fa, 0xee43, 0x11d1, \
{ 0x6f7652fc, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLDivElement : public nsIDOMHTMLElement {

View File

@ -32,7 +32,7 @@ class nsIDOMHTMLCollection;
class nsIDOMNodeList;
#define NS_IDOMHTMLDOCUMENT_IID \
{ 0x6f7652fc, 0xee43, 0x11d1, \
{ 0x6f7652fe, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLDocument : public nsIDOMDocument {

View File

@ -25,9 +25,10 @@
#include "nsIScriptContext.h"
#include "nsIDOMElement.h"
class nsIDOMCSSStyleDeclaration;
#define NS_IDOMHTMLELEMENT_IID \
{ 0x6f7652fd, 0xee43, 0x11d1, \
{ 0x6f7652ff, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLElement : public nsIDOMElement {
@ -47,6 +48,8 @@ public:
NS_IMETHOD GetClassName(nsString& aClassName)=0;
NS_IMETHOD SetClassName(const nsString& aClassName)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
};
@ -61,6 +64,7 @@ public:
NS_IMETHOD SetDir(const nsString& aDir); \
NS_IMETHOD GetClassName(nsString& aClassName); \
NS_IMETHOD SetClassName(const nsString& aClassName); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
@ -75,6 +79,7 @@ public:
NS_IMETHOD SetDir(const nsString& aDir) { return _to##SetDir(aDir); } \
NS_IMETHOD GetClassName(nsString& aClassName) { return _to##GetClassName(aClassName); } \
NS_IMETHOD SetClassName(const nsString& aClassName) { return _to##SetClassName(aClassName); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to##GetStyle(aStyle); } \
extern nsresult NS_InitHTMLElementClass(nsIScriptContext *aContext, void **aPrototype);

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLFONTELEMENT_IID \
{ 0x6f7652fe, 0xee43, 0x11d1, \
{ 0x6f765300, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLFontElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLFORMELEMENT_IID \
{ 0x6f7652ff, 0xee43, 0x11d1, \
{ 0x6f765301, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLFormElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLFRAMEELEMENT_IID \
{ 0x6f765300, 0xee43, 0x11d1, \
{ 0x6f765302, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLFrameElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLFRAMESETELEMENT_IID \
{ 0x6f765301, 0xee43, 0x11d1, \
{ 0x6f765303, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLFrameSetElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLHRELEMENT_IID \
{ 0x6f765304, 0xee43, 0x11d1, \
{ 0x6f765306, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLHRElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLHEADELEMENT_IID \
{ 0x6f765302, 0xee43, 0x11d1, \
{ 0x6f765304, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLHeadElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLHEADINGELEMENT_IID \
{ 0x6f765303, 0xee43, 0x11d1, \
{ 0x6f765305, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLHeadingElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLHTMLELEMENT_IID \
{ 0x6f765305, 0xee43, 0x11d1, \
{ 0x6f765307, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLHtmlElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLIFRAMEELEMENT_IID \
{ 0x6f765306, 0xee43, 0x11d1, \
{ 0x6f765308, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLIMAGEELEMENT_IID \
{ 0x6f765307, 0xee43, 0x11d1, \
{ 0x6f765309, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLImageElement : public nsIDOMHTMLElement {
@ -134,7 +134,7 @@ public:
#define NS_IDOMHTMLIMAGEELEMENTFACTORY_IID \
{ 0x6f765308, 0xee43, 0x11d1, \
{ 0x6f76530a, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLImageElementFactory : public nsISupports {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLINPUTELEMENT_IID \
{ 0x6f765309, 0xee43, 0x11d1, \
{ 0x6f76530b, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLInputElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLINSELEMENT_IID \
{ 0x6f76530a, 0xee43, 0x11d1, \
{ 0x6f76530c, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLInsElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLISINDEXELEMENT_IID \
{ 0x6f76530b, 0xee43, 0x11d1, \
{ 0x6f76530d, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLIsIndexElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLLIELEMENT_IID \
{ 0x6f76530e, 0xee43, 0x11d1, \
{ 0x6f765310, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLLIElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLLABELELEMENT_IID \
{ 0x6f76530c, 0xee43, 0x11d1, \
{ 0x6f76530e, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLLabelElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLLEGENDELEMENT_IID \
{ 0x6f76530d, 0xee43, 0x11d1, \
{ 0x6f76530f, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLLegendElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLLINKELEMENT_IID \
{ 0x6f76530f, 0xee43, 0x11d1, \
{ 0x6f765311, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLLinkElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLMAPELEMENT_IID \
{ 0x6f765310, 0xee43, 0x11d1, \
{ 0x6f765312, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLMapElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLMENUELEMENT_IID \
{ 0x6f765311, 0xee43, 0x11d1, \
{ 0x6f765313, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLMenuElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLMETAELEMENT_IID \
{ 0x6f765312, 0xee43, 0x11d1, \
{ 0x6f765314, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLMetaElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLMODELEMENT_IID \
{ 0x6f765313, 0xee43, 0x11d1, \
{ 0x6f765315, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLModElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLOLISTELEMENT_IID \
{ 0x6f765315, 0xee43, 0x11d1, \
{ 0x6f765317, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLOListElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLOBJECTELEMENT_IID \
{ 0x6f765314, 0xee43, 0x11d1, \
{ 0x6f765316, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLObjectElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLOPTGROUPELEMENT_IID \
{ 0x6f765316, 0xee43, 0x11d1, \
{ 0x6f765318, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLOptGroupElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLOPTIONELEMENT_IID \
{ 0x6f765317, 0xee43, 0x11d1, \
{ 0x6f765319, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLOptionElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLPARAGRAPHELEMENT_IID \
{ 0x6f765318, 0xee43, 0x11d1, \
{ 0x6f76531a, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLParagraphElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLPARAMELEMENT_IID \
{ 0x6f765319, 0xee43, 0x11d1, \
{ 0x6f76531b, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLParamElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLPREELEMENT_IID \
{ 0x6f76531a, 0xee43, 0x11d1, \
{ 0x6f76531c, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLPreElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLQUOTEELEMENT_IID \
{ 0x6f76531b, 0xee43, 0x11d1, \
{ 0x6f76531d, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLQuoteElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLSCRIPTELEMENT_IID \
{ 0x6f76531c, 0xee43, 0x11d1, \
{ 0x6f76531e, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLScriptElement : public nsIDOMHTMLElement {

View File

@ -30,7 +30,7 @@ class nsIDOMHTMLFormElement;
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLSELECTELEMENT_IID \
{ 0x6f76531d, 0xee43, 0x11d1, \
{ 0x6f76531f, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLSelectElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLSTYLEELEMENT_IID \
{ 0x6f76531e, 0xee43, 0x11d1, \
{ 0x6f765320, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLStyleElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTABLECAPTIONELEMENT_IID \
{ 0x6f76531f, 0xee43, 0x11d1, \
{ 0x6f765321, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableCaptionElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTABLECELLELEMENT_IID \
{ 0x6f765320, 0xee43, 0x11d1, \
{ 0x6f765322, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableCellElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTABLECOLELEMENT_IID \
{ 0x6f765321, 0xee43, 0x11d1, \
{ 0x6f765323, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {

View File

@ -31,7 +31,7 @@ class nsIDOMHTMLTableSectionElement;
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLTABLEELEMENT_IID \
{ 0x6f765322, 0xee43, 0x11d1, \
{ 0x6f765324, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableElement : public nsIDOMHTMLElement {

View File

@ -29,7 +29,7 @@ class nsIDOMHTMLElement;
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLTABLEROWELEMENT_IID \
{ 0x6f765323, 0xee43, 0x11d1, \
{ 0x6f765325, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableRowElement : public nsIDOMHTMLElement {

View File

@ -29,7 +29,7 @@ class nsIDOMHTMLElement;
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLTABLESECTIONELEMENT_IID \
{ 0x6f765324, 0xee43, 0x11d1, \
{ 0x6f765326, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableSectionElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTBODYELEMENT_IID \
{ 0x6f765325, 0xee43, 0x11d1, \
{ 0x6f765327, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTbodyElement : public nsIDOMHTMLElement {

View File

@ -28,7 +28,7 @@
class nsIDOMHTMLFormElement;
#define NS_IDOMHTMLTEXTAREAELEMENT_IID \
{ 0x6f765326, 0xee43, 0x11d1, \
{ 0x6f765328, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTextAreaElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTFOOTELEMENT_IID \
{ 0x6f765327, 0xee43, 0x11d1, \
{ 0x6f765329, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTfootElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTHEADELEMENT_IID \
{ 0x6f765328, 0xee43, 0x11d1, \
{ 0x6f76532a, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTheadElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLTITLEELEMENT_IID \
{ 0x6f765329, 0xee43, 0x11d1, \
{ 0x6f76532b, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTitleElement : public nsIDOMHTMLElement {

View File

@ -27,7 +27,7 @@
#define NS_IDOMHTMLULISTELEMENT_IID \
{ 0x6f76532a, 0xee43, 0x11d1, \
{ 0x6f76532c, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLUListElement : public nsIDOMHTMLElement {

View File

@ -26,7 +26,7 @@
#define NS_IDOMIMAGE_IID \
{ 0x6f76532b, 0xee43, 0x11d1, \
{ 0x6f76532d, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMImage : public nsISupports {

View File

@ -28,7 +28,7 @@ class nsIDOMElement;
class nsIDOMHTMLCollection;
#define NS_IDOMNSHTMLDOCUMENT_IID \
{ 0x6f76532c, 0xee43, 0x11d1, \
{ 0x6f76532e, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMNSHTMLDocument : public nsISupports {

View File

@ -27,7 +27,7 @@
class nsIDOMElement;
#define NS_IDOMNSHTMLFORMELEMENT_IID \
{ 0x6f76532d, 0xee43, 0x11d1, \
{ 0x6f76532f, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMNSHTMLFormElement : public nsISupports {

View File

@ -34,7 +34,9 @@ IDLSRCS = \
Node.idl \
NodeList.idl \
ProcessingInstruction.idl \
Text.idl
Text.idl \
StyleSheet.idl \
StyleSheetCollection.idl
XPCOM_DESTDIR=$(DEPTH)\dom\public\coreDom

View File

@ -51,7 +51,7 @@
attribute wstring display;
attribute wstring elevation;
attribute wstring emptyCells;
attribute wstring float;
attribute wstring styleFloat;
attribute wstring font;
attribute wstring fontFamily;
attribute wstring fontSize;

View File

@ -4,4 +4,5 @@
attribute wstring lang;
attribute wstring dir;
attribute wstring className;
readonly attribute CSSStyleDeclaration style;
};

View File

@ -18,7 +18,7 @@
DEPTH=..\..\..
IGNORE_MANIFEST=1
DIRS=coreDom html events
DIRS=coreDom html events css
MODULE=raptor
IDLSRCS = \

View File

@ -18,7 +18,7 @@
DEPTH=..\..
IGNORE_MANIFEST=1
DIRS=coreDom coreEvents events html
DIRS=coreDom coreEvents events html css
DEFINES=-D_IMPL_NS_DOM
EXPORTS=nsIScriptContext.h nsIJSScriptObject.h nsIScriptObjectOwner.h \
nsIScriptGlobalObject.h nsIDOMWindow.h nsIScriptContextOwner.h \

View File

@ -27,7 +27,7 @@
#define NS_IDOMLOCATION_IID \
{ 0x6f765331, 0xee43, 0x11d1, \
{ 0x6f76533b, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMLocation : public nsISupports {

View File

@ -26,7 +26,7 @@
#define NS_IDOMNAVIGATOR_IID \
{ 0x6f765332, 0xee43, 0x11d1, \
{ 0x6f76533c, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMNavigator : public nsISupports {

View File

@ -31,7 +31,7 @@ class nsIDOMWindowCollection;
class nsIDOMWindow;
#define NS_IDOMWINDOW_IID \
{ 0x6f765333, 0xee43, 0x11d1, \
{ 0x6f76533d, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMWindow : public nsISupports {

View File

@ -27,7 +27,7 @@
class nsIDOMWindow;
#define NS_IDOMWINDOWCOLLECTION_IID \
{ 0x6f765334, 0xee43, 0x11d1, \
{ 0x6f76533e, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMWindowCollection : public nsISupports {

View File

@ -17,6 +17,6 @@
DEPTH=../..
DIRS = base coreDOM html events jsurl build
DIRS = base coreDOM html css events jsurl build
include $(DEPTH)/config/rules.mk

View File

@ -39,14 +39,14 @@ NS_DEF_PTR(nsIDOMLocation);
// Location property ids
//
enum Location_slots {
LOCATION_HASH = -11,
LOCATION_HOST = -12,
LOCATION_HOSTNAME = -13,
LOCATION_HREF = -14,
LOCATION_PATHNAME = -15,
LOCATION_PORT = -16,
LOCATION_PROTOCOL = -17,
LOCATION_SEARCH = -18
LOCATION_HASH = -1,
LOCATION_HOST = -2,
LOCATION_HOSTNAME = -3,
LOCATION_HREF = -4,
LOCATION_PATHNAME = -5,
LOCATION_PORT = -6,
LOCATION_PROTOCOL = -7,
LOCATION_SEARCH = -8
};
/***********************************************************************/

View File

@ -39,13 +39,13 @@ NS_DEF_PTR(nsIDOMNavigator);
// Navigator property ids
//
enum Navigator_slots {
NAVIGATOR_USERAGENT = -11,
NAVIGATOR_APPCODENAME = -12,
NAVIGATOR_APPVERSION = -13,
NAVIGATOR_APPNAME = -14,
NAVIGATOR_LANGUAGE = -15,
NAVIGATOR_PLATFORM = -16,
NAVIGATOR_SECURITYPOLICY = -17
NAVIGATOR_USERAGENT = -1,
NAVIGATOR_APPCODENAME = -2,
NAVIGATOR_APPVERSION = -3,
NAVIGATOR_APPNAME = -4,
NAVIGATOR_LANGUAGE = -5,
NAVIGATOR_PLATFORM = -6,
NAVIGATOR_SECURITYPOLICY = -7
};
/***********************************************************************/

View File

@ -51,18 +51,18 @@ NS_DEF_PTR(nsIDOMWindow);
// Window property ids
//
enum Window_slots {
WINDOW_WINDOW = -11,
WINDOW_SELF = -12,
WINDOW_DOCUMENT = -13,
WINDOW_NAVIGATOR = -14,
WINDOW_PARENT = -15,
WINDOW_TOP = -16,
WINDOW_CLOSED = -17,
WINDOW_FRAMES = -18,
WINDOW_OPENER = -19,
WINDOW_STATUS = -110,
WINDOW_DEFAULTSTATUS = -111,
WINDOW_NAME = -112
WINDOW_WINDOW = -1,
WINDOW_SELF = -2,
WINDOW_DOCUMENT = -3,
WINDOW_NAVIGATOR = -4,
WINDOW_PARENT = -5,
WINDOW_TOP = -6,
WINDOW_CLOSED = -7,
WINDOW_FRAMES = -8,
WINDOW_OPENER = -9,
WINDOW_STATUS = -10,
WINDOW_DEFAULTSTATUS = -11,
WINDOW_NAME = -12
};
/***********************************************************************/

View File

@ -42,7 +42,7 @@ NS_DEF_PTR(nsIDOMWindow);
// WindowCollection property ids
//
enum WindowCollection_slots {
WINDOWCOLLECTION_LENGTH = -11
WINDOWCOLLECTION_LENGTH = -1
};
/***********************************************************************/

View File

@ -51,6 +51,7 @@ EXTRA_DSO_LDOPTS = \
-ljsdomcore_s \
-ljsdomevents_s \
-ljsdomhtml_s \
-ljsdomcss_s \
-ljsurl \
-L$(DIST)/bin \
-lraptorbase \
@ -70,6 +71,7 @@ EXTRA_DSO_LDOPTS = \
$(DIST)/lib/libjsdomcore_s.a \
$(DIST)/lib/libjsdomevents_s.a \
$(DIST)/lib/libjsdomhtml_s.a \
$(DIST)/lib/libjsdomcss_s.a \
$(DIST)/lib/libjsurl.a \
$(LD_NONE) \
$(DIST)/bin/libraptorbase.so \

View File

@ -38,6 +38,7 @@ MISCDEP = \
$(DIST)\lib\jsdomcore_s.lib \
$(DIST)\lib\jsdomevents_s.lib \
$(DIST)\lib\jsdomhtml_s.lib \
$(DIST)\lib\jsdomcss_s.lib \
$(DIST)\lib\jsurl.lib \
$(DIST)\lib\raptorbase.lib \
$(DIST)\lib\netlib.lib \
@ -58,6 +59,7 @@ LLIBS= \
$(DIST)\lib\jsdomcore_s.lib \
$(DIST)\lib\jsdomevents_s.lib \
$(DIST)\lib\jsdomhtml_s.lib \
$(DIST)\lib\jsdomcss_s.lib \
$(DIST)\lib\jsurl.lib \
$(DIST)\lib\raptorbase.lib \
$(DIST)\lib\netlib.lib \

View File

@ -105,6 +105,7 @@
#include "nsIDOMNSHTMLFormElement.h"
#include "nsIDOMNavigator.h"
#include "nsIDOMLocation.h"
#include "nsIDOMCSSStyleDeclaration.h"
#include "plhash.h"
static NS_DEFINE_IID(kIDOMNativeObjectRegistry, NS_IDOM_NATIVE_OBJECT_REGISTRY_IID);
@ -671,5 +672,6 @@ void XXXDomNeverCalled()
NS_NewScriptNavigator(0, 0, 0, 0);
NS_NewScriptLocation(0, 0, 0, 0);
NS_NewScriptEventListener(0, 0, 0);
NS_NewScriptCSSStyleDeclaration(0, 0, 0, 0);
NET_InitJavaScriptProtocol();
}

Some files were not shown because too many files have changed in this diff Show More