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"
29 bool isBoundary(Buffer
const &, Paragraph
const & par
,
30 lyx::pos_type pos
) const;
32 bool isBoundary(Buffer
const &, Paragraph
const & par
,
33 lyx::pos_type pos
, LyXFont
const & font
) const;
35 lyx::pos_type
log2vis(lyx::pos_type pos
) const;
36 /** Maps positions in the logical string to positions
39 lyx::pos_type
vis2log(lyx::pos_type pos
) const;
41 lyx::pos_type
level(lyx::pos_type pos
) const;
43 bool inRange(lyx::pos_type pos
) const;
45 bool same_direction() const;
47 void computeTables(Paragraph
const & par
,
48 Buffer
const &, Row
const & row
);
53 std::vector
<lyx::pos_type
> log2vis_list_
;
54 /** Maps positions in the visual string to positions
57 std::vector
<lyx::pos_type
> vis2log_list_
;
59 std::vector
<lyx::pos_type
> levels_
;