+ void scrollDocView(int pixels);
+
+ /// return the pixel width of the document view
+ int workWidth() const;
+ /// return the pixel height of the document view
+ int workHeight() const;
+
+ /// switch between primary and secondary keymaps for RTL entry
+ void switchKeyMap();
+
+ /// get the contents of the window system clipboard
+ std::string const getClipboard() const;
+ /// fill the window system clipboard
+ void stuffClipboard(std::string const &) const;
+ /// tell the window system we have a selection
+ void haveSelection(bool sel);
+
+ /// return true for events that will handle
+ FuncStatus getStatus(FuncRequest const & cmd);
+ /// execute the given function
+ bool dispatch(FuncRequest const & argument);
+
+ /// clear the X selection
+ void unsetXSel();
+
+ /// access to offset
+ int offset_ref() const;
+ /// access to anchor
+ lyx::pit_type anchor_ref() const;
+
+ /// access to full cursor
+ LCursor & cursor();
+ /// access to full cursor
+ LCursor const & cursor() const;
+ ///
+ LyXText * text() const;
+ ///
+ void setCursor(ParIterator const & par, lyx::pos_type pos);
+ /* Sets the selection. When \c backwards == false, set anchor
+ * to \c cur and cursor to \c cur + \c length. When \c
+ * backwards == true, set anchor to \c cur and cursor to \c
+ * cur + \c length.
+ */
+ void putSelectionAt(DocIterator const & cur,
+ int length, bool backwards);