class ParIterator;
class Text;
class TocList;
-class EmbeddedFile;
-class EmbeddedFileList;
+class FileNameList;
namespace graphics { class PreviewLoader; }
/// Is the width forced to some value?
virtual bool hasFixedWidth() const { return false; }
+ /// Is the content of this inset part of the output document?
+ virtual bool producesOutput() const { return true; }
+
/// \return Tool tip for this inset.
/// This default implementation returns an empty string.
virtual docstring toolTip(BufferView const & bv, int x, int y) const;
virtual void addPreview(graphics::PreviewLoader &) const {}
/// Add an entry to the TocList
/// pit is the ParConstIterator of the paragraph containing the inset
- virtual void addToToc(ParConstIterator const &) const {}
- /// report files that can be embedded with the lyx file
- virtual void registerEmbeddedFiles(EmbeddedFileList &) const {}
- /// update the properties of an embedded file of an inset
- /// the name of the embedded file should not change.
- virtual void updateEmbeddedFile(EmbeddedFile const &) {}
+ virtual void addToToc(DocIterator const &) {}
/// Fill keys with BibTeX information
virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const {}
/// Update the counters of this inset and of its contents