summaryrefslogtreecommitdiff
path: root/starmath/inc/view.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-10-23 17:52:33 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-23 17:52:33 +0100
commit46b8e9a0ecba18abe7040acc85298eed32c4e0fe (patch)
treeb0c3e17649548699da0bee7fd45d2c45c4d8935c /starmath/inc/view.hxx
parent5d73854b32303db5b764846b70f63c6c951c0458 (diff)
re-instate the nasty old editing paths as a run-time conditional
Diffstat (limited to 'starmath/inc/view.hxx')
-rw-r--r--starmath/inc/view.hxx20
1 files changed, 19 insertions, 1 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index d1ad4a933750..0ca9bf585f00 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -51,8 +51,23 @@ class SmPrintUIOptions;
class SmGraphicWindow : public ScrollableWindow
{
- Point aFormulaDrawPos;
+ Point aFormulaDrawPos;
+ // old style editing pieces
+ Rectangle aCursorRect;
+ bool bIsCursorVisible;
+public:
+ BOOL IsCursorVisible() const { return bIsCursorVisible; }
+ void ShowCursor(BOOL bShow);
+ const SmNode * SetCursorPos(USHORT nRow, USHORT nCol);
+protected:
+ void SetIsCursorVisible(BOOL bVis) { bIsCursorVisible = bVis; }
+ using Window::SetCursor;
+ void SetCursor(const SmNode *pNode);
+ void SetCursor(const Rectangle &rRect);
+ bool IsInlineEditEnabled() const;
+
+private:
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > xAccessible;
SmGraphicAccessible * pAccessible;
@@ -298,6 +313,9 @@ public:
void SetInsertIntoEditWindow(BOOL bEditWindowHadFocusLast = TRUE){
bInsertIntoEditWindow = bEditWindowHadFocusLast;
}
+ bool IsInlineEditEnabled() const {
+ return false;
+ }
};
#endif