#include "debug.h"
#include "buffer.h"
+
using std::vector;
+using std::ostream;
+
-string const InsetTOC::getScreenLabel() const
+string const InsetTOC::getScreenLabel(Buffer const *) const
{
string const cmdname(getCmdName());
}
-int InsetTOC::ascii(Buffer const * buffer, std::ostream & os, int) const
+int InsetTOC::ascii(Buffer const * buffer, ostream & os, int) const
{
- os << getScreenLabel() << "\n\n";
+ os << getScreenLabel(buffer) << "\n\n";
string type;
string const cmdname = getCmdName();
}
-int InsetTOC::linuxdoc(Buffer const *, std::ostream & os) const
+int InsetTOC::linuxdoc(Buffer const *, ostream & os) const
{
if (getCmdName() == "tableofcontents")
os << "<toc>";
}
-int InsetTOC::DocBook(Buffer const *, std::ostream & os) const
+int InsetTOC::docbook(Buffer const *, ostream & os) const
{
if (getCmdName() == "tableofcontents")
os << "<toc></toc>";