gecko-dev/dom/public/html/nsIDOMHTMLTableElement.h

184 строки
9.1 KiB
C++

/* -*- 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 nsIDOMHTMLTableElement_h__
#define nsIDOMHTMLTableElement_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#include "nsIDOMHTMLElement.h"
class nsIDOMHTMLElement;
class nsIDOMHTMLTableCaptionElement;
class nsIDOMHTMLTableSectionElement;
class nsIDOMHTMLCollection;
#define NS_IDOMHTMLTABLEELEMENT_IID \
{ 0x6f765320, 0xee43, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
class nsIDOMHTMLTableElement : public nsIDOMHTMLElement {
public:
NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement** aCaption)=0;
NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement* aCaption)=0;
NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement** aTHead)=0;
NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement* aTHead)=0;
NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement** aTFoot)=0;
NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement* aTFoot)=0;
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows)=0;
NS_IMETHOD SetRows(nsIDOMHTMLCollection* aRows)=0;
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies)=0;
NS_IMETHOD SetTBodies(nsIDOMHTMLCollection* aTBodies)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetBorder(nsString& aBorder)=0;
NS_IMETHOD SetBorder(const nsString& aBorder)=0;
NS_IMETHOD GetCellPadding(nsString& aCellPadding)=0;
NS_IMETHOD SetCellPadding(const nsString& aCellPadding)=0;
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing)=0;
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing)=0;
NS_IMETHOD GetFrame(nsString& aFrame)=0;
NS_IMETHOD SetFrame(const nsString& aFrame)=0;
NS_IMETHOD GetRules(nsString& aRules)=0;
NS_IMETHOD SetRules(const nsString& aRules)=0;
NS_IMETHOD GetSummary(nsString& aSummary)=0;
NS_IMETHOD SetSummary(const nsString& aSummary)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn)=0;
NS_IMETHOD DeleteTHead()=0;
NS_IMETHOD CreateTFoot(nsIDOMHTMLElement** aReturn)=0;
NS_IMETHOD DeleteTFoot()=0;
NS_IMETHOD CreateCaption(nsIDOMHTMLElement** aReturn)=0;
NS_IMETHOD DeleteCaption()=0;
NS_IMETHOD InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aReturn)=0;
NS_IMETHOD DeleteRow(PRInt32 aIndex)=0;
};
#define NS_DECL_IDOMHTMLTABLEELEMENT \
NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement** aCaption); \
NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement* aCaption); \
NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement** aTHead); \
NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement* aTHead); \
NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement** aTFoot); \
NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement* aTFoot); \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows); \
NS_IMETHOD SetRows(nsIDOMHTMLCollection* aRows); \
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies); \
NS_IMETHOD SetTBodies(nsIDOMHTMLCollection* aTBodies); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetBorder(nsString& aBorder); \
NS_IMETHOD SetBorder(const nsString& aBorder); \
NS_IMETHOD GetCellPadding(nsString& aCellPadding); \
NS_IMETHOD SetCellPadding(const nsString& aCellPadding); \
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing); \
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing); \
NS_IMETHOD GetFrame(nsString& aFrame); \
NS_IMETHOD SetFrame(const nsString& aFrame); \
NS_IMETHOD GetRules(nsString& aRules); \
NS_IMETHOD SetRules(const nsString& aRules); \
NS_IMETHOD GetSummary(nsString& aSummary); \
NS_IMETHOD SetSummary(const nsString& aSummary); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteTHead(); \
NS_IMETHOD CreateTFoot(nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteTFoot(); \
NS_IMETHOD CreateCaption(nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteCaption(); \
NS_IMETHOD InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteRow(PRInt32 aIndex); \
#define NS_FORWARD_IDOMHTMLTABLEELEMENT(superClass) \
NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement** aCaption) { return superClass::GetCaption(aCaption); } \
NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement* aCaption) { return superClass::SetCaption(aCaption); } \
NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement** aTHead) { return superClass::GetTHead(aTHead); } \
NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement* aTHead) { return superClass::SetTHead(aTHead); } \
NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement** aTFoot) { return superClass::GetTFoot(aTFoot); } \
NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement* aTFoot) { return superClass::SetTFoot(aTFoot); } \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows) { return superClass::GetRows(aRows); } \
NS_IMETHOD SetRows(nsIDOMHTMLCollection* aRows) { return superClass::SetRows(aRows); } \
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies) { return superClass::GetTBodies(aTBodies); } \
NS_IMETHOD SetTBodies(nsIDOMHTMLCollection* aTBodies) { return superClass::SetTBodies(aTBodies); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return superClass::GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return superClass::SetAlign(aAlign); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return superClass::GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return superClass::SetBgColor(aBgColor); } \
NS_IMETHOD GetBorder(nsString& aBorder) { return superClass::GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsString& aBorder) { return superClass::SetBorder(aBorder); } \
NS_IMETHOD GetCellPadding(nsString& aCellPadding) { return superClass::GetCellPadding(aCellPadding); } \
NS_IMETHOD SetCellPadding(const nsString& aCellPadding) { return superClass::SetCellPadding(aCellPadding); } \
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing) { return superClass::GetCellSpacing(aCellSpacing); } \
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing) { return superClass::SetCellSpacing(aCellSpacing); } \
NS_IMETHOD GetFrame(nsString& aFrame) { return superClass::GetFrame(aFrame); } \
NS_IMETHOD SetFrame(const nsString& aFrame) { return superClass::SetFrame(aFrame); } \
NS_IMETHOD GetRules(nsString& aRules) { return superClass::GetRules(aRules); } \
NS_IMETHOD SetRules(const nsString& aRules) { return superClass::SetRules(aRules); } \
NS_IMETHOD GetSummary(nsString& aSummary) { return superClass::GetSummary(aSummary); } \
NS_IMETHOD SetSummary(const nsString& aSummary) { return superClass::SetSummary(aSummary); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return superClass::GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return superClass::SetWidth(aWidth); } \
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn) { return superClass::CreateTHead(aReturn); } \
NS_IMETHOD DeleteTHead() { return superClass::DeleteTHead(); } \
NS_IMETHOD CreateTFoot(nsIDOMHTMLElement** aReturn) { return superClass::CreateTFoot(aReturn); } \
NS_IMETHOD DeleteTFoot() { return superClass::DeleteTFoot(); } \
NS_IMETHOD CreateCaption(nsIDOMHTMLElement** aReturn) { return superClass::CreateCaption(aReturn); } \
NS_IMETHOD DeleteCaption() { return superClass::DeleteCaption(); } \
NS_IMETHOD InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aReturn) { return superClass::InsertRow(aIndex, aReturn); } \
NS_IMETHOD DeleteRow(PRInt32 aIndex) { return superClass::DeleteRow(aIndex); } \
extern nsresult NS_InitHTMLTableElementClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableElement(nsIScriptContext *aContext, nsIDOMHTMLTableElement *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMHTMLTableElement_h__