1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2006, 2007 Free Software Foundation
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program 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
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 #include <glade/glade.h>
23 #include "window-manager.h"
24 #include "psppire-data-editor.h"
28 struct editor_window parent;
30 GtkAction *action_data_new;
31 GtkAction *action_data_open;
32 GtkAction *action_data_save_as;
33 GtkAction *action_data_save;
36 GtkAction *invoke_text_import_assistant;
38 /* Actions which invoke dialog boxes */
39 GtkAction *invoke_weight_cases_dialog;
40 GtkAction *invoke_transpose_dialog;
41 GtkAction *invoke_split_file_dialog;
42 GtkAction *invoke_sort_cases_dialog;
43 GtkAction *invoke_compute_dialog;
44 GtkAction *invoke_comments_dialog;
45 GtkAction *invoke_select_cases_dialog;
46 GtkAction *invoke_goto_dialog;
47 GtkAction *invoke_variable_info_dialog;
48 GtkAction *invoke_find_dialog;
49 GtkAction *invoke_rank_dialog;
50 GtkAction *invoke_recode_same_dialog;
51 GtkAction *invoke_recode_different_dialog;
53 GtkAction *invoke_crosstabs_dialog;
54 GtkAction *invoke_descriptives_dialog;
55 GtkAction *invoke_frequencies_dialog;
56 GtkAction *invoke_examine_dialog;
57 GtkAction *invoke_regression_dialog;
59 GtkAction *invoke_t_test_independent_samples_dialog;
60 GtkAction *invoke_t_test_paired_samples_dialog;
61 GtkAction *invoke_oneway_anova_dialog;
62 GtkAction *invoke_t_test_one_sample_dialog;
65 /* Actions which do things */
66 GtkAction *insert_variable;
67 GtkAction *insert_case;
68 GtkAction *delete_variables;
69 GtkAction *delete_cases;
71 GtkToggleAction *toggle_value_labels;
75 GtkMenu *data_sheet_variable_popup_menu;
76 GtkMenu *data_sheet_cases_popup_menu;
78 PsppireDataEditor *data_editor;
80 gboolean save_as_portable;
82 /* Name of the file this data is associated with (ie, was loaded from or
83 has been saved to), in "filename encoding", or NULL, if it's not
84 associated with any file */
89 struct data_editor * new_data_editor (void);
91 void new_data_window (GtkMenuItem *, gpointer);
93 void data_editor_select_sheet (struct data_editor *de, gint page);