- ParagraphList & paragraphs() const;
- /// return true if this is owned by an inset.
- bool isInInset() const;
-
- /// return first row of text
- RowList::iterator firstRow() const;
- /// return last row of text
- RowList::iterator lastRow() const;
- /// return row "behind" last row of text
- RowList::iterator endRow() const;
- /// return next row crossing paragraph boundaries
- void nextRow(ParagraphList::iterator & pit,
- RowList::iterator & rit) const;
- /// return previous row crossing paragraph boundaries
- void previousRow(ParagraphList::iterator & pit,
- RowList::iterator & rit) const;
+ ParagraphList const & paragraphs() const { return pars_; }
+ ParagraphList & paragraphs() { return pars_; }
+ /// return true if this is the main text
+ bool isMainText(Buffer const &) const;