*
* LyX, The Document Processor
*
- * Copyright 1998 The LyX Team.
+ * Copyright 2001 The LyX Team.
*
- *======================================================
+ * ======================================================
*/
#ifndef InsetMinipage_H
///
Inset * Clone(Buffer const &) const;
///
+ int ascent(BufferView *, LyXFont const &) const;
+ ///
+ int descent(BufferView *, LyXFont const &) const;
+ ///
Inset::Code LyxCode() const { return Inset::MINIPAGE_CODE; }
///
int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
void innerPos(InnerPosition);
///
- LyXLength const & height() const;
+ string const & height() const;
///
- void height(LyXLength const &);
+ void height(string const &);
///
string const & width() const;
///
void width(string const &);
///
- int widthp() const;
+ SigC::Signal0<void> hideDialog;
///
- void widthp(int);
+ void InsetButtonRelease(BufferView * bv, int x, int y, int button);
///
- void widthp(string const &);
+ int getMaxWidth(BufferView *, UpdatableInset const *) const;
///
- SigC::Signal0<void> hideDialog;
+ bool needFullRow() const { return false; }
///
- void InsetButtonRelease(BufferView * bv, int x, int y, int button);
-
+ bool ShowInsetDialog(BufferView *) const;
private:
///
Position pos_;
///
InnerPosition inner_pos_;
///
- LyXLength height_;
+ string height_;
///
string width_;
- ///
- int widthp_;
};
#endif