X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetminipage.h;h=e46de56167fbc2263ae4946be2709e6f69e2b040;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=4171e03d488d32ae466e2d9753914b5ff55ee376;hpb=26b1fa7be88e8388415b1aa49fb41cc2fc02c2db;p=lyx.git diff --git a/src/insets/insetminipage.h b/src/insets/insetminipage.h index 4171e03d48..e46de56167 100644 --- a/src/insets/insetminipage.h +++ b/src/insets/insetminipage.h @@ -17,7 +17,7 @@ #endif #include "insetcollapsable.h" -#include "vspace.h" +#include "lyxlength.h" #include /** The minipage inset @@ -71,23 +71,23 @@ public: /// void innerPos(InnerPosition); /// - string const & height() const; + LyXLength const & pageHeight() const; /// - void height(string const &); + void pageHeight(LyXLength const &); /// - string const & width() const; + LyXLength const & pageWidth() const; /// - void width(string const &); + void pageWidth(LyXLength const &); /// SigC::Signal0 hideDialog; /// - void insetButtonRelease(BufferView * bv, int x, int y, int button); - /// int getMaxWidth(BufferView *, UpdatableInset const *) const; /// bool needFullRow() const { return false; } /// bool showInsetDialog(BufferView *) const; + /// + int latexTextWidth(BufferView *) const; private: /// @@ -95,9 +95,9 @@ private: /// InnerPosition inner_pos_; /// - string height_; + LyXLength height_; /// - string width_; + LyXLength width_; }; #endif