1998-07-15 20:54:19 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1998-07-15 20:54:19 +04:00
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1998-07-15 20:54:19 +04:00
|
|
|
*
|
1999-11-25 02:58:43 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1998-07-15 20:54:19 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-25 02:58:43 +03:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1998-07-15 20:54:19 +04:00
|
|
|
*/
|
|
|
|
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
|
|
|
|
|
|
|
#ifndef nsIDOMHTMLObjectElement_h__
|
|
|
|
#define nsIDOMHTMLObjectElement_h__
|
|
|
|
|
|
|
|
#include "nsISupports.h"
|
|
|
|
#include "nsString.h"
|
|
|
|
#include "nsIScriptContext.h"
|
|
|
|
#include "nsIDOMHTMLElement.h"
|
|
|
|
|
|
|
|
class nsIDOMHTMLFormElement;
|
2000-04-19 02:57:42 +04:00
|
|
|
class nsIDOMDocument;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
#define NS_IDOMHTMLOBJECTELEMENT_IID \
|
1998-10-20 21:07:23 +04:00
|
|
|
{ 0xa6cf90ac, 0x15b3, 0x11d2, \
|
|
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-12-20 00:08:55 +03:00
|
|
|
class NS_NO_VTABLE nsIDOMHTMLObjectElement : public nsIDOMHTMLElement {
|
1998-07-15 20:54:19 +04:00
|
|
|
public:
|
2000-12-21 03:41:00 +03:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOBJECTELEMENT_IID)
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
|
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCode(nsAWritableString& aCode)=0;
|
|
|
|
NS_IMETHOD SetCode(const nsAReadableString& aCode)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
|
|
|
|
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetArchive(nsAWritableString& aArchive)=0;
|
|
|
|
NS_IMETHOD SetArchive(const nsAReadableString& aArchive)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetBorder(nsAWritableString& aBorder)=0;
|
|
|
|
NS_IMETHOD SetBorder(const nsAReadableString& aBorder)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase)=0;
|
|
|
|
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType)=0;
|
|
|
|
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetData(nsAWritableString& aData)=0;
|
|
|
|
NS_IMETHOD SetData(const nsAReadableString& aData)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetDeclare(PRBool* aDeclare)=0;
|
|
|
|
NS_IMETHOD SetDeclare(PRBool aDeclare)=0;
|
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
|
|
|
|
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetHspace(nsAWritableString& aHspace)=0;
|
|
|
|
NS_IMETHOD SetHspace(const nsAReadableString& aHspace)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetName(nsAWritableString& aName)=0;
|
|
|
|
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetStandby(nsAWritableString& aStandby)=0;
|
|
|
|
NS_IMETHOD SetStandby(const nsAReadableString& aStandby)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
|
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetType(nsAWritableString& aType)=0;
|
|
|
|
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap)=0;
|
|
|
|
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetVspace(nsAWritableString& aVspace)=0;
|
|
|
|
NS_IMETHOD SetVspace(const nsAReadableString& aVspace)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
|
|
|
|
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
|
2000-04-19 02:57:42 +04:00
|
|
|
|
|
|
|
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument)=0;
|
|
|
|
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument)=0;
|
1998-07-15 20:54:19 +04:00
|
|
|
};
|
|
|
|
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
#define NS_DECL_IDOMHTMLOBJECTELEMENT \
|
|
|
|
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCode(nsAWritableString& aCode); \
|
|
|
|
NS_IMETHOD SetCode(const nsAReadableString& aCode); \
|
|
|
|
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
|
|
|
|
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
|
|
|
|
NS_IMETHOD GetArchive(nsAWritableString& aArchive); \
|
|
|
|
NS_IMETHOD SetArchive(const nsAReadableString& aArchive); \
|
|
|
|
NS_IMETHOD GetBorder(nsAWritableString& aBorder); \
|
|
|
|
NS_IMETHOD SetBorder(const nsAReadableString& aBorder); \
|
|
|
|
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase); \
|
|
|
|
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase); \
|
|
|
|
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType); \
|
|
|
|
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType); \
|
|
|
|
NS_IMETHOD GetData(nsAWritableString& aData); \
|
|
|
|
NS_IMETHOD SetData(const nsAReadableString& aData); \
|
1998-08-04 04:08:29 +04:00
|
|
|
NS_IMETHOD GetDeclare(PRBool* aDeclare); \
|
|
|
|
NS_IMETHOD SetDeclare(PRBool aDeclare); \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
|
|
|
|
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
|
|
|
|
NS_IMETHOD GetHspace(nsAWritableString& aHspace); \
|
|
|
|
NS_IMETHOD SetHspace(const nsAReadableString& aHspace); \
|
|
|
|
NS_IMETHOD GetName(nsAWritableString& aName); \
|
|
|
|
NS_IMETHOD SetName(const nsAReadableString& aName); \
|
|
|
|
NS_IMETHOD GetStandby(nsAWritableString& aStandby); \
|
|
|
|
NS_IMETHOD SetStandby(const nsAReadableString& aStandby); \
|
1998-08-04 04:08:29 +04:00
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetType(nsAWritableString& aType); \
|
|
|
|
NS_IMETHOD SetType(const nsAReadableString& aType); \
|
|
|
|
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap); \
|
|
|
|
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap); \
|
|
|
|
NS_IMETHOD GetVspace(nsAWritableString& aVspace); \
|
|
|
|
NS_IMETHOD SetVspace(const nsAReadableString& aVspace); \
|
|
|
|
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
|
|
|
|
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
|
2000-04-19 02:57:42 +04:00
|
|
|
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument); \
|
|
|
|
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument); \
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
1998-08-12 21:57:25 +04:00
|
|
|
#define NS_FORWARD_IDOMHTMLOBJECTELEMENT(_to) \
|
1999-04-16 22:08:20 +04:00
|
|
|
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetCode(nsAWritableString& aCode) { return _to GetCode(aCode); } \
|
|
|
|
NS_IMETHOD SetCode(const nsAReadableString& aCode) { return _to SetCode(aCode); } \
|
|
|
|
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
|
|
|
|
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
|
|
|
|
NS_IMETHOD GetArchive(nsAWritableString& aArchive) { return _to GetArchive(aArchive); } \
|
|
|
|
NS_IMETHOD SetArchive(const nsAReadableString& aArchive) { return _to SetArchive(aArchive); } \
|
|
|
|
NS_IMETHOD GetBorder(nsAWritableString& aBorder) { return _to GetBorder(aBorder); } \
|
|
|
|
NS_IMETHOD SetBorder(const nsAReadableString& aBorder) { return _to SetBorder(aBorder); } \
|
|
|
|
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase) { return _to GetCodeBase(aCodeBase); } \
|
|
|
|
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase) { return _to SetCodeBase(aCodeBase); } \
|
|
|
|
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType) { return _to GetCodeType(aCodeType); } \
|
|
|
|
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType) { return _to SetCodeType(aCodeType); } \
|
|
|
|
NS_IMETHOD GetData(nsAWritableString& aData) { return _to GetData(aData); } \
|
|
|
|
NS_IMETHOD SetData(const nsAReadableString& aData) { return _to SetData(aData); } \
|
1999-04-16 22:08:20 +04:00
|
|
|
NS_IMETHOD GetDeclare(PRBool* aDeclare) { return _to GetDeclare(aDeclare); } \
|
|
|
|
NS_IMETHOD SetDeclare(PRBool aDeclare) { return _to SetDeclare(aDeclare); } \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
|
|
|
|
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
|
|
|
|
NS_IMETHOD GetHspace(nsAWritableString& aHspace) { return _to GetHspace(aHspace); } \
|
|
|
|
NS_IMETHOD SetHspace(const nsAReadableString& aHspace) { return _to SetHspace(aHspace); } \
|
|
|
|
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
|
|
|
|
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
|
|
|
|
NS_IMETHOD GetStandby(nsAWritableString& aStandby) { return _to GetStandby(aStandby); } \
|
|
|
|
NS_IMETHOD SetStandby(const nsAReadableString& aStandby) { return _to SetStandby(aStandby); } \
|
1999-04-16 22:08:20 +04:00
|
|
|
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
|
|
|
|
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
|
2000-08-23 21:27:06 +04:00
|
|
|
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
|
|
|
|
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
|
|
|
|
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap) { return _to GetUseMap(aUseMap); } \
|
|
|
|
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap) { return _to SetUseMap(aUseMap); } \
|
|
|
|
NS_IMETHOD GetVspace(nsAWritableString& aVspace) { return _to GetVspace(aVspace); } \
|
|
|
|
NS_IMETHOD SetVspace(const nsAReadableString& aVspace) { return _to SetVspace(aVspace); } \
|
|
|
|
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
|
|
|
|
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
|
2000-04-19 02:57:42 +04:00
|
|
|
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument) { return _to GetContentDocument(aContentDocument); } \
|
|
|
|
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument) { return _to SetContentDocument(aContentDocument); } \
|
1998-08-04 04:08:29 +04:00
|
|
|
|
|
|
|
|
1999-02-17 11:33:27 +03:00
|
|
|
extern "C" NS_DOM nsresult NS_InitHTMLObjectElementClass(nsIScriptContext *aContext, void **aPrototype);
|
1998-07-15 20:54:19 +04:00
|
|
|
|
1998-09-05 03:03:16 +04:00
|
|
|
extern "C" NS_DOM nsresult NS_NewScriptHTMLObjectElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
1998-07-15 20:54:19 +04:00
|
|
|
|
|
|
|
#endif // nsIDOMHTMLObjectElement_h__
|