diff options
author | Steve Yin <steve_y@apache.org> | 2013-11-27 13:03:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-27 15:38:59 +0000 |
commit | 60f11adb950e4f9645cc9ecb0f5af8235cc97366 (patch) | |
tree | a4a758c31820e909d266f8b5cd49c651011acae9 /include/svx/sdr | |
parent | e022c608fd927bfec20bdec5bee5b600668eeaac (diff) |
Integrate branch of IAccessible2
Change-Id: I8327fb4ba2a86d4caa52b875221175b80464842a
Diffstat (limited to 'include/svx/sdr')
-rw-r--r-- | include/svx/sdr/table/tablecontroller.hxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx index af613d882261..908c5318fcd6 100644 --- a/include/svx/sdr/table/tablecontroller.hxx +++ b/include/svx/sdr/table/tablecontroller.hxx @@ -28,7 +28,6 @@ #include <svx/selectioncontroller.hxx> #include <svx/svdotable.hxx> #include <svx/svdview.hxx> -//#include <tablemodel.hxx> class SdrObjEditView; class SdrObject; @@ -102,6 +101,17 @@ public: SVX_DLLPRIVATE void onTableModified(); + sal_Bool selectRow( sal_Int32 row ); + sal_Bool selectColumn( sal_Int32 column ); + sal_Bool deselectRow( sal_Int32 row ); + sal_Bool deselectColumn( sal_Int32 column ); + sal_Bool isRowSelected( sal_Int32 nRow ); + sal_Bool isColumnSelected( sal_Int32 nColumn ); + sal_Bool isRowHeader(); + sal_Bool isColumnHeader(); + ::sdr::table::SdrTableObj* GetTableObj() { return dynamic_cast< ::sdr::table::SdrTableObj* >( mxTableObj.get() ); } + //declare event notification method + void NotifySelection( const CellPos& firstPos, const CellPos& lastPos, const CellPos& newPos ); private: SvxTableController(SvxTableController &); // not defined void operator =(SvxTableController &); // not defined |