mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
6bba977f42
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
39 lines
588 B
C
39 lines
588 B
C
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "insettoc.h"
|
|
#include "commandtags.h"
|
|
#include "lyxfunc.h"
|
|
#include "LyXView.h"
|
|
#include "BufferView.h"
|
|
|
|
using std::ostream;
|
|
|
|
|
|
string InsetTOC::getScreenLabel() const
|
|
{
|
|
return _("Table of Contents");
|
|
}
|
|
|
|
|
|
void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
|
|
{
|
|
bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
|
|
}
|
|
|
|
int InsetTOC::Linuxdoc(Buffer const *, ostream & os) const
|
|
{
|
|
os << "<toc>";
|
|
return 0;
|
|
}
|
|
|
|
|
|
int InsetTOC::DocBook(Buffer const *, ostream & os) const
|
|
{
|
|
os << "<toc></toc>";
|
|
return 0;
|
|
}
|