]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
de.po
[lyx.git] / src / insets / InsetGraphics.h
index 58b28ab21d84bf16e34af4ad6997c619d9e0f4c8..b92f19bb20b68c9c8e2cbde71d49ec4b22721182 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:
        ///
@@ -113,6 +117,8 @@ private:
        Inset * clone() const;
        /// Get the status message, depends on the image loading status.
        std::string statusMessage() const;
+       /// Get the output bounding box accounting for raster formats.
+       void outBoundingBox(graphics::BoundingBox &) const;
        /// Create the options for the latex command.
        std::string createLatexOptions(bool const ps) const;
        /// Create length values for docbook export.