2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
12 #ifndef InsetMinipage_H
13 #define InsetMinipage_H
19 #include "insetcollapsable.h"
22 /** The minipage inset
25 class InsetMinipage : public InsetCollapsable {
43 void Write(Buffer const * buf, std::ostream & os) const;
45 Inset * Clone(Buffer const &) const;
47 Inset::Code LyxCode() const { return Inset::MINIPAGE_CODE; }
49 int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
51 string const EditMessage() const;
53 bool InsertInsetAllowed(Inset * inset) const;
59 InnerPosition innerPos() const;
61 void innerPos(InnerPosition);
63 LyXLength const & height() const;
65 void height(LyXLength const &);
67 LyXLength const & width() const;
69 void width(LyXLength const &);
74 InnerPosition inner_pos_;