123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378 |
- /*
- * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl
- */
- #ifndef __gen_nsIDOMHTMLTableCellElement_h__
- #define __gen_nsIDOMHTMLTableCellElement_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: nsIDOMHTMLTableCellElement */
- #define NS_IDOMHTMLTABLECELLELEMENT_IID_STR "a6cf90b7-15b3-11d2-932e-00805f8add32"
- #define NS_IDOMHTMLTABLECELLELEMENT_IID \
- {0xa6cf90b7, 0x15b3, 0x11d2, \
- { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
- /**
- * The nsIDOMHTMLTableCellElement interface is the interface to a
- * [X]HTML td element.
- *
- * For more information on this interface please see
- * http://www.w3.org/TR/DOM-Level-2-HTML/
- *
- * @status FROZEN
- */
- class NS_NO_VTABLE nsIDOMHTMLTableCellElement : public nsIDOMHTMLElement {
- public:
- NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECELLELEMENT_IID)
- /* readonly attribute long cellIndex; */
- NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) = 0;
- /* attribute DOMString abbr; */
- NS_IMETHOD GetAbbr(nsAString & aAbbr) = 0;
- NS_IMETHOD SetAbbr(const nsAString & aAbbr) = 0;
- /* attribute DOMString align; */
- NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
- NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
- /* attribute DOMString axis; */
- NS_IMETHOD GetAxis(nsAString & aAxis) = 0;
- NS_IMETHOD SetAxis(const nsAString & aAxis) = 0;
- /* attribute DOMString bgColor; */
- NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
- NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
- /* attribute DOMString ch; */
- NS_IMETHOD GetCh(nsAString & aCh) = 0;
- NS_IMETHOD SetCh(const nsAString & aCh) = 0;
- /* attribute DOMString chOff; */
- NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
- NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
- /* attribute long colSpan; */
- NS_IMETHOD GetColSpan(PRInt32 *aColSpan) = 0;
- NS_IMETHOD SetColSpan(PRInt32 aColSpan) = 0;
- /* attribute DOMString headers; */
- NS_IMETHOD GetHeaders(nsAString & aHeaders) = 0;
- NS_IMETHOD SetHeaders(const nsAString & aHeaders) = 0;
- /* attribute DOMString height; */
- NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
- NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
- /* attribute boolean noWrap; */
- NS_IMETHOD GetNoWrap(PRBool *aNoWrap) = 0;
- NS_IMETHOD SetNoWrap(PRBool aNoWrap) = 0;
- /* attribute long rowSpan; */
- NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) = 0;
- NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) = 0;
- /* attribute DOMString scope; */
- NS_IMETHOD GetScope(nsAString & aScope) = 0;
- NS_IMETHOD SetScope(const nsAString & aScope) = 0;
- /* attribute DOMString vAlign; */
- NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
- NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
- /* attribute DOMString width; */
- NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
- NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
- };
- /* Use this macro when declaring classes that implement this interface. */
- #define NS_DECL_NSIDOMHTMLTABLECELLELEMENT \
- NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex); \
- NS_IMETHOD GetAbbr(nsAString & aAbbr); \
- NS_IMETHOD SetAbbr(const nsAString & aAbbr); \
- NS_IMETHOD GetAlign(nsAString & aAlign); \
- NS_IMETHOD SetAlign(const nsAString & aAlign); \
- NS_IMETHOD GetAxis(nsAString & aAxis); \
- NS_IMETHOD SetAxis(const nsAString & aAxis); \
- NS_IMETHOD GetBgColor(nsAString & aBgColor); \
- NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
- NS_IMETHOD GetCh(nsAString & aCh); \
- NS_IMETHOD SetCh(const nsAString & aCh); \
- NS_IMETHOD GetChOff(nsAString & aChOff); \
- NS_IMETHOD SetChOff(const nsAString & aChOff); \
- NS_IMETHOD GetColSpan(PRInt32 *aColSpan); \
- NS_IMETHOD SetColSpan(PRInt32 aColSpan); \
- NS_IMETHOD GetHeaders(nsAString & aHeaders); \
- NS_IMETHOD SetHeaders(const nsAString & aHeaders); \
- NS_IMETHOD GetHeight(nsAString & aHeight); \
- NS_IMETHOD SetHeight(const nsAString & aHeight); \
- NS_IMETHOD GetNoWrap(PRBool *aNoWrap); \
- NS_IMETHOD SetNoWrap(PRBool aNoWrap); \
- NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan); \
- NS_IMETHOD SetRowSpan(PRInt32 aRowSpan); \
- NS_IMETHOD GetScope(nsAString & aScope); \
- NS_IMETHOD SetScope(const nsAString & aScope); \
- NS_IMETHOD GetVAlign(nsAString & aVAlign); \
- NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
- NS_IMETHOD GetWidth(nsAString & aWidth); \
- NS_IMETHOD SetWidth(const nsAString & aWidth);
- /* Use this macro to declare functions that forward the behavior of this interface to another object. */
- #define NS_FORWARD_NSIDOMHTMLTABLECELLELEMENT(_to) \
- NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return _to GetCellIndex(aCellIndex); } \
- NS_IMETHOD GetAbbr(nsAString & aAbbr) { return _to GetAbbr(aAbbr); } \
- NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return _to SetAbbr(aAbbr); } \
- NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
- NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
- NS_IMETHOD GetAxis(nsAString & aAxis) { return _to GetAxis(aAxis); } \
- NS_IMETHOD SetAxis(const nsAString & aAxis) { return _to SetAxis(aAxis); } \
- NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
- NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
- NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
- NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
- NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
- NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
- NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return _to GetColSpan(aColSpan); } \
- NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return _to SetColSpan(aColSpan); } \
- NS_IMETHOD GetHeaders(nsAString & aHeaders) { return _to GetHeaders(aHeaders); } \
- NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return _to SetHeaders(aHeaders); } \
- NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
- NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
- NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return _to GetNoWrap(aNoWrap); } \
- NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return _to SetNoWrap(aNoWrap); } \
- NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return _to GetRowSpan(aRowSpan); } \
- NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return _to SetRowSpan(aRowSpan); } \
- NS_IMETHOD GetScope(nsAString & aScope) { return _to GetScope(aScope); } \
- NS_IMETHOD SetScope(const nsAString & aScope) { return _to SetScope(aScope); } \
- NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
- NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
- NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
- NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
- /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
- #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECELLELEMENT(_to) \
- NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellIndex(aCellIndex); } \
- NS_IMETHOD GetAbbr(nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbbr(aAbbr); } \
- NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbbr(aAbbr); } \
- 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 GetAxis(nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAxis(aAxis); } \
- NS_IMETHOD SetAxis(const nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAxis(aAxis); } \
- 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 GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
- NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
- NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
- NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
- NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColSpan(aColSpan); } \
- NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColSpan(aColSpan); } \
- NS_IMETHOD GetHeaders(nsAString & aHeaders) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeaders(aHeaders); } \
- NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeaders(aHeaders); } \
- NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
- NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
- NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoWrap(aNoWrap); } \
- NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoWrap(aNoWrap); } \
- NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowSpan(aRowSpan); } \
- NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRowSpan(aRowSpan); } \
- NS_IMETHOD GetScope(nsAString & aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScope(aScope); } \
- NS_IMETHOD SetScope(const nsAString & aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScope(aScope); } \
- NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
- NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
- 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); }
- #if 0
- /* Use the code below as a template for the implementation class for this interface. */
- /* Header file */
- class nsDOMHTMLTableCellElement : public nsIDOMHTMLTableCellElement
- {
- public:
- NS_DECL_ISUPPORTS
- NS_DECL_NSIDOMHTMLTABLECELLELEMENT
- nsDOMHTMLTableCellElement();
- private:
- ~nsDOMHTMLTableCellElement();
- protected:
- /* additional members */
- };
- /* Implementation file */
- NS_IMPL_ISUPPORTS1(nsDOMHTMLTableCellElement, nsIDOMHTMLTableCellElement)
- nsDOMHTMLTableCellElement::nsDOMHTMLTableCellElement()
- {
- /* member initializers and constructor code */
- }
- nsDOMHTMLTableCellElement::~nsDOMHTMLTableCellElement()
- {
- /* destructor code */
- }
- /* readonly attribute long cellIndex; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCellIndex(PRInt32 *aCellIndex)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString abbr; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAbbr(nsAString & aAbbr)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAbbr(const nsAString & aAbbr)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString align; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAlign(nsAString & aAlign)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAlign(const nsAString & aAlign)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString axis; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAxis(nsAString & aAxis)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAxis(const nsAString & aAxis)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString bgColor; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetBgColor(nsAString & aBgColor)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetBgColor(const nsAString & aBgColor)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString ch; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCh(nsAString & aCh)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetCh(const nsAString & aCh)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString chOff; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetChOff(nsAString & aChOff)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetChOff(const nsAString & aChOff)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute long colSpan; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetColSpan(PRInt32 *aColSpan)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetColSpan(PRInt32 aColSpan)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString headers; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeaders(nsAString & aHeaders)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeaders(const nsAString & aHeaders)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString height; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeight(nsAString & aHeight)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeight(const nsAString & aHeight)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute boolean noWrap; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetNoWrap(PRBool *aNoWrap)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetNoWrap(PRBool aNoWrap)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute long rowSpan; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetRowSpan(PRInt32 *aRowSpan)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetRowSpan(PRInt32 aRowSpan)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString scope; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetScope(nsAString & aScope)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetScope(const nsAString & aScope)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString vAlign; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetVAlign(nsAString & aVAlign)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetVAlign(const nsAString & aVAlign)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute DOMString width; */
- NS_IMETHODIMP nsDOMHTMLTableCellElement::GetWidth(nsAString & aWidth)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP nsDOMHTMLTableCellElement::SetWidth(const nsAString & aWidth)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* End of implementation class template. */
- #endif
- #endif /* __gen_nsIDOMHTMLTableCellElement_h__ */
|