summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/uiitems.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 10:43:39 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 10:43:39 +0000
commitd8c8c42485042bfccc2f254192e421365e630caa (patch)
tree3825ad2cf6d27e8ebae96e6990eb2e71fd4d2ddb /sc/source/ui/inc/uiitems.hxx
parent8332463ac7bc2dceca54adceba43c072f011f70d (diff)
INTEGRATION: CWS rowlimit (1.2.338); FILE MERGED
2004/03/15 17:21:42 er 1.2.338.3: RESYNC: (1.2-1.3); FILE MERGED 2004/01/13 20:04:43 er 1.2.338.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short 2003/11/28 19:48:03 er 1.2.338.1: #i1967# move ScAddress, ScRange from global.hxx to address.hxx
Diffstat (limited to 'sc/source/ui/inc/uiitems.hxx')
-rw-r--r--sc/source/ui/inc/uiitems.hxx45
1 files changed, 24 insertions, 21 deletions
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 43fc2c16daa6..21ac6f1f6d38 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: uiitems.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: kz $ $Date: 2004-02-25 17:22:42 $
+ * last change: $Author: obo $ $Date: 2004-06-04 11:43:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,9 @@
#ifndef SC_SORTPARAM_HXX
#include "sortparam.hxx"
#endif
+#ifndef SC_PARAMISC_HXX
+#include "paramisc.hxx"
+#endif
#ifndef _SFXPOOLITEM_HXX //autogen
#include <svtools/poolitem.hxx>
@@ -93,10 +96,10 @@ class ScInputStatusItem : public SfxPoolItem
public:
TYPEINFO();
ScInputStatusItem( USHORT nWhich,
- USHORT nTab,
- USHORT nCol, USHORT nRow,
- USHORT nStartCol, USHORT nStartRow,
- USHORT nEndCol, USHORT nSEndRow,
+ SCTAB nTab,
+ SCCOL nCol, SCROW nRow,
+ SCCOL nStartCol, SCROW nStartRow,
+ SCCOL nEndCol, SCROW nSEndRow,
const String& rString,
const EditTextObject* pData );
ScInputStatusItem( USHORT nWhich,
@@ -116,13 +119,13 @@ public:
const ScAddress& GetPos() const { return aCursorPos; }
const ScAddress& GetStartPos() const { return aStartPos; }
const ScAddress& GetEndPos() const { return aEndPos; }
- USHORT GetTab() const { return aCursorPos.Tab(); }
- USHORT GetCol() const { return aCursorPos.Col(); }
- USHORT GetRow() const { return aCursorPos.Row(); }
- USHORT GetStartCol() const { return aStartPos.Col(); }
- USHORT GetStartRow() const { return aStartPos.Row(); }
- USHORT GetEndCol() const { return aEndPos.Col(); }
- USHORT GetEndRow() const { return aEndPos.Row(); }
+ SCTAB GetTab() const { return aCursorPos.Tab(); }
+ SCCOL GetCol() const { return aCursorPos.Col(); }
+ SCROW GetRow() const { return aCursorPos.Row(); }
+ SCCOL GetStartCol() const { return aStartPos.Col(); }
+ SCROW GetStartRow() const { return aStartPos.Row(); }
+ SCCOL GetEndCol() const { return aEndPos.Col(); }
+ SCROW GetEndRow() const { return aEndPos.Row(); }
const String& GetString() const { return aString; }
const EditTextObject* GetEditData() const { return pEditData; }
@@ -138,17 +141,17 @@ public:
class ScTablesHint : public SfxHint
{
USHORT nId;
- USHORT nTab1;
- USHORT nTab2;
+ SCTAB nTab1;
+ SCTAB nTab2;
public:
TYPEINFO();
- ScTablesHint(USHORT nNewId, USHORT nTable1, USHORT nTable2=0);
+ ScTablesHint(USHORT nNewId, SCTAB nTable1, SCTAB nTable2=0);
~ScTablesHint();
USHORT GetId() const { return nId; }
- USHORT GetTab1() const { return nTab1; }
- USHORT GetTab2() const { return nTab2; }
+ SCTAB GetTab1() const { return nTab1; }
+ SCTAB GetTab2() const { return nTab2; }
};
class ScEditViewHint : public SfxHint
@@ -162,9 +165,9 @@ public:
ScEditViewHint( ScEditEngineDefaulter* pEngine, const ScAddress& rCurPos );
~ScEditViewHint();
- USHORT GetCol() const { return aCursorPos.Col(); }
- USHORT GetRow() const { return aCursorPos.Row(); }
- USHORT GetTab() const { return aCursorPos.Tab(); }
+ SCCOL GetCol() const { return aCursorPos.Col(); }
+ SCROW GetRow() const { return aCursorPos.Row(); }
+ SCTAB GetTab() const { return aCursorPos.Tab(); }
ScEditEngineDefaulter* GetEngine() const { return pEditEngine; }
};