summaryrefslogtreecommitdiffstats
path: root/sc/inc/addincol.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-10 12:07:16 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-10 12:07:16 +0000
commit2fab2c84246aaba1cc3a6d52653abe758f5835bb (patch)
tree39b99edf3a5e4f2c22784ecc07475c3847503909 /sc/inc/addincol.hxx
parentINTEGRATION: CWS xmlfilter02 (1.5.402); FILE MERGED (diff)
downloadcore-2fab2c84246aaba1cc3a6d52653abe758f5835bb.tar.gz
core-2fab2c84246aaba1cc3a6d52653abe758f5835bb.zip
INTEGRATION: CWS xmlfilter02 (1.9.172); FILE MERGED
2007/10/04 09:01:03 os 1.9.172.4: RESYNC: (1.9-1.10); FILE MERGED 2007/08/30 09:24:13 er 1.9.172.3: #i75682# generalize uno::Sequence to ScMatrix conversion 2007/08/23 17:47:42 er 1.9.172.2: ODF_11 OpCodeMap; fill from AddInCollection; sort out English vs. ODF_11 vs. Upper symbols 2007/08/14 18:32:01 er 1.9.172.1: #i75682# Compiler OpCodeMap
Diffstat (limited to 'sc/inc/addincol.hxx')
-rw-r--r--sc/inc/addincol.hxx21
1 files changed, 16 insertions, 5 deletions
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx
index 97202a348f14..8b2b58ff2e19 100644
--- a/sc/inc/addincol.hxx
+++ b/sc/inc/addincol.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: addincol.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2007-09-27 13:50:56 $
+ * last change: $Author: obo $ $Date: 2008-01-10 13:07:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -78,6 +78,10 @@
#include <rtl/ustring.h>
#endif
+#ifndef SC_SCMATRIX_HXX
+#include "scmatrix.hxx"
+#endif
+
#include <hash_map>
@@ -162,6 +166,7 @@ public:
USHORT GetHelpId() const { return nHelpId; }
const com::sun::star::uno::Sequence< com::sun::star::sheet::LocalizedName>& GetCompNames() const;
+ BOOL GetExcelName( LanguageType eDestLang, String& rRetExcelName ) const;
void SetFunction( const com::sun::star::uno::Reference< com::sun::star::reflection::XIdlMethod>& rNewFunc,
const com::sun::star::uno::Any& rNewObj );
@@ -203,6 +208,12 @@ public:
// are initialized (component may have to be loaded).
const ScUnoAddInFuncData* GetFuncData( const String& rName, bool bComplete = false );
+ /** For enumeration in ScCompiler::OpCodeMap::getAvailableMappings().
+ @param nIndex
+ 0 <= nIndex < GetFuncCount()
+ */
+ const ScUnoAddInFuncData* GetFuncData( long nIndex );
+
void Clear();
void LocalizeString( String& rName ); // modify rName - input: exact name
@@ -231,7 +242,7 @@ private:
BOOL bHasString;
double fValue;
String aString;
- ScMatrix* pMatrix;
+ ScMatrixRef xMatrix;
com::sun::star::uno::Reference<com::sun::star::sheet::XVolatileResult> xVarRes;
void ExecuteCallWithArgs(
@@ -258,11 +269,11 @@ public:
USHORT GetErrCode() const { return nErrCode; }
BOOL HasString() const { return bHasString; }
- BOOL HasMatrix() const { return ( pMatrix != NULL ); }
+ BOOL HasMatrix() const { return ( xMatrix.Is() ); }
BOOL HasVarRes() const { return ( xVarRes.is() ); }
double GetValue() const { return fValue; }
const String& GetString() const { return aString; }
- const ScMatrix* GetMatrix() const { return pMatrix; }
+ ScMatrixRef GetMatrix() const { return xMatrix; }
com::sun::star::uno::Reference<com::sun::star::sheet::XVolatileResult>
GetVarRes() const { return xVarRes; }
};