]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetminipage.h
index 6be1f4f929d821ef1d57d498be8db0e852cff7a8..9ba55571e516af1458b0278936bd3d5f13d04fd6 100644 (file)
@@ -56,19 +56,19 @@ 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;
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        Inset::Code lyxCode() const { return Inset::MINIPAGE_CODE; }
        ///