X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finsets%2FInsetGraphics.h;h=2947ade78c978f0272149a4727774c4bb36984c9;hb=de67b68b1dc140321e5d0e2e6b4507c972703744;hp=a2fef00a39d68e809a4d49ef117d14404a386710;hpb=325fbab4636507b62773e3873090e5f35590c95c;p=lyx.git diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h index a2fef00a39..2947ade78c 100644 --- a/src/insets/InsetGraphics.h +++ b/src/insets/InsetGraphics.h @@ -55,7 +55,11 @@ public: /// bool clickable(BufferView const &, int, int) const { return true; } /// - bool canPaintChange(BufferView const &) const { return true; }; + bool canPaintChange(BufferView const &) const { return true; } + /// + InsetGraphics * asInsetGraphics() { return this; } + /// + InsetGraphics const * asInsetGraphics() const { return this; } private: /// @@ -102,7 +106,7 @@ private: bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const; /// void addToToc(DocIterator const & di, bool output_active, - UpdateType utype) const; + UpdateType utype, TocBackend & backend) const; /// std::string contextMenuName() const; /// Force inset into LTR environment if surroundings are RTL @@ -114,7 +118,7 @@ private: /// Get the status message, depends on the image loading status. std::string statusMessage() const; /// Create the options for the latex command. - std::string createLatexOptions() const; + std::string createLatexOptions(bool const ps) const; /// Create length values for docbook export. docstring toDocbookLength(Length const & len) const; /// Create the atributes for docbook export. @@ -155,7 +159,7 @@ namespace graphics { void unifyGraphicsGroups(Buffer &, std::string const &); InsetGraphics * getCurrentGraphicsInset(Cursor const &); -} +} // namespace graphics } // namespace lyx