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::showMinipage(InsetMinipage * im)
137 pimpl_->minipage.controller().showInset(im);
141 void Dialogs::updateMinipage(InsetMinipage * im)
143 pimpl_->minipage.controller().showInset(im);
147 void Dialogs::showParagraph()
149 pimpl_->paragraph.controller().show();
153 void Dialogs::updateParagraph()
155 pimpl_->paragraph.controller().changedParagraph();
159 void Dialogs::showPreamble()
161 pimpl_->preamble.controller().show();
165 void Dialogs::showPreferences()
169 void Dialogs::showPrint()
171 pimpl_->print.controller().show();
175 void Dialogs::showRef(InsetCommand * ic)
177 pimpl_->ref.controller().showInset(ic);
181 void Dialogs::createRef(string const & s)
183 pimpl_->ref.controller().createInset(s);
187 void Dialogs::showSearch()
189 pimpl_->search.controller().show();
193 void Dialogs::showSendto()
197 void Dialogs::showSpellchecker()
199 pimpl_->spellchecker.controller().show();
203 void Dialogs::showTabular(InsetTabular * it)
207 void Dialogs::updateTabular(InsetTabular * it)
211 void Dialogs::showTabularCreate()
213 pimpl_->tabularcreate.controller().show();
217 void Dialogs::showTexinfo()
219 pimpl_->texinfo.controller().show();
223 #ifdef HAVE_LIBAIKSAURUS
225 void Dialogs::showThesaurus(string const & s)
227 pimpl_->thesaurus.controller().showEntry(s);
232 void Dialogs::showThesaurus(string const &)
238 void Dialogs::showTOC(InsetCommand * ic)
240 pimpl_->toc.controller().showInset(ic);
244 void Dialogs::createTOC(string const & s)
246 pimpl_->toc.controller().createInset(s);
250 void Dialogs::showUrl(InsetCommand * ic)
252 pimpl_->url.controller().showInset(ic);
256 void Dialogs::createUrl(string const & s)
258 pimpl_->url.controller().createInset(s);
262 void Dialogs::showVCLogFile()
264 pimpl_->vclogfile.controller().show();