#include "pariterator.h"
+namespace lyx {
+
class Buffer;
class LyXView;
class Paragraph;
class FuncRequest;
class LCursor;
-namespace lyx {
-
///
/**
*/
class TocBackend
{
public:
-
///
/**
*/
Item(
ParConstIterator const & par_it = ParConstIterator(),
int d = -1,
- lyx::docstring const & s = lyx::docstring());
+ docstring const & s = docstring());
///
~Item() {}
///
///
int const depth() const;
///
- lyx::docstring const & str() const;
+ docstring const & str() const;
///
- lyx::docstring const asString() const;
+ docstring const asString() const;
/// set cursor in LyXView to this Item
void goTo(LyXView & lv_) const;
/// the action corresponding to the goTo above
int depth_;
/// Full item string
- lyx::docstring str_;
+ docstring str_;
};
///
/// Return the first Toc Item before the cursor
TocIterator const item(std::string const & type, ParConstIterator const &);
- void asciiTocList(std::string const & type, lyx::odocstream & os) const;
+ void asciiTocList(std::string const & type, odocstream & os) const;
private:
///