1/*
2 * This file is part of the WebKit open source project.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
21#error "Only <webkitdom/webkitdom.h> can be included directly."
22#endif
23
24#ifndef WebKitDOMHTMLTableElement_h
25#define WebKitDOMHTMLTableElement_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMHTMLElement.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT (webkit_dom_html_table_element_get_type())
34#define WEBKIT_DOM_HTML_TABLE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT, WebKitDOMHTMLTableElement))
35#define WEBKIT_DOM_HTML_TABLE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT, WebKitDOMHTMLTableElementClass)
36#define WEBKIT_DOM_IS_HTML_TABLE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT))
37#define WEBKIT_DOM_IS_HTML_TABLE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT))
38#define WEBKIT_DOM_HTML_TABLE_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_TABLE_ELEMENT, WebKitDOMHTMLTableElementClass))
39
40struct _WebKitDOMHTMLTableElement {
41 WebKitDOMHTMLElement parent_instance;
42};
43
44struct _WebKitDOMHTMLTableElementClass {
45 WebKitDOMHTMLElementClass parent_class;
46};
47
48WEBKIT_DEPRECATED GType
49webkit_dom_html_table_element_get_type(void);
50
51/**
52 * webkit_dom_html_table_element_create_t_head:
53 * @self: A #WebKitDOMHTMLTableElement
54 *
55 * Returns: (transfer none): A #WebKitDOMHTMLElement
56 *
57 * Deprecated: 2.22: Use JavaScriptCore API instead
58**/
59WEBKIT_DEPRECATED WebKitDOMHTMLElement*
60webkit_dom_html_table_element_create_t_head(WebKitDOMHTMLTableElement* self);
61
62/**
63 * webkit_dom_html_table_element_delete_t_head:
64 * @self: A #WebKitDOMHTMLTableElement
65 *
66 *
67 * Deprecated: 2.22: Use JavaScriptCore API instead
68**/
69WEBKIT_DEPRECATED void
70webkit_dom_html_table_element_delete_t_head(WebKitDOMHTMLTableElement* self);
71
72/**
73 * webkit_dom_html_table_element_create_t_foot:
74 * @self: A #WebKitDOMHTMLTableElement
75 *
76 * Returns: (transfer none): A #WebKitDOMHTMLElement
77 *
78 * Deprecated: 2.22: Use JavaScriptCore API instead
79**/
80WEBKIT_DEPRECATED WebKitDOMHTMLElement*
81webkit_dom_html_table_element_create_t_foot(WebKitDOMHTMLTableElement* self);
82
83/**
84 * webkit_dom_html_table_element_delete_t_foot:
85 * @self: A #WebKitDOMHTMLTableElement
86 *
87 *
88 * Deprecated: 2.22: Use JavaScriptCore API instead
89**/
90WEBKIT_DEPRECATED void
91webkit_dom_html_table_element_delete_t_foot(WebKitDOMHTMLTableElement* self);
92
93/**
94 * webkit_dom_html_table_element_create_caption:
95 * @self: A #WebKitDOMHTMLTableElement
96 *
97 * Returns: (transfer none): A #WebKitDOMHTMLElement
98 *
99 * Deprecated: 2.22: Use JavaScriptCore API instead
100**/
101WEBKIT_DEPRECATED WebKitDOMHTMLElement*
102webkit_dom_html_table_element_create_caption(WebKitDOMHTMLTableElement* self);
103
104/**
105 * webkit_dom_html_table_element_delete_caption:
106 * @self: A #WebKitDOMHTMLTableElement
107 *
108 *
109 * Deprecated: 2.22: Use JavaScriptCore API instead
110**/
111WEBKIT_DEPRECATED void
112webkit_dom_html_table_element_delete_caption(WebKitDOMHTMLTableElement* self);
113
114/**
115 * webkit_dom_html_table_element_insert_row:
116 * @self: A #WebKitDOMHTMLTableElement
117 * @index: A #glong
118 * @error: #GError
119 *
120 * Returns: (transfer none): A #WebKitDOMHTMLElement
121 *
122 * Deprecated: 2.22: Use JavaScriptCore API instead
123**/
124WEBKIT_DEPRECATED WebKitDOMHTMLElement*
125webkit_dom_html_table_element_insert_row(WebKitDOMHTMLTableElement* self, glong index, GError** error);
126
127/**
128 * webkit_dom_html_table_element_delete_row:
129 * @self: A #WebKitDOMHTMLTableElement
130 * @index: A #glong
131 * @error: #GError
132 *
133 *
134 * Deprecated: 2.22: Use JavaScriptCore API instead
135**/
136WEBKIT_DEPRECATED void
137webkit_dom_html_table_element_delete_row(WebKitDOMHTMLTableElement* self, glong index, GError** error);
138
139/**
140 * webkit_dom_html_table_element_get_caption:
141 * @self: A #WebKitDOMHTMLTableElement
142 *
143 * Returns: (transfer none): A #WebKitDOMHTMLTableCaptionElement
144 *
145 * Deprecated: 2.22: Use JavaScriptCore API instead
146**/
147WEBKIT_DEPRECATED WebKitDOMHTMLTableCaptionElement*
148webkit_dom_html_table_element_get_caption(WebKitDOMHTMLTableElement* self);
149
150/**
151 * webkit_dom_html_table_element_set_caption:
152 * @self: A #WebKitDOMHTMLTableElement
153 * @value: A #WebKitDOMHTMLTableCaptionElement
154 * @error: #GError
155 *
156 *
157 * Deprecated: 2.22: Use JavaScriptCore API instead
158**/
159WEBKIT_DEPRECATED void
160webkit_dom_html_table_element_set_caption(WebKitDOMHTMLTableElement* self, WebKitDOMHTMLTableCaptionElement* value, GError** error);
161
162/**
163 * webkit_dom_html_table_element_get_t_head:
164 * @self: A #WebKitDOMHTMLTableElement
165 *
166 * Returns: (transfer none): A #WebKitDOMHTMLTableSectionElement
167 *
168 * Deprecated: 2.22: Use JavaScriptCore API instead
169**/
170WEBKIT_DEPRECATED WebKitDOMHTMLTableSectionElement*
171webkit_dom_html_table_element_get_t_head(WebKitDOMHTMLTableElement* self);
172
173/**
174 * webkit_dom_html_table_element_set_t_head:
175 * @self: A #WebKitDOMHTMLTableElement
176 * @value: A #WebKitDOMHTMLTableSectionElement
177 * @error: #GError
178 *
179 *
180 * Deprecated: 2.22: Use JavaScriptCore API instead
181**/
182WEBKIT_DEPRECATED void
183webkit_dom_html_table_element_set_t_head(WebKitDOMHTMLTableElement* self, WebKitDOMHTMLTableSectionElement* value, GError** error);
184
185/**
186 * webkit_dom_html_table_element_get_t_foot:
187 * @self: A #WebKitDOMHTMLTableElement
188 *
189 * Returns: (transfer none): A #WebKitDOMHTMLTableSectionElement
190 *
191 * Deprecated: 2.22: Use JavaScriptCore API instead
192**/
193WEBKIT_DEPRECATED WebKitDOMHTMLTableSectionElement*
194webkit_dom_html_table_element_get_t_foot(WebKitDOMHTMLTableElement* self);
195
196/**
197 * webkit_dom_html_table_element_set_t_foot:
198 * @self: A #WebKitDOMHTMLTableElement
199 * @value: A #WebKitDOMHTMLTableSectionElement
200 * @error: #GError
201 *
202 *
203 * Deprecated: 2.22: Use JavaScriptCore API instead
204**/
205WEBKIT_DEPRECATED void
206webkit_dom_html_table_element_set_t_foot(WebKitDOMHTMLTableElement* self, WebKitDOMHTMLTableSectionElement* value, GError** error);
207
208/**
209 * webkit_dom_html_table_element_get_rows:
210 * @self: A #WebKitDOMHTMLTableElement
211 *
212 * Returns: (transfer full): A #WebKitDOMHTMLCollection
213 *
214 * Deprecated: 2.22: Use JavaScriptCore API instead
215**/
216WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
217webkit_dom_html_table_element_get_rows(WebKitDOMHTMLTableElement* self);
218
219/**
220 * webkit_dom_html_table_element_get_t_bodies:
221 * @self: A #WebKitDOMHTMLTableElement
222 *
223 * Returns: (transfer full): A #WebKitDOMHTMLCollection
224 *
225 * Deprecated: 2.22: Use JavaScriptCore API instead
226**/
227WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
228webkit_dom_html_table_element_get_t_bodies(WebKitDOMHTMLTableElement* self);
229
230/**
231 * webkit_dom_html_table_element_get_align:
232 * @self: A #WebKitDOMHTMLTableElement
233 *
234 * Returns: A #gchar
235 *
236 * Deprecated: 2.22: Use JavaScriptCore API instead
237**/
238WEBKIT_DEPRECATED gchar*
239webkit_dom_html_table_element_get_align(WebKitDOMHTMLTableElement* self);
240
241/**
242 * webkit_dom_html_table_element_set_align:
243 * @self: A #WebKitDOMHTMLTableElement
244 * @value: A #gchar
245 *
246 *
247 * Deprecated: 2.22: Use JavaScriptCore API instead
248**/
249WEBKIT_DEPRECATED void
250webkit_dom_html_table_element_set_align(WebKitDOMHTMLTableElement* self, const gchar* value);
251
252/**
253 * webkit_dom_html_table_element_get_bg_color:
254 * @self: A #WebKitDOMHTMLTableElement
255 *
256 * Returns: A #gchar
257 *
258 * Deprecated: 2.22: Use JavaScriptCore API instead
259**/
260WEBKIT_DEPRECATED gchar*
261webkit_dom_html_table_element_get_bg_color(WebKitDOMHTMLTableElement* self);
262
263/**
264 * webkit_dom_html_table_element_set_bg_color:
265 * @self: A #WebKitDOMHTMLTableElement
266 * @value: A #gchar
267 *
268 *
269 * Deprecated: 2.22: Use JavaScriptCore API instead
270**/
271WEBKIT_DEPRECATED void
272webkit_dom_html_table_element_set_bg_color(WebKitDOMHTMLTableElement* self, const gchar* value);
273
274/**
275 * webkit_dom_html_table_element_get_border:
276 * @self: A #WebKitDOMHTMLTableElement
277 *
278 * Returns: A #gchar
279 *
280 * Deprecated: 2.22: Use JavaScriptCore API instead
281**/
282WEBKIT_DEPRECATED gchar*
283webkit_dom_html_table_element_get_border(WebKitDOMHTMLTableElement* self);
284
285/**
286 * webkit_dom_html_table_element_set_border:
287 * @self: A #WebKitDOMHTMLTableElement
288 * @value: A #gchar
289 *
290 *
291 * Deprecated: 2.22: Use JavaScriptCore API instead
292**/
293WEBKIT_DEPRECATED void
294webkit_dom_html_table_element_set_border(WebKitDOMHTMLTableElement* self, const gchar* value);
295
296/**
297 * webkit_dom_html_table_element_get_cell_padding:
298 * @self: A #WebKitDOMHTMLTableElement
299 *
300 * Returns: A #gchar
301 *
302 * Deprecated: 2.22: Use JavaScriptCore API instead
303**/
304WEBKIT_DEPRECATED gchar*
305webkit_dom_html_table_element_get_cell_padding(WebKitDOMHTMLTableElement* self);
306
307/**
308 * webkit_dom_html_table_element_set_cell_padding:
309 * @self: A #WebKitDOMHTMLTableElement
310 * @value: A #gchar
311 *
312 *
313 * Deprecated: 2.22: Use JavaScriptCore API instead
314**/
315WEBKIT_DEPRECATED void
316webkit_dom_html_table_element_set_cell_padding(WebKitDOMHTMLTableElement* self, const gchar* value);
317
318/**
319 * webkit_dom_html_table_element_get_cell_spacing:
320 * @self: A #WebKitDOMHTMLTableElement
321 *
322 * Returns: A #gchar
323 *
324 * Deprecated: 2.22: Use JavaScriptCore API instead
325**/
326WEBKIT_DEPRECATED gchar*
327webkit_dom_html_table_element_get_cell_spacing(WebKitDOMHTMLTableElement* self);
328
329/**
330 * webkit_dom_html_table_element_set_cell_spacing:
331 * @self: A #WebKitDOMHTMLTableElement
332 * @value: A #gchar
333 *
334 *
335 * Deprecated: 2.22: Use JavaScriptCore API instead
336**/
337WEBKIT_DEPRECATED void
338webkit_dom_html_table_element_set_cell_spacing(WebKitDOMHTMLTableElement* self, const gchar* value);
339
340/**
341 * webkit_dom_html_table_element_get_rules:
342 * @self: A #WebKitDOMHTMLTableElement
343 *
344 * Returns: A #gchar
345 *
346 * Deprecated: 2.22: Use JavaScriptCore API instead
347**/
348WEBKIT_DEPRECATED gchar*
349webkit_dom_html_table_element_get_rules(WebKitDOMHTMLTableElement* self);
350
351/**
352 * webkit_dom_html_table_element_set_rules:
353 * @self: A #WebKitDOMHTMLTableElement
354 * @value: A #gchar
355 *
356 *
357 * Deprecated: 2.22: Use JavaScriptCore API instead
358**/
359WEBKIT_DEPRECATED void
360webkit_dom_html_table_element_set_rules(WebKitDOMHTMLTableElement* self, const gchar* value);
361
362/**
363 * webkit_dom_html_table_element_get_summary:
364 * @self: A #WebKitDOMHTMLTableElement
365 *
366 * Returns: A #gchar
367 *
368 * Deprecated: 2.22: Use JavaScriptCore API instead
369**/
370WEBKIT_DEPRECATED gchar*
371webkit_dom_html_table_element_get_summary(WebKitDOMHTMLTableElement* self);
372
373/**
374 * webkit_dom_html_table_element_set_summary:
375 * @self: A #WebKitDOMHTMLTableElement
376 * @value: A #gchar
377 *
378 *
379 * Deprecated: 2.22: Use JavaScriptCore API instead
380**/
381WEBKIT_DEPRECATED void
382webkit_dom_html_table_element_set_summary(WebKitDOMHTMLTableElement* self, const gchar* value);
383
384/**
385 * webkit_dom_html_table_element_get_width:
386 * @self: A #WebKitDOMHTMLTableElement
387 *
388 * Returns: A #gchar
389 *
390 * Deprecated: 2.22: Use JavaScriptCore API instead
391**/
392WEBKIT_DEPRECATED gchar*
393webkit_dom_html_table_element_get_width(WebKitDOMHTMLTableElement* self);
394
395/**
396 * webkit_dom_html_table_element_set_width:
397 * @self: A #WebKitDOMHTMLTableElement
398 * @value: A #gchar
399 *
400 *
401 * Deprecated: 2.22: Use JavaScriptCore API instead
402**/
403WEBKIT_DEPRECATED void
404webkit_dom_html_table_element_set_width(WebKitDOMHTMLTableElement* self, const gchar* value);
405
406G_END_DECLS
407
408#endif /* WebKitDOMHTMLTableElement_h */
409