]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Internal buffers are valid
[lyx.git] / src / insets / InsetGraphics.h
index 88ded43e1bb0f9ffe7aac7450deec0c6e4575cf4..28ea3372464862c851fb2d849fff9c8d8c0cfda4 100644 (file)
@@ -106,15 +106,17 @@ private:
        ///
        std::string contextMenuName() const;
        /// Force inset into LTR environment if surroundings are RTL
-       bool forceLTR() const { return true; }
+       bool forceLTR(OutputParams const &) const { return true; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        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() 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 +157,7 @@ namespace graphics {
        void unifyGraphicsGroups(Buffer &, std::string const &);
        InsetGraphics * getCurrentGraphicsInset(Cursor const &);
 
-}
+} // namespace graphics
 
 } // namespace lyx