]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetGraphics.h
index 6d2da3bc6ac990bfb57a178337abff61e74d6a3c..b5c8043c23a38bd2f1ee57bb805be4cb8f37cce7 100644 (file)
@@ -34,6 +34,9 @@ public:
        ///
        ~InsetGraphics();
        ///
+       void setBuffer(Buffer & buffer);
+       ///
+       bool isLabeled() const { return true; }
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        EDITABLE editable() const;
@@ -79,6 +82,9 @@ public:
        void registerEmbeddedFiles(EmbeddedFileList &) const;
        ///
        void updateEmbeddedFile(EmbeddedFile const &);
+       ///
+       void addToToc(ParConstIterator const &) const;
+
        /// Force inset into LTR environment if surroundings are RTL?
        virtual bool forceLTR() const { return true; }
 protected: