namespace lyx {
class Buffer;
-class Paragraph;
class FuncRequest;
-class LCursor;
///
/**
void setBuffer(Buffer const * buffer)
{ buffer_ = buffer; }
///
- bool addType(std::string const & type);
- ///
void update();
///
void updateItem(ParConstIterator const & pit);
///
TocList const & tocs() const
{ return tocs_; }
- ///
- std::vector<std::string> const & types() const
- { return types_; }
+
///
Toc const & toc(std::string const & type) const;
/// Return the first Toc Item before the cursor
///
TocList tocs_;
///
- std::vector<std::string> types_;
- ///
Buffer const * buffer_;
}; // TocBackend