1999-09-27 18:44:28 +00:00
|
|
|
#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"
|
2000-02-25 12:06:15 +00:00
|
|
|
#include "BufferView.h"
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-02-25 12:06:15 +00:00
|
|
|
void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
|
1999-09-27 18:44:28 +00:00
|
|
|
{
|
2000-02-22 00:36:17 +00:00
|
|
|
bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
|
1999-09-27 18:44:28 +00:00
|
|
|
}
|
|
|
|
|
2000-03-06 02:42:40 +00:00
|
|
|
int InsetTOC::Linuxdoc(ostream & os) const
|
|
|
|
{
|
|
|
|
os << "<toc>";
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int InsetTOC::DocBook(ostream & os) const
|
|
|
|
{
|
|
|
|
os << "<toc></toc>";
|
|
|
|
return 0;
|
|
|
|
}
|