]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs2.C
reverse last change
[lyx.git] / src / frontends / xforms / Dialogs2.C
1 /**
2  * \file xforms/Dialogs2.C
3  * Copyright 1995 Matthias Ettrich
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Allan Rae
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #include <config.h>
14
15 #ifdef __GNUG__
16 #pragma implementation
17 #endif
18
19 #include "Dialogs_impl.h"
20
21
22 void Dialogs::showAboutlyx()
23 {
24         pimpl_->aboutlyx.controller().show();
25 }
26
27
28 void Dialogs::showBibitem(InsetCommand * ic)
29 {
30         pimpl_->bibitem.controller().showInset(ic);
31 }
32
33
34 void Dialogs::showBibtex(InsetCommand * ic)
35 {
36         pimpl_->bibtex.controller().showInset(ic);
37 }
38
39
40 void Dialogs::showMergeChanges()
41 {
42         pimpl_->changes.controller().show();
43 }
44
45  
46 void Dialogs::showCharacter()
47 {
48         pimpl_->character.controller().show();
49 }
50
51
52 void Dialogs::setUserFreeFont()
53 {
54         pimpl_->character.controller().apply();
55 }
56
57
58 void Dialogs::showCitation(InsetCommand * ic)
59 {
60         pimpl_->citation.controller().showInset(ic);
61 }
62
63
64 void Dialogs::createCitation(string const & s)
65 {
66         pimpl_->citation.controller().createInset(s);
67 }
68
69
70 void Dialogs::showDocument()
71 {
72         pimpl_->document.controller().show();
73 }
74
75
76 void Dialogs::showError(InsetError * ie)
77 {
78         pimpl_->error.controller().showInset(ie);
79 }
80
81
82 void Dialogs::showERT(InsetERT * ie)
83 {
84         pimpl_->ert.controller().showInset(ie);
85 }
86
87
88 void Dialogs::updateERT(InsetERT * ie)
89 {
90         pimpl_->ert.controller().showInset(ie);
91 }
92
93
94 void Dialogs::showExternal(InsetExternal * ie)
95 {
96         pimpl_->external.controller().showInset(ie);
97 }
98
99
100 void Dialogs::showFile(string const & f)
101 {
102         pimpl_->file.controller().showFile(f);
103 }
104
105
106 void Dialogs::showFloat(InsetFloat * ifl)
107 {
108         pimpl_->floats.controller().showInset(ifl);
109 }
110
111
112 void Dialogs::showForks()
113 {
114         pimpl_->forks.controller().show();
115 }
116
117
118 void Dialogs::showGraphics(InsetGraphics * ig)
119 {
120         pimpl_->graphics.controller().showInset(ig);
121 }
122
123
124 void Dialogs::showInclude(InsetInclude * ii)
125 {
126         pimpl_->include.controller().showInset(ii);
127 }
128
129
130 void Dialogs::showIndex(InsetCommand * ic)
131 {
132         pimpl_->index.controller().showInset(ic);
133 }
134
135
136 void Dialogs::createIndex()
137 {
138         pimpl_->index.controller().createInset("index");
139 }
140
141
142 void Dialogs::showLogFile()
143 {
144         pimpl_->logfile.controller().show();
145 }
146
147
148 void Dialogs::showMathPanel()
149 {
150         pimpl_->mathpanel.controller().show();
151 }
152
153
154 void Dialogs::showMinipage(InsetMinipage * im)
155 {
156         pimpl_->minipage.controller().showInset(im);
157 }
158
159
160 void Dialogs::updateMinipage(InsetMinipage * im)
161 {
162         pimpl_->minipage.controller().showInset(im);
163 }
164
165
166 void Dialogs::showParagraph()
167 {
168         pimpl_->paragraph.controller().show();
169 }
170
171
172 void Dialogs::updateParagraph()
173 {
174         pimpl_->paragraph.controller().changedParagraph();
175 }
176
177
178 void Dialogs::showPreamble()
179 {
180         pimpl_->preamble.controller().show();
181 }
182
183
184 void Dialogs::showPreferences()
185 {
186         pimpl_->preferences.controller().show();
187 }
188
189
190 void Dialogs::showPrint()
191 {
192         pimpl_->print.controller().show();
193 }
194
195
196 void Dialogs::showRef(InsetCommand * ic)
197 {
198         pimpl_->ref.controller().showInset(ic);
199 }
200
201
202 void Dialogs::createRef(string const & s)
203 {
204         pimpl_->ref.controller().createInset(s);
205 }
206
207
208 void Dialogs::showSearch()
209 {
210         pimpl_->search.controller().show();
211 }
212
213
214 void Dialogs::showSendto()
215 {
216         pimpl_->sendto.controller().show();
217 }
218
219
220 void Dialogs::showSpellchecker()
221 {
222         pimpl_->spellchecker.controller().show();
223 }
224
225
226 void Dialogs::showTabular(InsetTabular * it)
227 {
228         pimpl_->tabular.controller().showInset(it);
229 }
230
231
232 void Dialogs::updateTabular(InsetTabular * it)
233 {
234         pimpl_->tabular.controller().updateInset(it);
235 }
236
237
238 void Dialogs::showTabularCreate()
239 {
240         pimpl_->tabularcreate.controller().show();
241 }
242
243
244 void Dialogs::showTexinfo()
245 {
246         pimpl_->texinfo.controller().show();
247 }
248
249
250 #ifdef HAVE_LIBAIKSAURUS
251
252 void Dialogs::showThesaurus(string const & s)
253 {
254         pimpl_->thesaurus.controller().showEntry(s);
255 }
256
257 #else
258
259 void Dialogs::showThesaurus(string const &)
260 {}
261
262 #endif
263
264
265 void Dialogs::showTOC(InsetCommand * ic)
266 {
267         pimpl_->toc.controller().showInset(ic);
268 }
269
270
271 void Dialogs::createTOC(string const & s)
272 {
273         pimpl_->toc.controller().createInset(s);
274 }
275
276
277 void Dialogs::showUrl(InsetCommand * ic)
278 {
279         pimpl_->url.controller().showInset(ic);
280 }
281
282
283 void Dialogs::createUrl(string const & s)
284 {
285         pimpl_->url.controller().createInset(s);
286 }
287
288
289 void Dialogs::showVCLogFile()
290 {
291         pimpl_->vclogfile.controller().show();
292 }
293
294
295 void Dialogs::showWrap(InsetWrap * iw)
296 {
297         pimpl_->wrap.controller().showInset(iw);
298 }