1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
/* This file is part of the GtkHTML library.
4
Copyright (C) 2000 Helix Code, Inc.
5
Copyright (C) 2001 Ximian, Inc.
8
This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Library General Public
10
License as published by the Free Software Foundation; either
11
version 2 of the License, or (at your option) any later version.
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Library General Public License for more details.
18
You should have received a copy of the GNU Library General Public License
19
along with this library; see the file COPYING.LIB. If not, write to
20
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
Boston, MA 02111-1307, USA.
24
#ifndef _HTMLENGINE_EDIT_TABLES_H
25
#define _HTMLENGINE_EDIT_TABLES_H
27
#include "htmltypes.h"
28
#include "htmlenums.h"
30
void html_engine_insert_table (HTMLEngine *e,
38
void html_engine_insert_table_1_1 (HTMLEngine *e);
39
void html_engine_insert_table_column (HTMLEngine *e,
41
void html_engine_delete_table_column (HTMLEngine *e);
42
void html_engine_insert_table_row (HTMLEngine *e,
44
void html_engine_delete_table_row (HTMLEngine *e);
45
void html_engine_table_set_border_width (HTMLEngine *e,
49
void html_engine_table_set_bg_color (HTMLEngine *e,
52
void html_engine_table_set_bg_pixmap (HTMLEngine *e,
55
void html_engine_table_set_spacing (HTMLEngine *e,
59
void html_engine_table_set_padding (HTMLEngine *e,
63
void html_engine_table_set_align (HTMLEngine *e,
65
HTMLHAlignType align);
66
void html_engine_table_set_width (HTMLEngine *e,
70
void html_engine_table_set_cols (HTMLEngine *e,
72
void html_engine_table_set_rows (HTMLEngine *e,
74
HTMLTable *html_engine_get_table (HTMLEngine *e);
75
gboolean html_engine_goto_table_0 (HTMLEngine *e,
77
gboolean html_engine_goto_table (HTMLEngine *e,
81
gboolean html_engine_table_goto_col (HTMLEngine *e,
84
gboolean html_engine_table_goto_row (HTMLEngine *e,
87
void html_engine_delete_table (HTMLEngine *e);
88
HTMLTableCell *html_engine_new_cell (HTMLEngine *e,
90
void html_table_insert_row (HTMLTable *table,
93
HTMLTableCell **row_cells,
94
HTMLUndoDirection dir);
95
void html_table_insert_column (HTMLTable *table,
98
HTMLTableCell **column,
99
HTMLUndoDirection dir);
100
void html_table_delete_column (HTMLTable *t,
103
HTMLUndoDirection dir);
104
void html_table_delete_row (HTMLTable *t,
107
HTMLUndoDirection dir);