lyx_mirror/src/insets/insettoc.C
Jürgen Vigna d6fa7c567c All changes I made to have text-insets working. Look at the Changelog
for more details.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@571 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-25 12:06:15 +00:00

32 lines
505 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(string & file) const
{
file += "<toc>";
return 0;
}
int InsetTOC::DocBook(string & file) const
{
file += "<toc></toc>";
return 0;
}