4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "support/types.h"
28 bool isBoundary(Buffer const &, Paragraph const & par,
29 lyx::pos_type pos) const;
31 bool isBoundary(Buffer const &, Paragraph const & par,
32 lyx::pos_type pos, LyXFont const & font) const;
34 lyx::pos_type log2vis(lyx::pos_type pos) const;
35 /** Maps positions in the logical string to positions
38 lyx::pos_type vis2log(lyx::pos_type pos) const;
40 lyx::pos_type level(lyx::pos_type pos) const;
42 bool inRange(lyx::pos_type pos) const;
44 bool same_direction() const;
46 void computeTables(Paragraph const & par,
47 Buffer const &, Row const & row);
52 std::vector<lyx::pos_type> log2vis_list_;
53 /** Maps positions in the visual string to positions
56 std::vector<lyx::pos_type> vis2log_list_;
58 std::vector<lyx::pos_type> levels_;