1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* This file is part of the GtkHTML library. 3 * 4 * Copyright (C) 2001 Ximian, Inc. 5 * Authors: Radek Doulik 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Library General Public 9 * License as published by the Free Software Foundation; either 10 * version 2 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Library General Public License for more details. 16 * 17 * You should have received a copy of the GNU Library General Public License 18 * along with this library; see the file COPYING.LIB. If not, write to 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef _HTMLENGINE_EDIT_TABLE_CELL_H 24 #define _HTMLENGINE_EDIT_TABLE_CELL_H 25 26 #include "htmltypes.h" 27 #include "htmlenums.h" 28 29 void html_engine_table_cell_set_bg_color (HTMLEngine *e, 30 HTMLTableCell *t, 31 GdkColor *c); 32 void html_engine_table_cell_set_bg_pixmap (HTMLEngine *e, 33 HTMLTableCell *t, 34 gchar *url); 35 void html_engine_table_cell_set_halign (HTMLEngine *e, 36 HTMLTableCell *cell, 37 HTMLHAlignType halign); 38 void html_engine_table_cell_set_valign (HTMLEngine *e, 39 HTMLTableCell *cell, 40 HTMLVAlignType valign); 41 void html_engine_table_cell_set_no_wrap (HTMLEngine *e, 42 HTMLTableCell *cell, 43 gboolean no_wrap); 44 void html_engine_table_cell_set_heading (HTMLEngine *e, 45 HTMLTableCell *cell, 46 gboolean heading); 47 void html_engine_table_cell_set_width (HTMLEngine *e, 48 HTMLTableCell *cell, 49 gint width, 50 gboolean percent); 51 HTMLTableCell *html_engine_get_table_cell (HTMLEngine *e); 52 void html_engine_delete_table_cell_contents (HTMLEngine *e); 53 void html_engine_set_cspan (HTMLEngine *e, 54 gint cspan); 55 void html_engine_set_rspan (HTMLEngine *e, 56 gint rspan); 57 gboolean html_engine_cspan_delta (HTMLEngine *e, 58 gint delta); 59 gboolean html_engine_rspan_delta (HTMLEngine *e, 60 gint delta); 61 62 #endif 63