2 * \file xforms/Dialogs.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.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS
16 #pragma implementation
19 #include "Dialogs_impl.h"
21 void Dialogs::showAboutlyx()
23 pimpl_->aboutlyx.controller().show();
27 void Dialogs::showBibitem(InsetCommand * ic)
29 pimpl_->bibitem.controller().showInset(ic);
33 void Dialogs::showBibtex(InsetCommand * ic)
35 pimpl_->bibtex.controller().showInset(ic);
39 void Dialogs::showCharacter()
41 pimpl_->character.controller().show();
45 void Dialogs::setUserFreeFont()
47 pimpl_->character.controller().apply();
51 void Dialogs::showCitation(InsetCommand * ic)
53 pimpl_->citation.controller().showInset(ic);
57 void Dialogs::createCitation(string const & s)
59 pimpl_->citation.controller().createInset(s);
63 void Dialogs::showDocument()
67 void Dialogs::showError(InsetError * ie)
69 pimpl_->error.controller().showInset(ie);
73 void Dialogs::showERT(InsetERT * ie)
75 pimpl_->ert.controller().showInset(ie);
79 void Dialogs::updateERT(InsetERT * ie)
81 pimpl_->ert.controller().showInset(ie);
85 void Dialogs::showExternal(InsetExternal * ie)
87 pimpl_->external.controller().showInset(ie);
91 void Dialogs::showFile(string const & f)
93 pimpl_->file.controller().showFile(f);
97 void Dialogs::showFloat(InsetFloat * ifl)
99 pimpl_->floats.controller().showInset(ifl);
103 void Dialogs::showForks()
107 void Dialogs::showGraphics(InsetGraphics * ig)
109 pimpl_->graphics.controller().showInset(ig);
113 void Dialogs::showInclude(InsetInclude * ii)
115 pimpl_->include.controller().showInset(ii);
119 void Dialogs::showIndex(InsetCommand * ic)
121 pimpl_->index.controller().showInset(ic);
125 void Dialogs::createIndex()
127 pimpl_->index.controller().createInset(string());
131 void Dialogs::showLogFile()
133 pimpl_->logfile.controller().show();
137 void Dialogs::showMathPanel()
140 extern void createMathPanel();
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()
180 void Dialogs::showPrint()
182 pimpl_->print.controller().show();
186 void Dialogs::showRef(InsetCommand * ic)
188 pimpl_->ref.controller().showInset(ic);
192 void Dialogs::createRef(string const & s)
194 pimpl_->ref.controller().createInset(s);
198 void Dialogs::showSearch()
200 pimpl_->search.controller().show();
204 void Dialogs::showSendto()
208 void Dialogs::showSpellchecker()
210 pimpl_->spellchecker.controller().show();
214 void Dialogs::showTabular(InsetTabular * it)
218 void Dialogs::updateTabular(InsetTabular * it)
222 void Dialogs::showTabularCreate()
224 pimpl_->tabularcreate.controller().show();
228 void Dialogs::showTexinfo()
230 pimpl_->texinfo.controller().show();
234 #ifdef HAVE_LIBAIKSAURUS
236 void Dialogs::showThesaurus(string const & s)
238 pimpl_->thesaurus.controller().showEntry(s);
243 void Dialogs::showThesaurus(string const &)
249 void Dialogs::showTOC(InsetCommand * ic)
251 pimpl_->toc.controller().showInset(ic);
255 void Dialogs::createTOC(string const & s)
257 pimpl_->toc.controller().createInset(s);
261 void Dialogs::showUrl(InsetCommand * ic)
263 pimpl_->url.controller().showInset(ic);
267 void Dialogs::createUrl(string const & s)
269 pimpl_->url.controller().createInset(s);
273 void Dialogs::showVCLogFile()
275 pimpl_->vclogfile.controller().show();
279 void Dialogs::showWrap(InsetWrap * i)