]> git.lyx.org Git - lyx.git/blob - src/insets/insettoc.C
small fix to the doublespace handling in deleteemptyparagraphmechanism that might...
[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 #include "BufferView.h"
14
15 void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
16 {
17         bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
18 }
19
20 int InsetTOC::Linuxdoc(ostream & os) const
21 {
22         os << "<toc>";
23         return 0;
24 }
25
26
27 int InsetTOC::DocBook(ostream & os) const
28 {
29         os << "<toc></toc>";
30         return 0;
31 }