#include <string>
-class LCursor;
class LyXFont;
-class LyXText;
+class Point;
+class DocIterator;
+class BufferView;
namespace bv_funcs {
*/
std::string const freefont2string();
+Point getPos(DocIterator const & dit);
-/// what type of depth change to make
-enum DEPTH_CHANGE {
- INC_DEPTH,
- DEC_DEPTH
+enum CurStatus {
+ CUR_INSIDE,
+ CUR_ABOVE,
+ CUR_BELOW
};
-/// Returns whether something would be changed by changeDepth
-bool changeDepthAllowed(LCursor & cur, LyXText * text, DEPTH_CHANGE);
+
+CurStatus status(BufferView const * bv, DocIterator const & dit);
+
+
+Point coordOffset(DocIterator const & dit);
+
} // namespace bv_funcs