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"
33 InsetTable(lyx::pos_type p, InsetOld * i) : pos(p), inset(i) {}
36 typedef std::vector<InsetTable> List;
38 typedef List::iterator iterator;
40 typedef List::const_iterator const_iterator;
49 const_iterator begin() const;
51 const_iterator end() const;
53 iterator insetIterator(lyx::pos_type pos);
55 const_iterator insetIterator(lyx::pos_type pos) const;
57 void insert(InsetOld * inset, lyx::pos_type pos);
59 void erase(lyx::pos_type pos);
61 InsetOld * release(lyx::pos_type);
63 InsetOld * get(lyx::pos_type pos) const;
65 void increasePosAfterPos(lyx::pos_type pos);
67 void decreasePosAfterPos(lyx::pos_type pos);
69 void insetsOpenCloseBranch(BufferView * bv);