nsIDOMHTMLTableColElement.h 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLTableColElement.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLTableColElement_h__
  5. #define __gen_nsIDOMHTMLTableColElement_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: nsIDOMHTMLTableColElement */
  14. #define NS_IDOMHTMLTABLECOLELEMENT_IID_STR "a6cf90b4-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLTABLECOLELEMENT_IID \
  16. {0xa6cf90b4, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLTableColElement interface is the interface to a
  20. * [X]HTML col 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 nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECOLELEMENT_IID)
  30. /* attribute DOMString align; */
  31. NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. /* attribute DOMString ch; */
  34. NS_IMETHOD GetCh(nsAString & aCh) = 0;
  35. NS_IMETHOD SetCh(const nsAString & aCh) = 0;
  36. /* attribute DOMString chOff; */
  37. NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
  38. NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
  39. /* attribute long span; */
  40. NS_IMETHOD GetSpan(PRInt32 *aSpan) = 0;
  41. NS_IMETHOD SetSpan(PRInt32 aSpan) = 0;
  42. /* attribute DOMString vAlign; */
  43. NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
  44. NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
  45. /* attribute DOMString width; */
  46. NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  47. NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  48. };
  49. /* Use this macro when declaring classes that implement this interface. */
  50. #define NS_DECL_NSIDOMHTMLTABLECOLELEMENT \
  51. NS_IMETHOD GetAlign(nsAString & aAlign); \
  52. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  53. NS_IMETHOD GetCh(nsAString & aCh); \
  54. NS_IMETHOD SetCh(const nsAString & aCh); \
  55. NS_IMETHOD GetChOff(nsAString & aChOff); \
  56. NS_IMETHOD SetChOff(const nsAString & aChOff); \
  57. NS_IMETHOD GetSpan(PRInt32 *aSpan); \
  58. NS_IMETHOD SetSpan(PRInt32 aSpan); \
  59. NS_IMETHOD GetVAlign(nsAString & aVAlign); \
  60. NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
  61. NS_IMETHOD GetWidth(nsAString & aWidth); \
  62. NS_IMETHOD SetWidth(const nsAString & aWidth);
  63. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  64. #define NS_FORWARD_NSIDOMHTMLTABLECOLELEMENT(_to) \
  65. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  66. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  67. NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
  68. NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
  69. NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
  70. NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
  71. NS_IMETHOD GetSpan(PRInt32 *aSpan) { return _to GetSpan(aSpan); } \
  72. NS_IMETHOD SetSpan(PRInt32 aSpan) { return _to SetSpan(aSpan); } \
  73. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
  74. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
  75. NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  76. NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
  77. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  78. #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECOLELEMENT(_to) \
  79. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  80. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  81. NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
  82. NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
  83. NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
  84. NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
  85. NS_IMETHOD GetSpan(PRInt32 *aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpan(aSpan); } \
  86. NS_IMETHOD SetSpan(PRInt32 aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpan(aSpan); } \
  87. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
  88. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
  89. NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  90. NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
  91. #if 0
  92. /* Use the code below as a template for the implementation class for this interface. */
  93. /* Header file */
  94. class nsDOMHTMLTableColElement : public nsIDOMHTMLTableColElement
  95. {
  96. public:
  97. NS_DECL_ISUPPORTS
  98. NS_DECL_NSIDOMHTMLTABLECOLELEMENT
  99. nsDOMHTMLTableColElement();
  100. private:
  101. ~nsDOMHTMLTableColElement();
  102. protected:
  103. /* additional members */
  104. };
  105. /* Implementation file */
  106. NS_IMPL_ISUPPORTS1(nsDOMHTMLTableColElement, nsIDOMHTMLTableColElement)
  107. nsDOMHTMLTableColElement::nsDOMHTMLTableColElement()
  108. {
  109. /* member initializers and constructor code */
  110. }
  111. nsDOMHTMLTableColElement::~nsDOMHTMLTableColElement()
  112. {
  113. /* destructor code */
  114. }
  115. /* attribute DOMString align; */
  116. NS_IMETHODIMP nsDOMHTMLTableColElement::GetAlign(nsAString & aAlign)
  117. {
  118. return NS_ERROR_NOT_IMPLEMENTED;
  119. }
  120. NS_IMETHODIMP nsDOMHTMLTableColElement::SetAlign(const nsAString & aAlign)
  121. {
  122. return NS_ERROR_NOT_IMPLEMENTED;
  123. }
  124. /* attribute DOMString ch; */
  125. NS_IMETHODIMP nsDOMHTMLTableColElement::GetCh(nsAString & aCh)
  126. {
  127. return NS_ERROR_NOT_IMPLEMENTED;
  128. }
  129. NS_IMETHODIMP nsDOMHTMLTableColElement::SetCh(const nsAString & aCh)
  130. {
  131. return NS_ERROR_NOT_IMPLEMENTED;
  132. }
  133. /* attribute DOMString chOff; */
  134. NS_IMETHODIMP nsDOMHTMLTableColElement::GetChOff(nsAString & aChOff)
  135. {
  136. return NS_ERROR_NOT_IMPLEMENTED;
  137. }
  138. NS_IMETHODIMP nsDOMHTMLTableColElement::SetChOff(const nsAString & aChOff)
  139. {
  140. return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142. /* attribute long span; */
  143. NS_IMETHODIMP nsDOMHTMLTableColElement::GetSpan(PRInt32 *aSpan)
  144. {
  145. return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLTableColElement::SetSpan(PRInt32 aSpan)
  148. {
  149. return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151. /* attribute DOMString vAlign; */
  152. NS_IMETHODIMP nsDOMHTMLTableColElement::GetVAlign(nsAString & aVAlign)
  153. {
  154. return NS_ERROR_NOT_IMPLEMENTED;
  155. }
  156. NS_IMETHODIMP nsDOMHTMLTableColElement::SetVAlign(const nsAString & aVAlign)
  157. {
  158. return NS_ERROR_NOT_IMPLEMENTED;
  159. }
  160. /* attribute DOMString width; */
  161. NS_IMETHODIMP nsDOMHTMLTableColElement::GetWidth(nsAString & aWidth)
  162. {
  163. return NS_ERROR_NOT_IMPLEMENTED;
  164. }
  165. NS_IMETHODIMP nsDOMHTMLTableColElement::SetWidth(const nsAString & aWidth)
  166. {
  167. return NS_ERROR_NOT_IMPLEMENTED;
  168. }
  169. /* End of implementation class template. */
  170. #endif
  171. #endif /* __gen_nsIDOMHTMLTableColElement_h__ */