Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLTableCellElement.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0 -Release/WINNT_5.2_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLTableCellElement .idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLTableCellElement_h__
6 #define __gen_nsIDOMHTMLTableCellElement_h__
7
8
9 #ifndef __gen_nsIDOMHTMLElement_h__
10 #include "nsIDOMHTMLElement.h"
11 #endif
12
13 /* For IDL files that don't want to include root IDL files. */
14 #ifndef NS_NO_VTABLE
15 #define NS_NO_VTABLE
16 #endif
17
18 /* starting interface: nsIDOMHTMLTableCellElement */
19 #define NS_IDOMHTMLTABLECELLELEMENT_IID_STR "a6cf90b7-15b3-11d2-932e-00805f8add3 2"
20
21 #define NS_IDOMHTMLTABLECELLELEMENT_IID \
22 {0xa6cf90b7, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLTableCellElement interface is the interface to a
27 * [X]HTML td element.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-2-HTML/
31 *
32 * @status FROZEN
33 */
34 class NS_NO_VTABLE nsIDOMHTMLTableCellElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECELLELEMENT_IID)
38
39 /* readonly attribute long cellIndex; */
40 NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) = 0;
41
42 /* attribute DOMString abbr; */
43 NS_IMETHOD GetAbbr(nsAString & aAbbr) = 0;
44 NS_IMETHOD SetAbbr(const nsAString & aAbbr) = 0;
45
46 /* attribute DOMString align; */
47 NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
48 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
49
50 /* attribute DOMString axis; */
51 NS_IMETHOD GetAxis(nsAString & aAxis) = 0;
52 NS_IMETHOD SetAxis(const nsAString & aAxis) = 0;
53
54 /* attribute DOMString bgColor; */
55 NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
56 NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
57
58 /* attribute DOMString ch; */
59 NS_IMETHOD GetCh(nsAString & aCh) = 0;
60 NS_IMETHOD SetCh(const nsAString & aCh) = 0;
61
62 /* attribute DOMString chOff; */
63 NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
64 NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
65
66 /* attribute long colSpan; */
67 NS_IMETHOD GetColSpan(PRInt32 *aColSpan) = 0;
68 NS_IMETHOD SetColSpan(PRInt32 aColSpan) = 0;
69
70 /* attribute DOMString headers; */
71 NS_IMETHOD GetHeaders(nsAString & aHeaders) = 0;
72 NS_IMETHOD SetHeaders(const nsAString & aHeaders) = 0;
73
74 /* attribute DOMString height; */
75 NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
76 NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
77
78 /* attribute boolean noWrap; */
79 NS_IMETHOD GetNoWrap(PRBool *aNoWrap) = 0;
80 NS_IMETHOD SetNoWrap(PRBool aNoWrap) = 0;
81
82 /* attribute long rowSpan; */
83 NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) = 0;
84 NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) = 0;
85
86 /* attribute DOMString scope; */
87 NS_IMETHOD GetScope(nsAString & aScope) = 0;
88 NS_IMETHOD SetScope(const nsAString & aScope) = 0;
89
90 /* attribute DOMString vAlign; */
91 NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
92 NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
93
94 /* attribute DOMString width; */
95 NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
96 NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
97
98 };
99
100 /* Use this macro when declaring classes that implement this interface. */
101 #define NS_DECL_NSIDOMHTMLTABLECELLELEMENT \
102 NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex); \
103 NS_IMETHOD GetAbbr(nsAString & aAbbr); \
104 NS_IMETHOD SetAbbr(const nsAString & aAbbr); \
105 NS_IMETHOD GetAlign(nsAString & aAlign); \
106 NS_IMETHOD SetAlign(const nsAString & aAlign); \
107 NS_IMETHOD GetAxis(nsAString & aAxis); \
108 NS_IMETHOD SetAxis(const nsAString & aAxis); \
109 NS_IMETHOD GetBgColor(nsAString & aBgColor); \
110 NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
111 NS_IMETHOD GetCh(nsAString & aCh); \
112 NS_IMETHOD SetCh(const nsAString & aCh); \
113 NS_IMETHOD GetChOff(nsAString & aChOff); \
114 NS_IMETHOD SetChOff(const nsAString & aChOff); \
115 NS_IMETHOD GetColSpan(PRInt32 *aColSpan); \
116 NS_IMETHOD SetColSpan(PRInt32 aColSpan); \
117 NS_IMETHOD GetHeaders(nsAString & aHeaders); \
118 NS_IMETHOD SetHeaders(const nsAString & aHeaders); \
119 NS_IMETHOD GetHeight(nsAString & aHeight); \
120 NS_IMETHOD SetHeight(const nsAString & aHeight); \
121 NS_IMETHOD GetNoWrap(PRBool *aNoWrap); \
122 NS_IMETHOD SetNoWrap(PRBool aNoWrap); \
123 NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan); \
124 NS_IMETHOD SetRowSpan(PRInt32 aRowSpan); \
125 NS_IMETHOD GetScope(nsAString & aScope); \
126 NS_IMETHOD SetScope(const nsAString & aScope); \
127 NS_IMETHOD GetVAlign(nsAString & aVAlign); \
128 NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
129 NS_IMETHOD GetWidth(nsAString & aWidth); \
130 NS_IMETHOD SetWidth(const nsAString & aWidth);
131
132 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
133 #define NS_FORWARD_NSIDOMHTMLTABLECELLELEMENT(_to) \
134 NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return _to GetCellIndex(aCellIn dex); } \
135 NS_IMETHOD GetAbbr(nsAString & aAbbr) { return _to GetAbbr(aAbbr); } \
136 NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return _to SetAbbr(aAbbr); } \
137 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
138 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
139 NS_IMETHOD GetAxis(nsAString & aAxis) { return _to GetAxis(aAxis); } \
140 NS_IMETHOD SetAxis(const nsAString & aAxis) { return _to SetAxis(aAxis); } \
141 NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
142 NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgC olor); } \
143 NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
144 NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
145 NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
146 NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
147 NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return _to GetColSpan(aColSpan); } \
148 NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return _to SetColSpan(aColSpan); } \
149 NS_IMETHOD GetHeaders(nsAString & aHeaders) { return _to GetHeaders(aHeaders); } \
150 NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return _to SetHeaders(aHea ders); } \
151 NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
152 NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight ); } \
153 NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return _to GetNoWrap(aNoWrap); } \
154 NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return _to SetNoWrap(aNoWrap); } \
155 NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return _to GetRowSpan(aRowSpan); } \
156 NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return _to SetRowSpan(aRowSpan); } \
157 NS_IMETHOD GetScope(nsAString & aScope) { return _to GetScope(aScope); } \
158 NS_IMETHOD SetScope(const nsAString & aScope) { return _to SetScope(aScope); } \
159 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
160 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign ); } \
161 NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
162 NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
163
164 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
165 #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECELLELEMENT(_to) \
166 NS_IMETHOD GetCellIndex(PRInt32 *aCellIndex) { return !_to ? NS_ERROR_NULL_POI NTER : _to->GetCellIndex(aCellIndex); } \
167 NS_IMETHOD GetAbbr(nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbbr(aAbbr); } \
168 NS_IMETHOD SetAbbr(const nsAString & aAbbr) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetAbbr(aAbbr); } \
169 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
170 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetAlign(aAlign); } \
171 NS_IMETHOD GetAxis(nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAxis(aAxis); } \
172 NS_IMETHOD SetAxis(const nsAString & aAxis) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetAxis(aAxis); } \
173 NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POIN TER : _to->GetBgColor(aBgColor); } \
174 NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NUL L_POINTER : _to->SetBgColor(aBgColor); } \
175 NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to- >GetCh(aCh); } \
176 NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
177 NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
178 NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetChOff(aChOff); } \
179 NS_IMETHOD GetColSpan(PRInt32 *aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColSpan(aColSpan); } \
180 NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColSpan(aColSpan); } \
181 NS_IMETHOD GetHeaders(nsAString & aHeaders) { return !_to ? NS_ERROR_NULL_POIN TER : _to->GetHeaders(aHeaders); } \
182 NS_IMETHOD SetHeaders(const nsAString & aHeaders) { return !_to ? NS_ERROR_NUL L_POINTER : _to->SetHeaders(aHeaders); } \
183 NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetHeight(aHeight); } \
184 NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetHeight(aHeight); } \
185 NS_IMETHOD GetNoWrap(PRBool *aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNoWrap(aNoWrap); } \
186 NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return !_to ? NS_ERROR_NULL_POINTER : _ to->SetNoWrap(aNoWrap); } \
187 NS_IMETHOD GetRowSpan(PRInt32 *aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowSpan(aRowSpan); } \
188 NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRowSpan(aRowSpan); } \
189 NS_IMETHOD GetScope(nsAString & aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScope(aScope); } \
190 NS_IMETHOD SetScope(const nsAString & aScope) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetScope(aScope); } \
191 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetVAlign(aVAlign); } \
192 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetVAlign(aVAlign); } \
193 NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
194 NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetWidth(aWidth); }
195
196 #if 0
197 /* Use the code below as a template for the implementation class for this interf ace. */
198
199 /* Header file */
200 class nsDOMHTMLTableCellElement : public nsIDOMHTMLTableCellElement
201 {
202 public:
203 NS_DECL_ISUPPORTS
204 NS_DECL_NSIDOMHTMLTABLECELLELEMENT
205
206 nsDOMHTMLTableCellElement();
207
208 private:
209 ~nsDOMHTMLTableCellElement();
210
211 protected:
212 /* additional members */
213 };
214
215 /* Implementation file */
216 NS_IMPL_ISUPPORTS1(nsDOMHTMLTableCellElement, nsIDOMHTMLTableCellElement)
217
218 nsDOMHTMLTableCellElement::nsDOMHTMLTableCellElement()
219 {
220 /* member initializers and constructor code */
221 }
222
223 nsDOMHTMLTableCellElement::~nsDOMHTMLTableCellElement()
224 {
225 /* destructor code */
226 }
227
228 /* readonly attribute long cellIndex; */
229 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCellIndex(PRInt32 *aCellIndex)
230 {
231 return NS_ERROR_NOT_IMPLEMENTED;
232 }
233
234 /* attribute DOMString abbr; */
235 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAbbr(nsAString & aAbbr)
236 {
237 return NS_ERROR_NOT_IMPLEMENTED;
238 }
239 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAbbr(const nsAString & aAbbr)
240 {
241 return NS_ERROR_NOT_IMPLEMENTED;
242 }
243
244 /* attribute DOMString align; */
245 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAlign(nsAString & aAlign)
246 {
247 return NS_ERROR_NOT_IMPLEMENTED;
248 }
249 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAlign(const nsAString & aAlign)
250 {
251 return NS_ERROR_NOT_IMPLEMENTED;
252 }
253
254 /* attribute DOMString axis; */
255 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetAxis(nsAString & aAxis)
256 {
257 return NS_ERROR_NOT_IMPLEMENTED;
258 }
259 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetAxis(const nsAString & aAxis)
260 {
261 return NS_ERROR_NOT_IMPLEMENTED;
262 }
263
264 /* attribute DOMString bgColor; */
265 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetBgColor(nsAString & aBgColor)
266 {
267 return NS_ERROR_NOT_IMPLEMENTED;
268 }
269 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetBgColor(const nsAString & aBgColor)
270 {
271 return NS_ERROR_NOT_IMPLEMENTED;
272 }
273
274 /* attribute DOMString ch; */
275 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetCh(nsAString & aCh)
276 {
277 return NS_ERROR_NOT_IMPLEMENTED;
278 }
279 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetCh(const nsAString & aCh)
280 {
281 return NS_ERROR_NOT_IMPLEMENTED;
282 }
283
284 /* attribute DOMString chOff; */
285 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetChOff(nsAString & aChOff)
286 {
287 return NS_ERROR_NOT_IMPLEMENTED;
288 }
289 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetChOff(const nsAString & aChOff)
290 {
291 return NS_ERROR_NOT_IMPLEMENTED;
292 }
293
294 /* attribute long colSpan; */
295 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetColSpan(PRInt32 *aColSpan)
296 {
297 return NS_ERROR_NOT_IMPLEMENTED;
298 }
299 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetColSpan(PRInt32 aColSpan)
300 {
301 return NS_ERROR_NOT_IMPLEMENTED;
302 }
303
304 /* attribute DOMString headers; */
305 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeaders(nsAString & aHeaders)
306 {
307 return NS_ERROR_NOT_IMPLEMENTED;
308 }
309 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeaders(const nsAString & aHeaders)
310 {
311 return NS_ERROR_NOT_IMPLEMENTED;
312 }
313
314 /* attribute DOMString height; */
315 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetHeight(nsAString & aHeight)
316 {
317 return NS_ERROR_NOT_IMPLEMENTED;
318 }
319 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetHeight(const nsAString & aHeight)
320 {
321 return NS_ERROR_NOT_IMPLEMENTED;
322 }
323
324 /* attribute boolean noWrap; */
325 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetNoWrap(PRBool *aNoWrap)
326 {
327 return NS_ERROR_NOT_IMPLEMENTED;
328 }
329 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetNoWrap(PRBool aNoWrap)
330 {
331 return NS_ERROR_NOT_IMPLEMENTED;
332 }
333
334 /* attribute long rowSpan; */
335 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetRowSpan(PRInt32 *aRowSpan)
336 {
337 return NS_ERROR_NOT_IMPLEMENTED;
338 }
339 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetRowSpan(PRInt32 aRowSpan)
340 {
341 return NS_ERROR_NOT_IMPLEMENTED;
342 }
343
344 /* attribute DOMString scope; */
345 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetScope(nsAString & aScope)
346 {
347 return NS_ERROR_NOT_IMPLEMENTED;
348 }
349 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetScope(const nsAString & aScope)
350 {
351 return NS_ERROR_NOT_IMPLEMENTED;
352 }
353
354 /* attribute DOMString vAlign; */
355 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetVAlign(nsAString & aVAlign)
356 {
357 return NS_ERROR_NOT_IMPLEMENTED;
358 }
359 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetVAlign(const nsAString & aVAlign)
360 {
361 return NS_ERROR_NOT_IMPLEMENTED;
362 }
363
364 /* attribute DOMString width; */
365 NS_IMETHODIMP nsDOMHTMLTableCellElement::GetWidth(nsAString & aWidth)
366 {
367 return NS_ERROR_NOT_IMPLEMENTED;
368 }
369 NS_IMETHODIMP nsDOMHTMLTableCellElement::SetWidth(const nsAString & aWidth)
370 {
371 return NS_ERROR_NOT_IMPLEMENTED;
372 }
373
374 /* End of implementation class template. */
375 #endif
376
377
378 #endif /* __gen_nsIDOMHTMLTableCellElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLTableCaptionElem.h ('k') | gecko-sdk/include/nsIDOMHTMLTableColElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698