]> git.lyx.org Git - lyx.git/blob - src/insets/insettoc.C
d56ff97a0913d1156ffbf25f4af7092efaee41e5
[lyx.git] / src / insets / insettoc.C
1 #include <config.h>
2
3 #ifdef __GNUG__
4 #pragma implementation
5 #endif
6
7 #include "insettoc.h"
8 #include "buffer.h"
9 #include "bufferlist.h"
10 #include "commandtags.h"
11 #include "lyxfunc.h"
12 #include "LyXView.h"
13
14 extern BufferView *current_view;
15
16 void InsetTOC::Edit(int, int)
17 {
18         current_view->getOwner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
19 }
20
21 int InsetTOC::Linuxdoc(string &file)
22 {
23         file += "<toc>";
24         return 0;
25 }
26
27
28 int InsetTOC::DocBook(string &file)
29 {
30         file += "<toc></toc>";
31         return 0;
32 }