3 * \file ParagraphList.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
12 #ifndef PARAGRAPH_LIST_H
13 #define PARAGRAPH_LIST_H
15 #include "Paragraph.h"
17 #include "support/RandomAccessList.h"
22 /// Container for all kind of Paragraphs used in LyX.
23 class ParagraphList : public RandomAccessList<Paragraph> {
28 template<class InputIterator>
29 ParagraphList(InputIterator first, InputIterator last)
30 : RandomAccessList<Paragraph>(first, last)
33 const Paragraph * getParagraphBefore(const_iterator const & par) const
35 // No previous paragraph.