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.
17 #include "support/types.h"
30 bool isBoundary(Buffer const &, Paragraph const & par,
31 lyx::pos_type pos) const;
33 bool isBoundary(Buffer const &, Paragraph const & par,
34 lyx::pos_type pos, LyXFont const & font) const;
36 lyx::pos_type log2vis(lyx::pos_type pos) const;
37 /** Maps positions in the logical string to positions
40 lyx::pos_type vis2log(lyx::pos_type pos) const;
42 lyx::pos_type level(lyx::pos_type pos) const;
44 bool inRange(lyx::pos_type pos) const;
46 bool same_direction() const;
48 void computeTables(Paragraph const & par,
49 Buffer const &, Row const & row);
54 std::vector<lyx::pos_type> log2vis_list_;
55 /** Maps positions in the visual string to positions
58 std::vector<lyx::pos_type> vis2log_list_;
60 std::vector<lyx::pos_type> levels_;