]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.h
updates to minipage inset
[lyx.git] / src / insets / insetminipage.h
index aff41a6eeceb2680a407b550e31ddd734a46142d..fa455acb33edd4110438ec436a21a8193cff6dcf 100644 (file)
 #endif
 
 #include "insetcollapsable.h"
+#include "vspace.h"
 
 /** The minipage inset
   
 */
 class InsetMinipage : public InsetCollapsable {
 public:
+       ///
+       enum Position {
+               center,
+               top,
+               bottom
+       };
+       ///
+       enum InnerPosition {
+               inner_center,
+               inner_top,
+               inner_bottom,
+               inner_stretch
+       };
        ///
        InsetMinipage();
        ///
@@ -37,6 +51,31 @@ public:
        string const EditMessage() const;
        ///
        bool InsertInsetAllowed(Inset * inset) const;
+       ///
+       Position pos() const;
+       ///
+       void pos(Position);
+       ///
+       InnerPosition innerPos() const;
+       ///
+       void innerPos(InnerPosition);
+       ///
+       LyXLength const & height() const;
+       ///
+       void height(LyXLength const &);
+       ///
+       LyXLength const & width() const;
+       ///
+       void width(LyXLength const &);
+private:
+       ///
+       Position pos_;
+       ///
+       InnerPosition inner_pos_;
+       ///
+       LyXLength height_;
+       ///
+       LyXLength width_;
 };
 
 #endif