2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2006, 2007 Free Software Foundation
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 #include <glade/glade.h>
26 #include "window-manager.h"
30 struct editor_window parent;
32 GtkAction *action_data_new;
33 GtkAction *action_data_open;
34 GtkAction *action_data_save_as;
35 GtkAction *action_data_save;
37 GtkAction *invoke_weight_cases_dialog;
38 GtkAction *invoke_transpose_dialog;
39 GtkAction *invoke_split_file_dialog;
40 GtkAction *invoke_sort_cases_dialog;
41 GtkAction *invoke_compute_dialog;
42 GtkAction *invoke_comments_dialog;
44 GtkAction *invoke_variable_info_dialog;
48 gboolean save_as_portable;
50 /* Name of the file this data is associated with (ie, was loaded from or
51 has been saved to), in "filename encoding", or NULL, if it's not
52 associated with any file */
57 struct data_editor * new_data_editor (void);
59 void new_data_window (GtkMenuItem *, gpointer);
61 void data_editor_select_sheet (struct data_editor *de, gint page);
63 enum {PAGE_DATA_SHEET = 0, PAGE_VAR_SHEET};