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"
19 void Dialogs::showAboutlyx()
21 pimpl_->aboutlyx.controller().show();
25 void Dialogs::showBibitem(InsetCommand * ic)
27 pimpl_->bibitem.controller().showInset(ic);
31 void Dialogs::showBibtex(InsetCommand * ic)
33 pimpl_->bibtex.controller().showInset(ic);
37 void Dialogs::showCharacter()
39 pimpl_->character.controller().show();
43 void Dialogs::setUserFreeFont()
45 pimpl_->character.controller().apply();
49 void Dialogs::showCitation(InsetCommand * ic)
51 pimpl_->citation.controller().showInset(ic);
55 void Dialogs::createCitation(string const & s)
57 pimpl_->citation.controller().createInset(s);
61 void Dialogs::showDocument()
65 void Dialogs::showError(InsetError * ie)
67 pimpl_->error.controller().showInset(ie);
71 void Dialogs::showERT(InsetERT * ie)
73 pimpl_->ert.controller().showInset(ie);
77 void Dialogs::updateERT(InsetERT * ie)
79 pimpl_->ert.controller().showInset(ie);
83 void Dialogs::showExternal(InsetExternal * ie)
85 pimpl_->external.controller().showInset(ie);
89 void Dialogs::showFile(string const & f)
91 pimpl_->file.controller().showFile(f);
95 void Dialogs::showFloat(InsetFloat * ifl)
97 pimpl_->floats.controller().showInset(ifl);
101 void Dialogs::showForks()
105 void Dialogs::showGraphics(InsetGraphics * ig)
107 pimpl_->graphics.controller().showInset(ig);
111 void Dialogs::showInclude(InsetInclude * ii)
113 pimpl_->include.controller().showInset(ii);
117 void Dialogs::showIndex(InsetCommand * ic)
119 pimpl_->index.controller().showInset(ic);
123 void Dialogs::createIndex()
125 pimpl_->index.controller().createInset(string());
129 void Dialogs::showLogFile()
131 pimpl_->logfile.controller().show();
135 void Dialogs::showMathPanel()
138 extern void createMathPanel();
144 void Dialogs::showMinipage(InsetMinipage * im)
146 pimpl_->minipage.controller().showInset(im);
150 void Dialogs::updateMinipage(InsetMinipage * im)
152 pimpl_->minipage.controller().showInset(im);
156 void Dialogs::showParagraph()
158 pimpl_->paragraph.controller().show();
162 void Dialogs::updateParagraph()
164 pimpl_->paragraph.controller().changedParagraph();
168 void Dialogs::showPreamble()
170 pimpl_->preamble.controller().show();
174 void Dialogs::showPreferences()
178 void Dialogs::showPrint()
180 pimpl_->print.controller().show();
184 void Dialogs::showRef(InsetCommand * ic)
186 pimpl_->ref.controller().showInset(ic);
190 void Dialogs::createRef(string const & s)
192 pimpl_->ref.controller().createInset(s);
196 void Dialogs::showSearch()
198 pimpl_->search.controller().show();
202 void Dialogs::showSendto()
206 void Dialogs::showSpellchecker()
208 pimpl_->spellchecker.controller().show();
212 void Dialogs::showTabular(InsetTabular * it)
216 void Dialogs::updateTabular(InsetTabular * it)
220 void Dialogs::showTabularCreate()
222 pimpl_->tabularcreate.controller().show();
226 void Dialogs::showTexinfo()
228 pimpl_->texinfo.controller().show();
232 #ifdef HAVE_LIBAIKSAURUS
234 void Dialogs::showThesaurus(string const & s)
236 pimpl_->thesaurus.controller().showEntry(s);
241 void Dialogs::showThesaurus(string const &)
247 void Dialogs::showTOC(InsetCommand * ic)
249 pimpl_->toc.controller().showInset(ic);
253 void Dialogs::createTOC(string const & s)
255 pimpl_->toc.controller().createInset(s);
259 void Dialogs::showUrl(InsetCommand * ic)
261 pimpl_->url.controller().showInset(ic);
265 void Dialogs::createUrl(string const & s)
267 pimpl_->url.controller().createInset(s);
271 void Dialogs::showVCLogFile()
273 pimpl_->vclogfile.controller().show();