1 /** Header file generated with fdesign **/
3 #ifndef FD_form_document_h_
4 #define FD_form_document_h_
8 /** Callbacks, globals and object handlers **/
9 extern "C" void ChoiceClassCB(FL_OBJECT *, long);
10 extern "C" void DocumentCancelCB(FL_OBJECT *, long);
11 extern "C" void DocumentApplyCB(FL_OBJECT *, long);
12 extern "C" void DocumentOKCB(FL_OBJECT *, long);
13 extern "C" void DocumentDefskipCB(FL_OBJECT *, long);
14 extern "C" void DocumentSpacingCB(FL_OBJECT *, long);
15 extern "C" void DocumentBulletsCB(FL_OBJECT *, long);
17 extern "C" void CharacterApplyCB(FL_OBJECT *, long);
18 extern "C" void CharacterCloseCB(FL_OBJECT *, long);
20 extern "C" void ParagraphOKCB(FL_OBJECT *, long);
21 extern "C" void ParagraphApplyCB(FL_OBJECT *, long);
22 extern "C" void ParagraphCancelCB(FL_OBJECT *, long);
23 extern "C" void ParagraphVSpaceCB(FL_OBJECT *, long);
24 extern "C" void ParagraphExtraOpen(FL_OBJECT *, long);
26 extern "C" void PreambleOKCB(FL_OBJECT *, long);
27 extern "C" void PreambleApplyCB(FL_OBJECT *, long);
28 extern "C" void PreambleCancelCB(FL_OBJECT *, long);
30 extern "C" void QuotesOKCB(FL_OBJECT *, long);
31 extern "C" void QuotesApplyCB(FL_OBJECT *, long);
32 extern "C" void QuotesCancelCB(FL_OBJECT *, long);
34 extern "C" void PaperMarginsCB(FL_OBJECT *, long);
35 extern "C" void PaperCancelCB(FL_OBJECT *, long);
36 extern "C" void PaperApplyCB(FL_OBJECT *, long);
37 extern "C" void PaperOKCB(FL_OBJECT *, long);
40 extern "C" void TableOptCloseCB(FL_OBJECT *, long);
41 extern "C" void TableOptionsCB(FL_OBJECT *, long);
42 extern "C" void SetPWidthCB(FL_OBJECT *, long);
45 extern "C" void CheckPExtraOptCB(FL_OBJECT *, long);
46 extern "C" void ParagraphExtraOKCB(FL_OBJECT *, long);
47 extern "C" void ParagraphExtraApplyCB(FL_OBJECT *, long);
48 extern "C" void ParagraphExtraCancelCB(FL_OBJECT *, long);
51 extern "C" void TableOptionsCB(FL_OBJECT *, long);
52 extern "C" void TableSpeCloseCB(FL_OBJECT *, long);
57 /* Additional Functions/Methods */
59 #include "bufferparams.h"
61 extern bool UpdateLayoutDocument(BufferParams *params = NULL);
62 extern bool UpdateLayoutPreamble();
63 extern bool UpdateLayoutPaper();
64 extern bool UpdateLayoutQuotes();
65 extern bool UpdateLayoutParagraph();
66 extern bool UpdateParagraphExtra();
68 extern bool UpdateLayoutTable(int);
71 extern void MenuLayoutCharacter();
72 extern void MenuLayoutDocument();
73 extern void MenuLayoutPreamble();
74 extern void MenuLayoutPaper();
75 extern void MenuLayoutQuotes();
76 extern void MenuLayoutParagraph();
78 extern void MenuLayoutTable(int);
83 /**** Forms and Objects ****/
85 FL_FORM *form_document;
89 FL_OBJECT *group_radio_separation;
90 FL_OBJECT *radio_indent;
91 FL_OBJECT *radio_skip;
92 FL_OBJECT *choice_class;
93 FL_OBJECT *choice_pagestyle;
94 FL_OBJECT *choice_fonts;
95 FL_OBJECT *choice_fontsize;
96 FL_OBJECT *button_cancel;
97 FL_OBJECT *button_apply;
99 FL_OBJECT *input_float_placement;
100 FL_OBJECT *choice_postscript_driver;
101 FL_OBJECT *choice_inputenc;
102 FL_OBJECT *group_radio_sides;
103 FL_OBJECT *radio_sides_one;
104 FL_OBJECT *radio_sides_two;
105 FL_OBJECT *group_radio_columns;
106 FL_OBJECT *radio_columns_one;
107 FL_OBJECT *radio_columns_two;
108 FL_OBJECT *input_extra;
109 FL_OBJECT *choice_language;
110 FL_OBJECT *input_default_skip;
111 FL_OBJECT *choice_default_skip;
112 FL_OBJECT *slider_secnumdepth;
113 FL_OBJECT *slider_tocdepth;
114 FL_OBJECT *choice_spacing;
115 FL_OBJECT *button_bullets;
116 FL_OBJECT *check_use_amsmath;
117 FL_OBJECT *input_spacing;
120 extern FD_form_document * create_form_form_document(void);
122 FL_FORM *form_character;
126 FL_OBJECT *choice_family;
127 FL_OBJECT *choice_series;
128 FL_OBJECT *choice_shape;
129 FL_OBJECT *choice_size;
130 FL_OBJECT *choice_bar;
131 FL_OBJECT *button_apply;
132 FL_OBJECT *button_close;
133 FL_OBJECT *choice_color;
134 FL_OBJECT *check_toggle_all;
135 FL_OBJECT *choice_language;
138 extern FD_form_character * create_form_form_character(void);
140 FL_FORM *form_paragraph;
144 FL_OBJECT *button_ok;
145 FL_OBJECT *button_apply;
146 FL_OBJECT *button_cancel;
147 FL_OBJECT *input_labelwidth;
148 FL_OBJECT *check_lines_top;
149 FL_OBJECT *check_lines_bottom;
150 FL_OBJECT *check_pagebreaks_top;
151 FL_OBJECT *check_pagebreaks_bottom;
152 FL_OBJECT *check_noindent;
153 FL_OBJECT *group_radio_alignment;
154 FL_OBJECT *radio_align_right;
155 FL_OBJECT *radio_align_left;
156 FL_OBJECT *radio_align_block;
157 FL_OBJECT *radio_align_center;
158 FL_OBJECT *input_space_above;
159 FL_OBJECT *input_space_below;
160 FL_OBJECT *choice_space_above;
161 FL_OBJECT *choice_space_below;
162 FL_OBJECT *button_pextra;
163 FL_OBJECT *check_space_above;
164 FL_OBJECT *check_space_below;
167 extern FD_form_paragraph * create_form_form_paragraph(void);
169 FL_FORM *form_preamble;
173 FL_OBJECT *button_ok;
174 FL_OBJECT *button_apply;
175 FL_OBJECT *button_cancel;
176 FL_OBJECT *input_preamble;
179 extern FD_form_preamble * create_form_form_preamble(void);
181 FL_FORM *form_quotes;
185 FL_OBJECT *choice_quotes_language;
186 FL_OBJECT *group_radio_quotes_number;
187 FL_OBJECT *radio_single;
188 FL_OBJECT *radio_double;
191 extern FD_form_quotes * create_form_form_quotes(void);
197 FL_OBJECT *choice_paperpackage;
198 FL_OBJECT *button_cancel;
199 FL_OBJECT *button_apply;
200 FL_OBJECT *button_ok;
201 FL_OBJECT *greoup_radio_orientation;
202 FL_OBJECT *radio_portrait;
203 FL_OBJECT *radio_landscape;
204 FL_OBJECT *choice_papersize2;
205 FL_OBJECT *push_use_geometry;
206 FL_OBJECT *input_custom_width;
207 FL_OBJECT *input_custom_height;
208 FL_OBJECT *input_top_margin;
209 FL_OBJECT *input_bottom_margin;
210 FL_OBJECT *input_left_margin;
211 FL_OBJECT *input_right_margin;
212 FL_OBJECT *input_head_height;
213 FL_OBJECT *input_head_sep;
214 FL_OBJECT *input_foot_skip;
215 FL_OBJECT *text_warning;
218 extern FD_form_paper * create_form_form_paper(void);
220 FL_FORM *form_table_options;
224 FL_OBJECT *text_warning;
225 FL_OBJECT *button_close;
226 FL_OBJECT *radio_border_top;
227 FL_OBJECT *radio_border_bottom;
228 FL_OBJECT *radio_border_left;
229 FL_OBJECT *radio_border_right;
230 FL_OBJECT *radio_multicolumn;
231 FL_OBJECT *button_append_column;
232 FL_OBJECT *button_delete_column;
233 FL_OBJECT *button_append_row;
234 FL_OBJECT *button_delete_row;
235 FL_OBJECT *button_table_delete;
236 FL_OBJECT *input_table_column;
237 FL_OBJECT *input_table_row;
238 FL_OBJECT *button_set_borders;
239 FL_OBJECT *button_unset_borders;
240 FL_OBJECT *radio_longtable;
241 FL_OBJECT *input_column_width;
242 FL_OBJECT *radio_rotate_table;
243 FL_OBJECT *radio_linebreak_cell;
244 FL_OBJECT *radio_lt_firsthead;
245 FL_OBJECT *radio_lt_head;
246 FL_OBJECT *radio_lt_foot;
247 FL_OBJECT *radio_lt_lastfoot;
248 FL_OBJECT *radio_lt_newpage;
249 FL_OBJECT *radio_rotate_cell;
250 FL_OBJECT *button_table_extra;
251 FL_OBJECT *radio_align_left;
252 FL_OBJECT *radio_align_right;
253 FL_OBJECT *radio_align_center;
254 } FD_form_table_options;
256 extern FD_form_table_options * create_form_form_table_options(void);
258 FL_FORM *form_paragraph_extra;
262 FL_OBJECT *input_pextra_width;
263 FL_OBJECT *button_ok;
264 FL_OBJECT *button_apply;
265 FL_OBJECT *button_cancel;
266 FL_OBJECT *input_pextra_widthp;
267 FL_OBJECT *group_alignment;
268 FL_OBJECT *radio_pextra_top;
269 FL_OBJECT *radio_pextra_middle;
270 FL_OBJECT *radio_pextra_bottom;
271 FL_OBJECT *text_warning;
272 FL_OBJECT *radio_pextra_hfill;
273 FL_OBJECT *radio_pextra_startmp;
274 FL_OBJECT *group_extraopt;
275 FL_OBJECT *radio_pextra_indent;
276 FL_OBJECT *radio_pextra_minipage;
277 FL_OBJECT *radio_pextra_floatflt;
278 } FD_form_paragraph_extra;
280 extern FD_form_paragraph_extra * create_form_form_paragraph_extra(void);
282 FL_FORM *form_table_extra;
286 FL_OBJECT *input_special_alignment;
287 FL_OBJECT *input_special_multialign;
288 } FD_form_table_extra;
290 extern FD_form_table_extra * create_form_form_table_extra(void);
294 #endif /* FD_form_document_h_ */