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-22 00:36:17 +00:00
|
|
|
void InsetTOC::Edit(BufferView * bv, int, 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-02-21 13:53:54 +00:00
|
|
|
int InsetTOC::Linuxdoc(string & file) const
|
1999-09-27 18:44:28 +00:00
|
|
|
{
|
|
|
|
file += "<toc>";
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-02-21 13:53:54 +00:00
|
|
|
int InsetTOC::DocBook(string & file) const
|
1999-09-27 18:44:28 +00:00
|
|
|
{
|
|
|
|
file += "<toc></toc>";
|
|
|
|
return 0;
|
|
|
|
}
|