-typedef std::list<Paragraph> ParagraphList;
-
-typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+class ParagraphList : public std::vector<Paragraph>
+{
+public:
+ ///
+ typedef std::vector<Paragraph> BaseType;
+ ///
+ ParagraphList();
+ ///
+ template <class Iter>
+ ParagraphList(Iter beg, Iter end)
+ : BaseType(beg, end)
+ {}
+};