]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Fix InsetBox::contentAlignment()
[lyx.git] / src / insets / InsetGraphics.h
index 5bd858a1a1975e7d7946083edc51203cd7e8f82d..2947ade78c978f0272149a4727774c4bb36984c9 100644 (file)
@@ -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:
        ///
@@ -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.