diff options
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 |