]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetminipage.h
index e6946a650fc72fa5204db7a99600c075b02971d4..9ba55571e516af1458b0278936bd3d5f13d04fd6 100644 (file)
@@ -56,25 +56,24 @@ public:
        ///
        InsetMinipage(BufferParams const &);
        ///
-       InsetMinipage(InsetMinipage const &, bool same_id = false);
+       InsetMinipage(InsetMinipage const &);
        ///
        ~InsetMinipage();
        ///
-       virtual dispatch_result localDispatch(FuncRequest const & cmd); 
+       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
        void read(Buffer const * buf, LyXLex & lex);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       Inset * clone() const;
        ///
-       int ascent(BufferView *, LyXFont const &) const;
-       ///
-       int descent(BufferView *, LyXFont const &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        Inset::Code lyxCode() const { return Inset::MINIPAGE_CODE; }
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
        ///