summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleSpreadsheet.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-02-20 12:50:58 +0000
committerSascha Ballach <sab@openoffice.org>2002-02-20 12:50:58 +0000
commit53b8b453550b55d22d2fbd197508b76c4b1cf68e (patch)
tree6e674ab9296ce028f0ee70884ddfaee04603d782 /sc/source/ui/inc/AccessibleSpreadsheet.hxx
parenta14348c22a41cc635c4c020b84042c4852a240d4 (diff)
#95584#; create base classes
Diffstat (limited to 'sc/source/ui/inc/AccessibleSpreadsheet.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleSpreadsheet.hxx37
1 files changed, 29 insertions, 8 deletions
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 5901bc8afee5..80a332d837d3 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleSpreadsheet.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: sab $ $Date: 2002-02-19 08:25:18 $
+ * last change: $Author: sab $ $Date: 2002-02-20 13:50:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,7 +85,9 @@ public:
ScTabViewShell* pViewShell,
sal_uInt16 nTab,
ScSplitPos eSplitPos);
+protected:
virtual ~ScAccessibleSpreadsheet ();
+public:
void SetDefunc();
@@ -95,11 +97,36 @@ public:
//===== XAccessibleTable ================================================
+ /// Returns the selected rows in a table.
+ virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL
+ getSelectedAccessibleRows( )
+ throw (::com::sun::star::uno::RuntimeException);
+
+ /// Returns the selected columns in a table.
+ virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL
+ getSelectedAccessibleColumns( )
+ throw (::com::sun::star::uno::RuntimeException);
+
+ ///  Returns a boolean value indicating whether the specified row is selected.
+ virtual sal_Bool SAL_CALL
+ isAccessibleRowSelected( sal_Int32 nRow )
+ throw (::com::sun::star::uno::RuntimeException);
+
+ /// Returns a boolean value indicating whether the specified column is selected.
+ virtual sal_Bool SAL_CALL
+ isAccessibleColumnSelected( sal_Int32 nColumn )
+ throw (::com::sun::star::uno::RuntimeException);
+
/// Returns the Accessible at a specified row and column in the table.
virtual ::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleCellAt( sal_Int32 nRow, sal_Int32 nColumn )
throw (::com::sun::star::uno::RuntimeException);
+ /// Returns a boolean value indicating whether the accessible at a specified row and column is selected.
+ virtual sal_Bool SAL_CALL
+ isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
+ throw (::com::sun::star::uno::RuntimeException);
+
//===== XAccessibleComponent ============================================
/** Returns the Accessible child that is rendered under the given point.
@@ -177,12 +204,6 @@ private:
sal_Bool IsCompleteSheetSelected(
const com::sun::star::uno::Reference<
::drafts::com::sun::star::accessibility::XAccessibleStateSet>& rxParentStates);
- sal_Bool IsShowing(
- const com::sun::star::uno::Reference<
- ::drafts::com::sun::star::accessibility::XAccessibleStateSet>& rxParentStates);
- sal_Bool IsVisible(
- const com::sun::star::uno::Reference<
- ::drafts::com::sun::star::accessibility::XAccessibleStateSet>& rxParentStates);
ScDocument* GetDocument(ScTabViewShell* mpViewShell);
};