lyx_mirror/src/insets/insettoc.C
Lars Gullik Bjønnes fa492d6bf0 fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@597 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-09 23:58:55 +00:00

32 lines
499 B
C

#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "insettoc.h"
#include "buffer.h"
#include "bufferlist.h"
#include "commandtags.h"
#include "lyxfunc.h"
#include "LyXView.h"
#include "BufferView.h"
void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
{
bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
}
int InsetTOC::Linuxdoc(ostream & os) const
{
os << "<toc>";
return 0;
}
int InsetTOC::DocBook(ostream & os) const
{
os << "<toc></toc>";
return 0;
}