nsIDOMHTMLTableCellElement.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLTableCellElement_h__
  5. #define __gen_nsIDOMHTMLTableCellElement_h__
  6. #ifndef __gen_nsIDOMHTMLElement_h__
  7. #include "nsIDOMHTMLElement.h"
  8. #endif
  9. /* For IDL files that don't want to include root IDL files. */
  10. #ifndef NS_NO_VTABLE
  11. #define NS_NO_VTABLE
  12. #endif
  13. /* starting interface: nsIDOMHTMLTableCellElement */
  14. #define NS_IDOMHTMLTABLECELLELEMENT_IID_STR "a6cf90b7-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLTABLECELLELEMENT_IID \
  16. {0xa6cf90b7, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLTableCellElement interface is the interface to a
  20. * [X]HTML td element.
  21. *
  22. * For more information on this interface please see
  23. * http://www.w3.org/TR/DOM-Level-2-HTML/
  24. *
  25. * @status FROZEN
  26. */
  27. class NS_NO_VTABLE nsIDOMHTMLTableCellElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECELLELEMENT_IID)
  30. /* readonly attribute long cellIndex; */
  31. NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) = 0;
  32. /* attribute DOMString abbr; */
  33. NS_IMETHOD GetAbbr(nsAString & aAbbr) = 0;
  34. NS_IMETHOD SetAbbr(const nsAString & aAbbr) = 0;
  35. /* attribute DOMString align; */
  36. NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  37. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  38. /* attribute DOMString axis; */
  39. NS_IMETHOD GetAxis(nsAString & aAxis) = 0;
  40. NS_IMETHOD SetAxis(const nsAString & aAxis) = 0;
  41. /* attribute DOMString bgColor; */
  42. NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
  43. NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
  44. /* attribute DOMString ch; */
  45. NS_IMETHOD GetCh(nsAString & aCh) = 0;
  46. NS_IMETHOD SetCh(const nsAString & aCh) = 0;
  47. /* attribute DOMString chOff; */
  48. NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
  49. NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
  50. /* attribute long colSpan; */
  51. NS_IMETHOD GetColSpan(PRInt32 *aColSpan) = 0;
  52. NS_IMETHOD SetColSpan(PRInt32 aColSpan) = 0;
  53. /* attribute DOMString headers; */
  54. NS_IMETHOD GetHeaders(nsAString & aHeaders) = 0;
  55. NS_IMETHOD SetHeaders(const nsAString & aHeaders) = 0;
  56. /* attribute DOMString height; */
  57. NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
  58. NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
  59. /* attribute boolean noWrap; */
  60. NS_IMETHOD GetNoWrap(PRBool *aNoWrap) = 0;
  61. NS_IMETHOD SetNoWrap(PRBool aNoWrap) = 0;
  62. /* attribute long rowSpan; */
  63. NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) = 0;
  64. NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) = 0;
  65. /* attribute DOMString scope; */
  66. NS_IMETHOD GetScope(nsAString & aScope) = 0;
  67. NS_IMETHOD SetScope(const nsAString & aScope) = 0;
  68. /* attribute DOMString vAlign; */
  69. NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
  70. NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
  71. /* attribute DOMString width; */
  72. NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  73. NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  74. };
  75. /* Use this macro when declaring classes that implement this interface. */
  76. #define NS_DECL_NSIDOMHTMLTABLECELLELEMENT \
  77. NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex); \
  78. NS_IMETHOD GetAbbr(nsAString & aAbbr); \
  79. NS_IMETHOD SetAbbr(const nsAString & aAbbr); \
  80. NS_IMETHOD GetAlign(nsAString & aAlign); \
  81. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  82. NS_IMETHOD GetAxis(nsAString & aAxis); \
  83. NS_IMETHOD SetAxis(const nsAString & aAxis); \
  84. NS_IMETHOD GetBgColor(nsAString & aBgColor); \
  85. NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
  86. NS_IMETHOD GetCh(nsAString & aCh); \
  87. NS_IMETHOD SetCh(const nsAString & aCh); \
  88. NS_IMETHOD GetChOff(nsAString & aChOff); \
  89. NS_IMETHOD SetChOff(const nsAString & aChOff); \
  90. NS_IMETHOD GetColSpan(PRInt32 *aColSpan); \
  91. NS_IMETHOD SetColSpan(PRInt32 aColSpan); \
  92. NS_IMETHOD GetHeaders(nsAString & aHeaders); \
  93. NS_IMETHOD SetHeaders(const nsAString & aHeaders); \
  94. NS_IMETHOD GetHeight(nsAString & aHeight); \
  95. NS_IMETHOD SetHeight(const nsAString & aHeight); \
  96. NS_IMETHOD GetNoWrap(PRBool *aNoWrap); \
  97. NS_IMETHOD SetNoWrap(PRBool aNoWrap); \
  98. NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan); \
  99. NS_IMETHOD SetRowSpan(PRInt32 aRowSpan); \
  100. NS_IMETHOD GetScope(nsAString & aScope); \
  101. NS_IMETHOD SetScope(const nsAString & aScope); \
  102. NS_IMETHOD GetVAlign(nsAString & aVAlign); \
  103. NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
  104. NS_IMETHOD GetWidth(nsAString & aWidth); \
  105. NS_IMETHOD SetWidth(const nsAString & aWidth);
  106. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  107. #define NS_FORWARD_NSIDOMHTMLTABLECELLELEMENT(_to) \
  108. NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return _to GetCellIndex(aCellIndex); } \
  109. NS_IMETHOD GetAbbr(nsAString & aAbbr) { return _to GetAbbr(aAbbr); } \
  110. NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return _to SetAbbr(aAbbr); } \
  111. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  112. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  113. NS_IMETHOD GetAxis(nsAString & aAxis) { return _to GetAxis(aAxis); } \
  114. NS_IMETHOD SetAxis(const nsAString & aAxis) { return _to SetAxis(aAxis); } \
  115. NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
  116. NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
  117. NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
  118. NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
  119. NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
  120. NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
  121. NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return _to GetColSpan(aColSpan); } \
  122. NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return _to SetColSpan(aColSpan); } \
  123. NS_IMETHOD GetHeaders(nsAString & aHeaders) { return _to GetHeaders(aHeaders); } \
  124. NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return _to SetHeaders(aHeaders); } \
  125. NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
  126. NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
  127. NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return _to GetNoWrap(aNoWrap); } \
  128. NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return _to SetNoWrap(aNoWrap); } \
  129. NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return _to GetRowSpan(aRowSpan); } \
  130. NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return _to SetRowSpan(aRowSpan); } \
  131. NS_IMETHOD GetScope(nsAString & aScope) { return _to GetScope(aScope); } \
  132. NS_IMETHOD SetScope(const nsAString & aScope) { return _to SetScope(aScope); } \
  133. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
  134. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
  135. NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  136. NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
  137. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  138. #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECELLELEMENT(_to) \
  139. NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCellIndex(aCellIndex); } \
  140. NS_IMETHOD GetAbbr(nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbbr(aAbbr); } \
  141. NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbbr(aAbbr); } \
  142. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  143. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  144. NS_IMETHOD GetAxis(nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAxis(aAxis); } \
  145. NS_IMETHOD SetAxis(const nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAxis(aAxis); } \
  146. NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
  147. NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
  148. NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
  149. NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
  150. NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
  151. NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
  152. NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColSpan(aColSpan); } \
  153. NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColSpan(aColSpan); } \
  154. NS_IMETHOD GetHeaders(nsAString & aHeaders) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeaders(aHeaders); } \
  155. NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeaders(aHeaders); } \
  156. NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  157. NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
  158. NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoWrap(aNoWrap); } \
  159. NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNoWrap(aNoWrap); } \
  160. NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowSpan(aRowSpan); } \
  161. NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRowSpan(aRowSpan); } \
  162. NS_IMETHOD GetScope(nsAString & aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScope(aScope); } \
  163. NS_IMETHOD SetScope(const nsAString & aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScope(aScope); } \
  164. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
  165. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
  166. NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  167. NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
  168. #if 0
  169. /* Use the code below as a template for the implementation class for this interface. */
  170. /* Header file */
  171. class nsDOMHTMLTableCellElement : public nsIDOMHTMLTableCellElement
  172. {
  173. public:
  174. NS_DECL_ISUPPORTS
  175. NS_DECL_NSIDOMHTMLTABLECELLELEMENT
  176. nsDOMHTMLTableCellElement();
  177. private:
  178. ~nsDOMHTMLTableCellElement();
  179. protected:
  180. /* additional members */
  181. };
  182. /* Implementation file */
  183. NS_IMPL_ISUPPORTS1(nsDOMHTMLTableCellElement, nsIDOMHTMLTableCellElement)
  184. nsDOMHTMLTableCellElement::nsDOMHTMLTableCellElement()
  185. {
  186. /* member initializers and constructor code */
  187. }
  188. nsDOMHTMLTableCellElement::~nsDOMHTMLTableCellElement()
  189. {
  190. /* destructor code */
  191. }
  192. /* readonly attribute long cellIndex; */
  193. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCellIndex(PRInt32 *aCellIndex)
  194. {
  195. return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. /* attribute DOMString abbr; */
  198. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAbbr(nsAString & aAbbr)
  199. {
  200. return NS_ERROR_NOT_IMPLEMENTED;
  201. }
  202. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAbbr(const nsAString & aAbbr)
  203. {
  204. return NS_ERROR_NOT_IMPLEMENTED;
  205. }
  206. /* attribute DOMString align; */
  207. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAlign(nsAString & aAlign)
  208. {
  209. return NS_ERROR_NOT_IMPLEMENTED;
  210. }
  211. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAlign(const nsAString & aAlign)
  212. {
  213. return NS_ERROR_NOT_IMPLEMENTED;
  214. }
  215. /* attribute DOMString axis; */
  216. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAxis(nsAString & aAxis)
  217. {
  218. return NS_ERROR_NOT_IMPLEMENTED;
  219. }
  220. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAxis(const nsAString & aAxis)
  221. {
  222. return NS_ERROR_NOT_IMPLEMENTED;
  223. }
  224. /* attribute DOMString bgColor; */
  225. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetBgColor(nsAString & aBgColor)
  226. {
  227. return NS_ERROR_NOT_IMPLEMENTED;
  228. }
  229. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetBgColor(const nsAString & aBgColor)
  230. {
  231. return NS_ERROR_NOT_IMPLEMENTED;
  232. }
  233. /* attribute DOMString ch; */
  234. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCh(nsAString & aCh)
  235. {
  236. return NS_ERROR_NOT_IMPLEMENTED;
  237. }
  238. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetCh(const nsAString & aCh)
  239. {
  240. return NS_ERROR_NOT_IMPLEMENTED;
  241. }
  242. /* attribute DOMString chOff; */
  243. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetChOff(nsAString & aChOff)
  244. {
  245. return NS_ERROR_NOT_IMPLEMENTED;
  246. }
  247. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetChOff(const nsAString & aChOff)
  248. {
  249. return NS_ERROR_NOT_IMPLEMENTED;
  250. }
  251. /* attribute long colSpan; */
  252. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetColSpan(PRInt32 *aColSpan)
  253. {
  254. return NS_ERROR_NOT_IMPLEMENTED;
  255. }
  256. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetColSpan(PRInt32 aColSpan)
  257. {
  258. return NS_ERROR_NOT_IMPLEMENTED;
  259. }
  260. /* attribute DOMString headers; */
  261. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeaders(nsAString & aHeaders)
  262. {
  263. return NS_ERROR_NOT_IMPLEMENTED;
  264. }
  265. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeaders(const nsAString & aHeaders)
  266. {
  267. return NS_ERROR_NOT_IMPLEMENTED;
  268. }
  269. /* attribute DOMString height; */
  270. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeight(nsAString & aHeight)
  271. {
  272. return NS_ERROR_NOT_IMPLEMENTED;
  273. }
  274. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeight(const nsAString & aHeight)
  275. {
  276. return NS_ERROR_NOT_IMPLEMENTED;
  277. }
  278. /* attribute boolean noWrap; */
  279. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetNoWrap(PRBool *aNoWrap)
  280. {
  281. return NS_ERROR_NOT_IMPLEMENTED;
  282. }
  283. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetNoWrap(PRBool aNoWrap)
  284. {
  285. return NS_ERROR_NOT_IMPLEMENTED;
  286. }
  287. /* attribute long rowSpan; */
  288. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetRowSpan(PRInt32 *aRowSpan)
  289. {
  290. return NS_ERROR_NOT_IMPLEMENTED;
  291. }
  292. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetRowSpan(PRInt32 aRowSpan)
  293. {
  294. return NS_ERROR_NOT_IMPLEMENTED;
  295. }
  296. /* attribute DOMString scope; */
  297. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetScope(nsAString & aScope)
  298. {
  299. return NS_ERROR_NOT_IMPLEMENTED;
  300. }
  301. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetScope(const nsAString & aScope)
  302. {
  303. return NS_ERROR_NOT_IMPLEMENTED;
  304. }
  305. /* attribute DOMString vAlign; */
  306. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetVAlign(nsAString & aVAlign)
  307. {
  308. return NS_ERROR_NOT_IMPLEMENTED;
  309. }
  310. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetVAlign(const nsAString & aVAlign)
  311. {
  312. return NS_ERROR_NOT_IMPLEMENTED;
  313. }
  314. /* attribute DOMString width; */
  315. NS_IMETHODIMP nsDOMHTMLTableCellElement::GetWidth(nsAString & aWidth)
  316. {
  317. return NS_ERROR_NOT_IMPLEMENTED;
  318. }
  319. NS_IMETHODIMP nsDOMHTMLTableCellElement::SetWidth(const nsAString & aWidth)
  320. {
  321. return NS_ERROR_NOT_IMPLEMENTED;
  322. }
  323. /* End of implementation class template. */
  324. #endif
  325. #endif /* __gen_nsIDOMHTMLTableCellElement_h__ */