📄 nsidomhtmltableelement.h
字号:
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM nsIDOMHTMLTableElement.idl */#ifndef __gen_nsIDOMHTMLTableElement_h__#define __gen_nsIDOMHTMLTableElement_h__#ifndef __gen_nsIDOMHTMLElement_h__#include "nsIDOMHTMLElement.h"#endif/* For IDL files that don't want to include root IDL files. */#ifndef NS_NO_VTABLE#define NS_NO_VTABLE#endif/* starting interface: nsIDOMHTMLTableElement */#define NS_IDOMHTMLTABLEELEMENT_IID_STR "a6cf90b2-15b3-11d2-932e-00805f8add32"#define NS_IDOMHTMLTABLEELEMENT_IID \ {0xa6cf90b2, 0x15b3, 0x11d2, \ { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}/** * The nsIDOMHTMLTableElement interface is the interface to a [X]HTML * table element. * * For more information on this interface please see * http://www.w3.org/TR/DOM-Level-2-HTML/ * * @status FROZEN */class NS_NO_VTABLE nsIDOMHTMLTableElement : public nsIDOMHTMLElement { public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLEELEMENT_IID) /* attribute nsIDOMHTMLTableCaptionElement caption; */ NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement * *aCaption) = 0; NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement * aCaption) = 0; /* attribute nsIDOMHTMLTableSectionElement tHead; */ NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement * *aTHead) = 0; NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement * aTHead) = 0; /* attribute nsIDOMHTMLTableSectionElement tFoot; */ NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement * *aTFoot) = 0; NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement * aTFoot) = 0; /* readonly attribute nsIDOMHTMLCollection rows; */ NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) = 0; /* readonly attribute nsIDOMHTMLCollection tBodies; */ NS_IMETHOD GetTBodies(nsIDOMHTMLCollection * *aTBodies) = 0; /* attribute DOMString align; */ NS_IMETHOD GetAlign(nsAString & aAlign) = 0; NS_IMETHOD SetAlign(const nsAString & aAlign) = 0; /* attribute DOMString bgColor; */ NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0; NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0; /* attribute DOMString border; */ NS_IMETHOD GetBorder(nsAString & aBorder) = 0; NS_IMETHOD SetBorder(const nsAString & aBorder) = 0; /* attribute DOMString cellPadding; */ NS_IMETHOD GetCellPadding(nsAString & aCellPadding) = 0; NS_IMETHOD SetCellPadding(const nsAString & aCellPadding) = 0; /* attribute DOMString cellSpacing; */ NS_IMETHOD GetCellSpacing(nsAString & aCellSpacing) = 0; NS_IMETHOD SetCellSpacing(const nsAString & aCellSpacing) = 0; /* attribute DOMString frame; */ NS_IMETHOD GetFrame(nsAString & aFrame) = 0; NS_IMETHOD SetFrame(const nsAString & aFrame) = 0; /* attribute DOMString rules; */ NS_IMETHOD GetRules(nsAString & aRules) = 0; NS_IMETHOD SetRules(const nsAString & aRules) = 0; /* attribute DOMString summary; */ NS_IMETHOD GetSummary(nsAString & aSummary) = 0; NS_IMETHOD SetSummary(const nsAString & aSummary) = 0; /* attribute DOMString width; */ NS_IMETHOD GetWidth(nsAString & aWidth) = 0; NS_IMETHOD SetWidth(const nsAString & aWidth) = 0; /* nsIDOMHTMLElement createTHead (); */ NS_IMETHOD CreateTHead(nsIDOMHTMLElement **_retval) = 0; /* void deleteTHead (); */ NS_IMETHOD DeleteTHead(void) = 0; /* nsIDOMHTMLElement createTFoot (); */ NS_IMETHOD CreateTFoot(nsIDOMHTMLElement **_retval) = 0; /* void deleteTFoot (); */ NS_IMETHOD DeleteTFoot(void) = 0; /* nsIDOMHTMLElement createCaption (); */ NS_IMETHOD CreateCaption(nsIDOMHTMLElement **_retval) = 0; /* void deleteCaption (); */ NS_IMETHOD DeleteCaption(void) = 0; /* nsIDOMHTMLElement insertRow (in long index) raises (DOMException); */ NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) = 0; /* void deleteRow (in long index) raises (DOMException); */ NS_IMETHOD DeleteRow(PRInt32 index) = 0;};/* Use this macro when declaring classes that implement this interface. */#define NS_DECL_NSIDOMHTMLTABLEELEMENT \ 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 GetTBodies(nsIDOMHTMLCollection * *aTBodies); \ NS_IMETHOD GetAlign(nsAString & aAlign); \ NS_IMETHOD SetAlign(const nsAString & aAlign); \ NS_IMETHOD GetBgColor(nsAString & aBgColor); \ NS_IMETHOD SetBgColor(const nsAString & aBgColor); \ NS_IMETHOD GetBorder(nsAString & aBorder); \ NS_IMETHOD SetBorder(const nsAString & aBorder); \ NS_IMETHOD GetCellPadding(nsAString & aCellPadding); \ NS_IMETHOD SetCellPadding(const nsAString & aCellPadding); \ NS_IMETHOD GetCellSpacing(nsAString & aCellSpacing); \ NS_IMETHOD SetCellSpacing(const nsAString & aCellSpacing); \ NS_IMETHOD GetFrame(nsAString & aFrame); \ NS_IMETHOD SetFrame(const nsAString & aFrame); \ NS_IMETHOD GetRules(nsAString & aRules); \ NS_IMETHOD SetRules(const nsAString & aRules); \ NS_IMETHOD GetSummary(nsAString & aSummary); \ NS_IMETHOD SetSummary(const nsAString & aSummary); \ NS_IMETHOD GetWidth(nsAString & aWidth); \ NS_IMETHOD SetWidth(const nsAString & aWidth); \ NS_IMETHOD CreateTHead(nsIDOMHTMLElement **_retval); \ NS_IMETHOD DeleteTHead(void); \ NS_IMETHOD CreateTFoot(nsIDOMHTMLElement **_retval); \ NS_IMETHOD DeleteTFoot(void); \ NS_IMETHOD CreateCaption(nsIDOMHTMLElement **_retval); \ NS_IMETHOD DeleteCaption(void); \ NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval); \ NS_IMETHOD DeleteRow(PRInt32 index); /* Use this macro to declare functions that forward the behavior of this interface to another object. */#define NS_FORWARD_NSIDOMHTMLTABLEELEMENT(_to) \ NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement * *aCaption) { return _to GetCaption(aCaption); } \ NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement * aCaption) { return _to SetCaption(aCaption); } \ NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement * *aTHead) { return _to GetTHead(aTHead); } \ NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement * aTHead) { return _to SetTHead(aTHead); } \ NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement * *aTFoot) { return _to GetTFoot(aTFoot); } \ NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement * aTFoot) { return _to SetTFoot(aTFoot); } \ NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return _to GetRows(aRows); } \ NS_IMETHOD GetTBodies(nsIDOMHTMLCollection * *aTBodies) { return _to GetTBodies(aTBodies); } \ NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \ NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \ NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \ NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \ NS_IMETHOD GetBorder(nsAString & aBorder) { return _to GetBorder(aBorder); } \ NS_IMETHOD SetBorder(const nsAString & aBorder) { return _to SetBorder(aBorder); } \ NS_IMETHOD GetCellPadding(nsAString & aCellPadding) { return _to GetCellPadding(aCellPadding); } \ NS_IMETHOD SetCellPadding(const nsAString & aCellPadding) { return _to SetCellPadding(aCellPadding); } \ NS_IMETHOD GetCellSpacing(nsAString & aCellSpacing) { return _to GetCellSpacing(aCellSpacing); } \ NS_IMETHOD SetCellSpacing(const nsAString & aCellSpacing) { return _to SetCellSpacing(aCellSpacing); } \ NS_IMETHOD GetFrame(nsAString & aFrame) { return _to GetFrame(aFrame); } \ NS_IMETHOD SetFrame(const nsAString & aFrame) { return _to SetFrame(aFrame); } \ NS_IMETHOD GetRules(nsAString & aRules) { return _to GetRules(aRules); } \ NS_IMETHOD SetRules(const nsAString & aRules) { return _to SetRules(aRules); } \ NS_IMETHOD GetSummary(nsAString & aSummary) { return _to GetSummary(aSummary); } \ NS_IMETHOD SetSummary(const nsAString & aSummary) { return _to SetSummary(aSummary); } \ NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \ NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } \ NS_IMETHOD CreateTHead(nsIDOMHTMLElement **_retval) { return _to CreateTHead(_retval); } \ NS_IMETHOD DeleteTHead(void) { return _to DeleteTHead(); } \ NS_IMETHOD CreateTFoot(nsIDOMHTMLElement **_retval) { return _to CreateTFoot(_retval); } \ NS_IMETHOD DeleteTFoot(void) { return _to DeleteTFoot(); } \ NS_IMETHOD CreateCaption(nsIDOMHTMLElement **_retval) { return _to CreateCaption(_retval); } \ NS_IMETHOD DeleteCaption(void) { return _to DeleteCaption(); } \ NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to InsertRow(index, _retval); } \ NS_IMETHOD DeleteRow(PRInt32 index) { return _to DeleteRow(index); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */#define NS_FORWARD_SAFE_NSIDOMHTMLTABLEELEMENT(_to) \ NS_IMETHOD GetCaption(nsIDOMHTMLTableCaptionElement * *aCaption) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaption(aCaption); } \ NS_IMETHOD SetCaption(nsIDOMHTMLTableCaptionElement * aCaption) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaption(aCaption); } \ NS_IMETHOD GetTHead(nsIDOMHTMLTableSectionElement * *aTHead) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTHead(aTHead); } \ NS_IMETHOD SetTHead(nsIDOMHTMLTableSectionElement * aTHead) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTHead(aTHead); } \ NS_IMETHOD GetTFoot(nsIDOMHTMLTableSectionElement * *aTFoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTFoot(aTFoot); } \ NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement * aTFoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTFoot(aTFoot); } \ NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \ NS_IMETHOD GetTBodies(nsIDOMHTMLCollection * *aTBodies) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTBodies(aTBodies); } \ NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \ NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \ NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \ NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \ NS_IMETHOD GetBorder(nsAString & aBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBorder(aBorder); } \ NS_IMETHOD SetBorder(const nsAString & aBorder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBorder(aBorder); } \ NS_IMETHOD GetCellPadding(nsAString & aCellPadding) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellPadding(aCellPadding); } \ NS_IMETHOD SetCellPadding(const nsAString & aCellPadding) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCellPadding(aCellPadding); } \ NS_IMETHOD GetCellSpacing(nsAString & aCellSpacing) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellSpacing(aCellSpacing); } \ NS_IMETHOD SetCellSpacing(const nsAString & aCellSpacing) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCellSpacing(aCellSpacing); } \ NS_IMETHOD GetFrame(nsAString & aFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrame(aFrame); } \ NS_IMETHOD SetFrame(const nsAString & aFrame) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFrame(aFrame); } \ NS_IMETHOD GetRules(nsAString & aRules) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRules(aRules); } \ NS_IMETHOD SetRules(const nsAString & aRules) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRules(aRules); } \ NS_IMETHOD GetSummary(nsAString & aSummary) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSummary(aSummary); } \ NS_IMETHOD SetSummary(const nsAString & aSummary) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSummary(aSummary); } \ NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \ NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \ NS_IMETHOD CreateTHead(nsIDOMHTMLElement **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateTHead(_retval); } \ NS_IMETHOD DeleteTHead(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteTHead(); } \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -