1 /** Header file generated with fdesign on Mon Apr 12 19:09:42 1999.**/
3 #ifndef FD_form_document_h_
4 #define FD_form_document_h_
6 /** Callbacks, globals and object handlers **/
7 extern "C" void ChoiceClassCB(FL_OBJECT
*, long);
8 extern "C" void DocumentCancelCB(FL_OBJECT
*, long);
9 extern "C" void DocumentApplyCB(FL_OBJECT
*, long);
10 extern "C" void DocumentOKCB(FL_OBJECT
*, long);
11 extern "C" void DocumentDefskipCB(FL_OBJECT
*, long);
12 extern "C" void DocumentSpacingCB(FL_OBJECT
*, long);
13 extern "C" void DocumentBulletsCB(FL_OBJECT
*, long);
15 extern "C" void CharacterApplyCB(FL_OBJECT
*, long);
16 extern "C" void CharacterCloseCB(FL_OBJECT
*, long);
18 extern "C" void ParagraphOKCB(FL_OBJECT
*, long);
19 extern "C" void ParagraphApplyCB(FL_OBJECT
*, long);
20 extern "C" void ParagraphCancelCB(FL_OBJECT
*, long);
21 extern "C" void ParagraphVSpaceCB(FL_OBJECT
*, long);
22 extern "C" void ParagraphExtraOpen(FL_OBJECT
*, long);
24 extern "C" void PreambleOKCB(FL_OBJECT
*, long);
25 extern "C" void PreambleApplyCB(FL_OBJECT
*, long);
26 extern "C" void PreambleCancelCB(FL_OBJECT
*, long);
28 extern "C" void QuotesOKCB(FL_OBJECT
*, long);
29 extern "C" void QuotesApplyCB(FL_OBJECT
*, long);
30 extern "C" void QuotesCancelCB(FL_OBJECT
*, long);
32 extern "C" void PaperMarginsCB(FL_OBJECT
*, long);
33 extern "C" void PaperCancelCB(FL_OBJECT
*, long);
34 extern "C" void PaperApplyCB(FL_OBJECT
*, long);
35 extern "C" void PaperOKCB(FL_OBJECT
*, long);
37 extern "C" void TableOptCloseCB(FL_OBJECT
*, long);
38 extern "C" void TableOptionsCB(FL_OBJECT
*, long);
39 extern "C" void SetPWidthCB(FL_OBJECT
*, long);
41 extern "C" void CheckPExtraOptCB(FL_OBJECT
*, long);
42 extern "C" void ParagraphExtraOKCB(FL_OBJECT
*, long);
43 extern "C" void ParagraphExtraApplyCB(FL_OBJECT
*, long);
44 extern "C" void ParagraphExtraCancelCB(FL_OBJECT
*, long);
46 extern "C" void TableOptionsCB(FL_OBJECT
*, long);
47 extern "C" void TableSpeCloseCB(FL_OBJECT
*, long);
49 /* Additional Functions/Methods */
51 #include "bufferparams.h"
53 extern bool UpdateLayoutDocument(BufferParams
*params
= 0);
54 extern bool UpdateLayoutPreamble();
55 extern bool UpdateLayoutPaper();
56 extern bool UpdateLayoutQuotes();
57 extern bool UpdateLayoutParagraph();
58 extern bool UpdateParagraphExtra();
59 extern bool UpdateLayoutTable(int);
61 extern void MenuLayoutCharacter();
62 extern void MenuLayoutDocument();
63 extern void MenuLayoutPreamble();
64 extern void MenuLayoutPaper();
65 extern void MenuLayoutQuotes();
66 extern void MenuLayoutParagraph();
67 extern void MenuLayoutTable(int);
69 /**** Forms and Objects ****/
71 FL_FORM
*form_document
;
75 FL_OBJECT
*group_radio_separation
;
76 FL_OBJECT
*radio_indent
;
77 FL_OBJECT
*radio_skip
;
78 FL_OBJECT
*choice_class
;
79 FL_OBJECT
*choice_pagestyle
;
80 FL_OBJECT
*choice_fonts
;
81 FL_OBJECT
*choice_fontsize
;
82 FL_OBJECT
*button_cancel
;
83 FL_OBJECT
*button_apply
;
85 FL_OBJECT
*input_float_placement
;
86 FL_OBJECT
*choice_postscript_driver
;
87 FL_OBJECT
*choice_inputenc
;
88 FL_OBJECT
*group_radio_sides
;
89 FL_OBJECT
*radio_sides_one
;
90 FL_OBJECT
*radio_sides_two
;
91 FL_OBJECT
*group_radio_columns
;
92 FL_OBJECT
*radio_columns_one
;
93 FL_OBJECT
*radio_columns_two
;
94 FL_OBJECT
*input_extra
;
95 FL_OBJECT
*choice_language
;
96 FL_OBJECT
*input_default_skip
;
97 FL_OBJECT
*choice_default_skip
;
98 FL_OBJECT
*slider_secnumdepth
;
99 FL_OBJECT
*slider_tocdepth
;
100 FL_OBJECT
*choice_spacing
;
101 FL_OBJECT
*button_bullets
;
102 FL_OBJECT
*check_use_amsmath
;
103 FL_OBJECT
*input_spacing
;
106 extern FD_form_document
* create_form_form_document(void);
108 FL_FORM
*form_character
;
112 FL_OBJECT
*choice_family
;
113 FL_OBJECT
*choice_series
;
114 FL_OBJECT
*choice_shape
;
115 FL_OBJECT
*choice_size
;
116 FL_OBJECT
*choice_bar
;
117 FL_OBJECT
*button_apply
;
118 FL_OBJECT
*button_close
;
119 FL_OBJECT
*choice_color
;
120 FL_OBJECT
*check_toggle_all
;
123 extern FD_form_character
* create_form_form_character(void);
125 FL_FORM
*form_paragraph
;
129 FL_OBJECT
*button_ok
;
130 FL_OBJECT
*button_apply
;
131 FL_OBJECT
*button_cancel
;
132 FL_OBJECT
*input_labelwidth
;
133 FL_OBJECT
*check_lines_top
;
134 FL_OBJECT
*check_lines_bottom
;
135 FL_OBJECT
*check_pagebreaks_top
;
136 FL_OBJECT
*check_pagebreaks_bottom
;
137 FL_OBJECT
*check_noindent
;
138 FL_OBJECT
*group_radio_alignment
;
139 FL_OBJECT
*radio_align_right
;
140 FL_OBJECT
*radio_align_left
;
141 FL_OBJECT
*radio_align_block
;
142 FL_OBJECT
*radio_align_center
;
143 FL_OBJECT
*input_space_above
;
144 FL_OBJECT
*input_space_below
;
145 FL_OBJECT
*choice_space_above
;
146 FL_OBJECT
*choice_space_below
;
147 FL_OBJECT
*button_pextra
;
148 FL_OBJECT
*check_space_above
;
149 FL_OBJECT
*check_space_below
;
152 extern FD_form_paragraph
* create_form_form_paragraph(void);
154 FL_FORM
*form_preamble
;
158 FL_OBJECT
*button_ok
;
159 FL_OBJECT
*button_apply
;
160 FL_OBJECT
*button_cancel
;
161 FL_OBJECT
*input_preamble
;
164 extern FD_form_preamble
* create_form_form_preamble(void);
166 FL_FORM
*form_quotes
;
170 FL_OBJECT
*choice_quotes_language
;
171 FL_OBJECT
*group_radio_quotes_number
;
172 FL_OBJECT
*radio_single
;
173 FL_OBJECT
*radio_double
;
176 extern FD_form_quotes
* create_form_form_quotes(void);
182 FL_OBJECT
*choice_paperpackage
;
183 FL_OBJECT
*button_cancel
;
184 FL_OBJECT
*button_apply
;
185 FL_OBJECT
*button_ok
;
186 FL_OBJECT
*greoup_radio_orientation
;
187 FL_OBJECT
*radio_portrait
;
188 FL_OBJECT
*radio_landscape
;
189 FL_OBJECT
*choice_papersize2
;
190 FL_OBJECT
*push_use_geometry
;
191 FL_OBJECT
*input_custom_width
;
192 FL_OBJECT
*input_custom_height
;
193 FL_OBJECT
*input_top_margin
;
194 FL_OBJECT
*input_bottom_margin
;
195 FL_OBJECT
*input_left_margin
;
196 FL_OBJECT
*input_right_margin
;
197 FL_OBJECT
*input_head_height
;
198 FL_OBJECT
*input_head_sep
;
199 FL_OBJECT
*input_foot_skip
;
200 FL_OBJECT
*text_warning
;
203 extern FD_form_paper
* create_form_form_paper(void);
205 FL_FORM
*form_table_options
;
209 FL_OBJECT
*text_warning
;
210 FL_OBJECT
*button_close
;
211 FL_OBJECT
*radio_border_top
;
212 FL_OBJECT
*radio_border_bottom
;
213 FL_OBJECT
*radio_border_left
;
214 FL_OBJECT
*radio_border_right
;
215 FL_OBJECT
*radio_multicolumn
;
216 FL_OBJECT
*button_append_column
;
217 FL_OBJECT
*button_delete_column
;
218 FL_OBJECT
*button_append_row
;
219 FL_OBJECT
*button_delete_row
;
220 FL_OBJECT
*button_table_delete
;
221 FL_OBJECT
*input_table_column
;
222 FL_OBJECT
*input_table_row
;
223 FL_OBJECT
*button_set_borders
;
224 FL_OBJECT
*button_unset_borders
;
225 FL_OBJECT
*radio_longtable
;
226 FL_OBJECT
*input_column_width
;
227 FL_OBJECT
*radio_rotate_table
;
228 FL_OBJECT
*radio_linebreak_cell
;
229 FL_OBJECT
*radio_lt_firsthead
;
230 FL_OBJECT
*radio_lt_head
;
231 FL_OBJECT
*radio_lt_foot
;
232 FL_OBJECT
*radio_lt_lastfoot
;
233 FL_OBJECT
*radio_lt_newpage
;
234 FL_OBJECT
*radio_rotate_cell
;
235 FL_OBJECT
*button_table_extra
;
236 FL_OBJECT
*radio_align_left
;
237 FL_OBJECT
*radio_align_right
;
238 FL_OBJECT
*radio_align_center
;
239 } FD_form_table_options
;
241 extern FD_form_table_options
* create_form_form_table_options(void);
243 FL_FORM
*form_paragraph_extra
;
247 FL_OBJECT
*input_pextra_width
;
248 FL_OBJECT
*button_ok
;
249 FL_OBJECT
*button_apply
;
250 FL_OBJECT
*button_cancel
;
251 FL_OBJECT
*input_pextra_widthp
;
252 FL_OBJECT
*group_alignment
;
253 FL_OBJECT
*radio_pextra_top
;
254 FL_OBJECT
*radio_pextra_middle
;
255 FL_OBJECT
*radio_pextra_bottom
;
256 FL_OBJECT
*text_warning
;
257 FL_OBJECT
*radio_pextra_hfill
;
258 FL_OBJECT
*radio_pextra_startmp
;
259 FL_OBJECT
*group_extraopt
;
260 FL_OBJECT
*radio_pextra_indent
;
261 FL_OBJECT
*radio_pextra_minipage
;
262 FL_OBJECT
*radio_pextra_floatflt
;
263 } FD_form_paragraph_extra
;
265 extern FD_form_paragraph_extra
* create_form_form_paragraph_extra(void);
267 FL_FORM
*form_table_extra
;
271 FL_OBJECT
*input_special_alignment
;
272 FL_OBJECT
*input_special_multialign
;
273 } FD_form_table_extra
;
275 extern FD_form_table_extra
* create_form_form_table_extra(void);
277 #endif /* FD_form_document_h_ */