]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbox.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetbox.h
index 00a69ca45555a93c3a7497babb8b329fb95a5845..8786c1c649efb1301eeaec92995e0f9d7ddc9f63 100644 (file)
@@ -72,7 +72,7 @@ public:
        ///
        void setButtonLabel();
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        /// show the Box dialog
        bool showInsetDialog(BufferView * bv) const;
        ///
@@ -108,6 +108,8 @@ public:
 protected:
        InsetBox(InsetBox const &);
        virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       /// Is the width forced to some value?
+       virtual bool hasFixedWidth() const;
 private:
        friend class InsetBoxParams;