diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-08-16 12:01:00 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-08-16 12:01:00 +0000 |
commit | d65fe0faf3c61b6eea6a77b113c4dd0d98cb72e6 (patch) | |
tree | 11f861bc0b7a6a840831a4bbe58a3731e22bdfa5 /sc/source/ui/inc/csvgrid.hxx | |
parent | fee230e0c9e8f001e033e6f2fd964ad4dcc202bd (diff) |
#101677# CSV accessibility
Diffstat (limited to 'sc/source/ui/inc/csvgrid.hxx')
-rw-r--r-- | sc/source/ui/inc/csvgrid.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx index 7646de2bf046..90c68222d4e4 100644 --- a/sc/source/ui/inc/csvgrid.hxx +++ b/sc/source/ui/inc/csvgrid.hxx @@ -2,9 +2,9 @@ * * $RCSfile: csvgrid.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dr $ $Date: 2002-08-15 09:29:11 $ + * last change: $Author: dr $ $Date: 2002-08-16 13:00:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,6 +88,7 @@ // ---------------------------------------------------------------------------- namespace svx { class ColorConfig; } +class EditEngine; class ScEditEngineDefaulter; class ScAsciiOptions; class ScAccessibleCsvControl; @@ -98,6 +99,8 @@ class ScAccessibleCsvControl; const sal_uInt8 CSV_COLFLAG_NONE = 0x00; /// Nothing set. const sal_uInt8 CSV_COLFLAG_SELECT = 0x01; /// Column is selected. +const sal_uInt32 CSV_COLUMN_INVALID = CSV_VEC_NOTFOUND; + // ---------------------------------------------------------------------------- @@ -282,7 +285,7 @@ public: /** Returns index of the first selected column really after nFromIndex. */ sal_uInt32 GetNextSelected( sal_uInt32 nFromIndex ) const; /** Returns true, if at least one column is selected. */ - inline bool HasSelection() const { return GetFirstSelected() != VEC_NOTFOUND; } + inline bool HasSelection() const { return GetFirstSelected() != CSV_COLUMN_INVALID; } /** Selects or deselects the specified column. */ void Select( sal_uInt32 nColIndex, bool bSelect = true ); @@ -341,6 +344,8 @@ protected: public: /** Redraws the entire data grid. */ void ImplRedraw(); + /** Returns a pointer to the used edit engine. */ + EditEngine* GetEditEngine(); private: /** Returns the width of the control. */ |