2 * \file xforms/Dialogs.C
3 * Copyright 1995 Matthias Ettrich
4 * Copyright 1995-2001 The LyX Team.
5 * See the file COPYING.
7 * \author Allan Rae, rae@lyx.org
8 * \author Angus Leeming <leeming@lyx.org>
14 #pragma implementation
17 #include "Dialogs_impl.h"
20 void Dialogs::showAboutlyx()
22 pimpl_->aboutlyx.controller().show();
26 void Dialogs::showBibitem(InsetCommand * ic)
28 pimpl_->bibitem.controller().showInset(ic);
32 void Dialogs::showBibtex(InsetCommand * ic)
34 pimpl_->bibtex.controller().showInset(ic);
38 void Dialogs::showCharacter()
40 pimpl_->character.controller().show();
44 void Dialogs::setUserFreeFont()
46 pimpl_->character.controller().apply();
50 void Dialogs::showCitation(InsetCommand * ic)
52 pimpl_->citation.controller().showInset(ic);
56 void Dialogs::createCitation(string const & s)
58 pimpl_->citation.controller().createInset(s);
62 void Dialogs::showDocument()
64 pimpl_->document.show();
68 void Dialogs::showError(InsetError * ie)
70 pimpl_->error.controller().showInset(ie);
74 void Dialogs::showERT(InsetERT * ie)
76 pimpl_->ert.controller().showInset(ie);
80 void Dialogs::updateERT(InsetERT * ie)
82 pimpl_->ert.controller().showInset(ie);
86 void Dialogs::showExternal(InsetExternal * ie)
88 pimpl_->external.controller().showInset(ie);
92 void Dialogs::showFile(string const & f)
94 pimpl_->file.controller().showFile(f);
98 void Dialogs::showFloat(InsetFloat * ifl)
100 pimpl_->floats.controller().showInset(ifl);
104 void Dialogs::showForks()
106 pimpl_->forks.controller().show();
110 void Dialogs::showGraphics(InsetGraphics * ig)
112 pimpl_->graphics.controller().showInset(ig);
116 void Dialogs::showInclude(InsetInclude * ii)
118 pimpl_->include.controller().showInset(ii);
122 void Dialogs::showIndex(InsetCommand * ic)
124 pimpl_->index.controller().showInset(ic);
128 void Dialogs::createIndex()
130 pimpl_->index.controller().createInset(string());
134 void Dialogs::showLogFile()
136 pimpl_->logfile.controller().show();
140 void Dialogs::showMathPanel()
142 pimpl_->mathpanel.show();
146 void Dialogs::showMinipage(InsetMinipage * im)
148 pimpl_->minipage.controller().showInset(im);
152 void Dialogs::updateMinipage(InsetMinipage * im)
154 pimpl_->minipage.controller().showInset(im);
158 void Dialogs::showParagraph()
160 pimpl_->paragraph.controller().show();
164 void Dialogs::updateParagraph()
166 pimpl_->paragraph.controller().changedParagraph();
170 void Dialogs::showPreamble()
172 pimpl_->preamble.controller().show();
176 void Dialogs::showPreferences()
178 pimpl_->preferences.show();
182 void Dialogs::showPrint()
184 pimpl_->print.controller().show();
188 void Dialogs::showRef(InsetCommand * ic)
190 pimpl_->ref.controller().showInset(ic);
194 void Dialogs::createRef(string const & s)
196 pimpl_->ref.controller().createInset(s);
200 void Dialogs::showSearch()
202 pimpl_->search.controller().show();
206 void Dialogs::showSendto()
208 pimpl_->sendto.controller().show();
212 void Dialogs::showSpellchecker()
214 pimpl_->spellchecker.controller().show();
218 void Dialogs::showTabular(InsetTabular * it)
220 pimpl_->tabular.showInset(it);
224 void Dialogs::updateTabular(InsetTabular * it)
226 pimpl_->tabular.updateInset(it);
230 void Dialogs::showTabularCreate()
232 pimpl_->tabularcreate.controller().show();
236 void Dialogs::showTexinfo()
238 pimpl_->texinfo.controller().show();
242 #ifdef HAVE_LIBAIKSAURUS
244 void Dialogs::showThesaurus(string const & s)
246 pimpl_->thesaurus.controller().showEntry(s);
251 void Dialogs::showThesaurus(string const &)
257 void Dialogs::showTOC(InsetCommand * ic)
259 pimpl_->toc.controller().showInset(ic);
263 void Dialogs::createTOC(string const & s)
265 pimpl_->toc.controller().createInset(s);
269 void Dialogs::showUrl(InsetCommand * ic)
271 pimpl_->url.controller().showInset(ic);
275 void Dialogs::createUrl(string const & s)
277 pimpl_->url.controller().createInset(s);
281 void Dialogs::showVCLogFile()
283 pimpl_->vclogfile.controller().show();