]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs2.C
port the various dialogs to display the contents of an external file to the new Dialo...
[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 #include "Dialogs_impl.h"
16
17
18 void Dialogs::showDocument()
19 {
20         pimpl_->document.controller().show();
21 }
22
23
24 void Dialogs::showForks()
25 {
26         pimpl_->forks.controller().show();
27 }
28
29
30 void Dialogs::showMathPanel()
31 {
32         pimpl_->mathpanel.controller().show();
33 }
34
35
36 void Dialogs::showPreamble()
37 {
38         pimpl_->preamble.controller().show();
39 }
40
41
42 void Dialogs::showPreferences()
43 {
44         pimpl_->preferences.controller().show();
45 }
46
47
48 void Dialogs::showPrint()
49 {
50         pimpl_->print.controller().show();
51 }
52
53
54 void Dialogs::showSearch()
55 {
56         pimpl_->search.controller().show();
57 }
58
59
60 void Dialogs::showSendto()
61 {
62         pimpl_->sendto.controller().show();
63 }
64
65
66 void Dialogs::showSpellchecker()
67 {
68         pimpl_->spellchecker.controller().show();
69 }
70
71
72 void Dialogs::showTexinfo()
73 {
74         pimpl_->texinfo.controller().show();
75 }
76
77
78 #ifdef HAVE_LIBAIKSAURUS
79
80 void Dialogs::showThesaurus(string const & s)
81 {
82         pimpl_->thesaurus.controller().showEntry(s);
83 }
84
85 #else
86
87 void Dialogs::showThesaurus(string const &)
88 {}
89
90 #endif