-
- // Returns y-coordinates that contraint the cell, i.e. left is highest
- // and right lowest coordinate such that the cell lays between then.
- // Note: this method does not return meaningful values if you haven't
- // called Layout() before!
- virtual void GetHorizontalConstraints(int *left, int *right) const;
+
+ // Can the line be broken before this cell?
+ virtual bool IsLinebreakAllowed() const
+ { return !IsFormattingCell(); }