]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Circumvent odd stmary font metrics (part of #9990).
[lyx.git] / src / insets / InsetGraphics.h
index d8ad8f8c713f5dd5868a9e0716d47797efd11350..3cf296fc8db71be2ce34525d138c9bf90749c543 100644 (file)
@@ -86,6 +86,8 @@ private:
        void validate(LaTeXFeatures & features) const;
        /// returns LyX code associated with the inset. Used for TOC, ...)
        InsetCode lyxCode() const { return GRAPHICS_CODE; }
+       ///
+       docstring layoutName() const { return from_ascii("Graphics"); }
        /// Get the inset parameters, used by the GUIndependent dialog.
        InsetGraphicsParams const & params() const;
        ///
@@ -97,7 +99,8 @@ private:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active,
+                                 UpdateType utype) const;
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL