]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs_impl.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / Dialogs_impl.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/Dialogs_impl.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  * \author Angus Leeming 
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef DIALOGS_IMPL_H
12 #define DIALOGS_IMP_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "Dialogs.h"
19 #include "controllers/GUI.h"
20
21 #include "Tooltips.h"
22 #include "xformsBC.h"
23 #include "combox.h"
24
25 #include "ControlAboutlyx.h"
26 #include "FormAboutlyx.h"
27 #include "forms/form_aboutlyx.h"
28
29 #include "ControlBibitem.h"
30 #include "FormBibitem.h"
31 #include "forms/form_bibitem.h"
32
33 #include "ControlBibtex.h"
34 #include "FormBibtex.h"
35 #include "forms/form_bibtex.h"
36
37 #include "FormBrowser.h"
38 #include "forms/form_browser.h"
39
40 #include "ControlCharacter.h"
41 #include "FormCharacter.h"
42 #include "forms/form_character.h"
43
44 #include "ControlCitation.h"
45 #include "FormCitation.h"
46 #include "forms/form_citation.h"
47
48 #include "ControlDocument.h"
49 #include "FormDocument.h"
50 #include "forms/form_document.h"
51
52 #include "ControlError.h"
53 #include "FormError.h"
54 #include "forms/form_error.h"
55
56 #include "ControlERT.h"
57 #include "FormERT.h"
58 #include "forms/form_ert.h"
59
60 #include "ControlExternal.h"
61 #include "FormExternal.h"
62 #include "forms/form_external.h"
63
64 #include "ControlFloat.h"
65 #include "FormFloat.h"
66 #include "forms/form_float.h"
67
68 #include "ControlForks.h"
69 #include "FormForks.h"
70 #include "forms/form_forks.h"
71
72 #include "ControlGraphics.h"
73 #include "FormGraphics.h"
74 #include "forms/form_graphics.h"
75
76 #include "ControlInclude.h"
77 #include "FormInclude.h"
78 #include "forms/form_include.h"
79
80 #include "ControlIndex.h"
81 #include "FormIndex.h"
82 #include "forms/form_index.h"
83
84 #include "ControlLog.h"
85 #include "FormLog.h"
86
87 #include "ControlShowFile.h"
88 #include "FormShowFile.h"
89
90 #include "ControlMath.h"
91 #include "FormMathsPanel.h"
92 #include "forms/form_maths_panel.h"
93
94 #include "ControlMinipage.h"
95 #include "FormMinipage.h"
96 #include "forms/form_minipage.h"
97
98 #include "ControlParagraph.h"
99 #include "FormParagraph.h"
100 #include "forms/form_paragraph.h"
101
102 #include "ControlPreamble.h"
103 #include "FormPreamble.h"
104 #include "forms/form_preamble.h"
105
106 #include "ControlPrefs.h"
107 #include "FormPreferences.h"
108 #include "forms/form_preferences.h"
109
110 #include "ControlPrint.h"
111 #include "FormPrint.h"
112 #include "forms/form_print.h"
113
114 #include "ControlRef.h"
115 #include "FormRef.h"
116 #include "forms/form_ref.h"
117
118 #include "ControlSearch.h"
119 #include "FormSearch.h"
120 #include "forms/form_search.h"
121
122 #include "ControlSendto.h"
123 #include "FormSendto.h"
124 #include "forms/form_sendto.h"
125
126 #include "ControlSpellchecker.h"
127 #include "FormSpellchecker.h"
128 #include "forms/form_spellchecker.h"
129
130 #include "ControlTabular.h"
131 #include "FormTabular.h"
132 #include "forms/form_tabular.h"
133
134 #include "ControlTabularCreate.h"
135 #include "FormTabularCreate.h"
136 #include "forms/form_tabular_create.h"
137
138 #include "ControlTexinfo.h"
139 #include "FormTexinfo.h"
140 #include "forms/form_texinfo.h"
141
142 #ifdef HAVE_LIBAIKSAURUS
143 #include "ControlThesaurus.h"
144 #include "FormThesaurus.h"
145 #include "forms/form_thesaurus.h"
146 #endif
147
148 #include "ControlToc.h"
149 #include "FormToc.h"
150 #include "forms/form_toc.h"
151
152 #include "ControlUrl.h"
153 #include "FormUrl.h"
154 #include "forms/form_url.h"
155
156 #include "ControlVCLog.h"
157 #include "FormVCLog.h"
158
159 #include "ControlWrap.h"
160 #include "FormWrap.h"
161 #include "forms/form_wrap.h"
162
163
164 typedef GUI<ControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC>
165 AboutlyxDialog;
166
167 typedef GUI<ControlBibitem, FormBibitem, OkCancelReadOnlyPolicy, xformsBC>
168 BibitemDialog;
169
170 typedef GUI<ControlBibtex, FormBibtex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
171 BibtexDialog;
172
173 typedef GUI<ControlCharacter, FormCharacter, OkApplyCancelReadOnlyPolicy, xformsBC>
174 CharacterDialog;
175
176 typedef GUI<ControlCitation, FormCitation, NoRepeatedApplyReadOnlyPolicy, xformsBC>
177 CitationDialog;
178
179 typedef GUI<ControlDocument, FormDocument, NoRepeatedApplyReadOnlyPolicy, xformsBC>
180 DocumentDialog;
181
182 typedef GUI<ControlError, FormError, OkCancelPolicy, xformsBC>
183 ErrorDialog;
184
185 typedef GUI<ControlERT, FormERT, NoRepeatedApplyReadOnlyPolicy, xformsBC>
186 ERTDialog;
187
188 typedef GUI<ControlExternal, FormExternal, OkApplyCancelReadOnlyPolicy, xformsBC>
189 ExternalDialog;
190
191 typedef GUI<ControlShowFile, FormShowFile, OkCancelPolicy, xformsBC>
192 FileDialog;
193
194 typedef GUI<ControlFloat, FormFloat, NoRepeatedApplyReadOnlyPolicy, xformsBC>
195 FloatDialog;
196
197 typedef GUI<ControlForks, FormForks, OkApplyCancelPolicy, xformsBC>
198 ForksDialog;
199
200 typedef GUI<ControlGraphics, FormGraphics, NoRepeatedApplyReadOnlyPolicy, xformsBC>
201 GraphicsDialog;
202
203 typedef GUI<ControlInclude, FormInclude, OkCancelReadOnlyPolicy, xformsBC>
204 IncludeDialog;
205
206 typedef GUI<ControlIndex, FormIndex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
207 IndexDialog;
208
209 typedef GUI<ControlLog, FormLog, OkCancelPolicy, xformsBC>
210 LogFileDialog;
211
212 typedef GUI<ControlMath, FormMathsPanel, OkCancelReadOnlyPolicy, xformsBC>
213 MathPanelDialog;
214
215 typedef GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>
216 MinipageDialog;
217
218 typedef GUI<ControlParagraph, FormParagraph, OkApplyCancelReadOnlyPolicy, xformsBC>
219 ParagraphDialog;
220
221 typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC>
222 PreambleDialog;
223
224 typedef GUI<ControlPrefs, FormPreferences, OkApplyCancelPolicy, xformsBC>
225 PreferencesDialog;
226
227 typedef GUI<ControlPrint, FormPrint, OkApplyCancelPolicy, xformsBC>
228 PrintDialog;
229
230 typedef GUI<ControlRef, FormRef, NoRepeatedApplyReadOnlyPolicy, xformsBC>
231 RefDialog;
232
233 typedef GUI<ControlSearch, FormSearch, NoRepeatedApplyReadOnlyPolicy, xformsBC>
234 SearchDialog;
235
236 typedef GUI<ControlSendto, FormSendto, OkApplyCancelPolicy, xformsBC>
237 SendtoDialog;
238
239 typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC>
240 SpellcheckerDialog;
241
242 typedef GUI<ControlTabular, FormTabular, NoRepeatedApplyReadOnlyPolicy, xformsBC>
243 TabularDialog;
244
245 typedef GUI<ControlTabularCreate, FormTabularCreate, OkApplyCancelReadOnlyPolicy, xformsBC>
246 TabularCreateDialog;
247
248 typedef GUI<ControlTexinfo, FormTexinfo, OkCancelPolicy, xformsBC>
249 TexinfoDialog;
250
251 #ifdef HAVE_LIBAIKSAURUS
252 typedef GUI<ControlThesaurus, FormThesaurus, OkApplyCancelReadOnlyPolicy, xformsBC>
253 ThesaurusDialog;
254 #endif
255
256 typedef GUI<ControlToc, FormToc, OkCancelPolicy, xformsBC>
257 TocDialog;
258
259 typedef GUI<ControlUrl, FormUrl, NoRepeatedApplyReadOnlyPolicy, xformsBC>
260 UrlDialog;
261
262 typedef GUI<ControlVCLog, FormVCLog, OkCancelPolicy, xformsBC>
263 VCLogFileDialog;
264
265 typedef GUI<ControlWrap, FormWrap, NoRepeatedApplyReadOnlyPolicy, xformsBC>
266 WrapDialog;
267
268 struct Dialogs::Impl {
269         Impl(LyXView & lv, Dialogs & d);
270
271         AboutlyxDialog      aboutlyx;
272         BibitemDialog       bibitem;
273         BibtexDialog        bibtex;
274         CharacterDialog     character;
275         CitationDialog      citation;
276         DocumentDialog      document;
277         ErrorDialog         error;
278         ERTDialog           ert;
279         ExternalDialog      external;
280         FileDialog          file;
281         FloatDialog         floats;
282         ForksDialog         forks;
283         GraphicsDialog      graphics;
284         IncludeDialog       include;
285         IndexDialog         index;
286         LogFileDialog       logfile;
287         MathPanelDialog     mathpanel;
288         MinipageDialog      minipage;
289         ParagraphDialog     paragraph;
290         PreambleDialog      preamble;
291         PreferencesDialog   preferences;
292         PrintDialog         print;
293         RefDialog           ref;
294         SearchDialog        search;
295         SendtoDialog        sendto;
296         SpellcheckerDialog  spellchecker;
297         TabularDialog       tabular;
298         TabularCreateDialog tabularcreate;
299         TexinfoDialog       texinfo;
300
301 #ifdef HAVE_LIBAIKSAURUS
302         ThesaurusDialog     thesaurus;
303 #endif
304
305         TocDialog           toc;
306         UrlDialog           url;
307         VCLogFileDialog     vclogfile;
308         WrapDialog          wrap;
309 };
310
311 #endif // DIALOGS_IMPL_H