4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS.
15 #include "support/types.h"
31 InsetTable(lyx::pos_type p, InsetOld * i) : pos(p), inset(i) {}
34 typedef std::vector<InsetTable> List;
36 typedef List::iterator iterator;
38 typedef List::const_iterator const_iterator;
47 const_iterator begin() const;
49 const_iterator end() const;
51 iterator insetIterator(lyx::pos_type pos);
53 void insert(InsetOld * inset, lyx::pos_type pos);
55 void erase(lyx::pos_type pos);
57 InsetOld * release(lyx::pos_type);
59 InsetOld * get(lyx::pos_type pos) const;
61 void increasePosAfterPos(lyx::pos_type pos);
63 void decreasePosAfterPos(lyx::pos_type pos);
65 void deleteInsetsLyXText(BufferView * bv);
67 void InsetList::insetsOpenCloseBranch(BufferView * bv);