bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
}
-#ifndef USE_OSTREAM_ONLY
-int InsetTOC::Linuxdoc(string & file) const
-{
- file += "<toc>";
- return 0;
-}
-
-
-int InsetTOC::DocBook(string & file) const
-{
- file += "<toc></toc>";
- return 0;
-}
-
-#else
-
int InsetTOC::Linuxdoc(ostream & os) const
{
os << "<toc>";
os << "<toc></toc>";
return 0;
}
-#endif