class Buffer;
class BufferParams;
class BufferView;
+class ParConstIterator;
class CursorSlice;
class FuncRequest;
class FuncStatus;
*/
virtual void addPreview(graphics::PreviewLoader &) const {}
/// Add an entry to the TocList
- virtual void addToToc(TocList &, Buffer const &) const {}
+ /// pit is the ParConstIterator of the paragraph containing the inset
+ virtual void addToToc(TocList &, Buffer const &, ParConstIterator & pit) const {}
public:
/// returns LyX code associated with the inset. Used for TOC, ...)