00001 /*************************************************************************** 00002 * field.h 00003 * 00004 * Fri Aug 25 14:59:55 2006 00005 * Copyright 2006-2007 Neil Williams 00006 * linux@codehelp.co.uk 00007 ****************************************************************************/ 00008 /* 00009 This package is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 #ifndef _FIELD_H 00023 #define _FIELD_H 00024 00032 typedef struct 00033 { 00034 gint16 sheet_column; 00035 QlFieldType type; 00040 gint16 formatting; 00041 gint16 decimal_places; 00042 gint16 justification; 00043 gint16 unused1, unused2; 00044 gint16 width; 00045 gchar * name; 00046 } QlFieldInfo; 00047 00048 /* for Column Menu */ 00049 void column_add (GtkAction * w, gpointer data); 00050 void column_edit (GtkAction * w, gpointer data); 00051 void column_delete (GtkAction * w, gpointer data); 00052 void column_left (GtkAction * w, gpointer data); 00053 void column_right (GtkAction * w, gpointer data); 00054 void new_file (GtkAction * w, gpointer data); 00055 00056 gint16 go_edit_column (); 00057 00058 #endif /* _FIELD_H */