1 /*
2  *      datatypes.h
3  *
4  *      Copyright 2008-2012 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
5  *
6  *      This program is free software; you can redistribute it and/or modify
7  *      it under the terms of the GNU General Public License as published by
8  *      the Free Software Foundation; either version 2 of the License, or
9  *      (at your option) any later version.
10  *
11  *      This program is distributed in the hope that it will be useful,
12  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *      GNU General Public License for more details.
15  *
16  *      You should have received a copy of the GNU General Public License
17  *      along with this program; if not, write to the Free Software
18  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  *      MA 02110-1301, USA.
20  */
21 
22 #ifndef DATATYPES_H
23 #define DATATYPES_H
24 
25 typedef struct
26 {
27 	gint cat;
28 	const gchar *label;
29 	const gchar *latex;
30 } SubMenuTemplate;
31 
32 
33 typedef struct
34 {
35 	gint cat;
36 	const gchar *label;
37 	gboolean sorted;
38 } CategoryName;
39 
40 
41 typedef struct
42 {
43 	gchar *filepath;
44 	const gchar *label;
45 	GString *template;
46 } TemplateEntry;
47 
48 
49 typedef struct
50 {
51 	GtkWidget *documentclass_combobox;
52 	GtkWidget *encoding_combobox;
53 	GtkWidget *fontsize_combobox;
54 	GtkWidget *checkbox_KOMA;
55 	GtkWidget *author_textbox;
56 	GtkWidget *date_textbox;
57 	GtkWidget *title_textbox;
58 	GtkWidget *papersize_combobox;
59 	GtkWidget *checkbox_draft;
60 	GtkWidget *template_combobox;
61 	GtkWidget *orientation_combobox;
62 	GPtrArray *template_list;
63 	gboolean draft_active;
64 } LaTeXWizard;
65 
66 typedef struct
67 {
68 	const gchar *latex;
69 	const gchar *label;
70 } BibTeXType;
71 
72 typedef struct
73 {
74 	const gchar *label_name;
75 	gint page;
76 	const gchar *chapter;
77 } LaTeXLabel;
78 
79 #endif
80