summaryrefslogtreecommitdiff
path: root/sc/inc/AccessibleFilterMenu.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@openoffice.org>2009-08-25 15:36:57 +0000
committerKohei Yoshida <kohei@openoffice.org>2009-08-25 15:36:57 +0000
commitfddbd3634adb04995106aff39334c1ddf55013bc (patch)
tree353099156e1a2b2213efc59d07e7e769030cd23d /sc/inc/AccessibleFilterMenu.hxx
parent6f8305a93490ec9868510b62f522c7545ef73a5b (diff)
Reorganized accessible menu implementation so that the toplevel window is treated as menu. It's cleaner and less complicated this way.
Diffstat (limited to 'sc/inc/AccessibleFilterMenu.hxx')
-rw-r--r--sc/inc/AccessibleFilterMenu.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/inc/AccessibleFilterMenu.hxx b/sc/inc/AccessibleFilterMenu.hxx
index f295950f1c82..54194a2d4acf 100644
--- a/sc/inc/AccessibleFilterMenu.hxx
+++ b/sc/inc/AccessibleFilterMenu.hxx
@@ -161,6 +161,16 @@ public:
void setMenuPos(size_t nMenuPos);
void setEnabled(bool bEnabled);
+protected:
+
+ sal_Int32 getMenuItemCount() const;
+
+ virtual Rectangle GetBoundingBoxOnScreen() const
+ throw (::com::sun::star::uno::RuntimeException);
+
+ virtual Rectangle GetBoundingBox() const
+ throw (::com::sun::star::uno::RuntimeException);
+
private:
bool isSelected() const;
bool isFocused() const;