summaryrefslogtreecommitdiff
path: root/sc/source/core/inc/doubleref.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2009-09-15 17:23:28 -0400
committerKohei Yoshida <kyoshida@novell.com>2009-09-15 17:23:28 -0400
commit62ca9beff50e3e40e524656088d8bb4978612ca6 (patch)
treefaaf0cd94205d9e9f9fe44afa5cc904062dc78a5 /sc/source/core/inc/doubleref.hxx
parent6b38ae9c3bbca8be9d41df4e4deee464af5ba89b (diff)
#i102750# supported external db range for DSUM for by-value query entries.
Diffstat (limited to 'sc/source/core/inc/doubleref.hxx')
-rw-r--r--sc/source/core/inc/doubleref.hxx35
1 files changed, 32 insertions, 3 deletions
diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx
index 27b973db45d9..f010587236c3 100644
--- a/sc/source/core/inc/doubleref.hxx
+++ b/sc/source/core/inc/doubleref.hxx
@@ -69,7 +69,17 @@ public:
virtual ::rtl::OUString getString(SCCOL nCol, SCROW nRow) const = 0;
virtual SCCOL getFirstFieldColumn() const = 0;
- virtual SCCOL findFieldColumn(SCCOL nColIndex) const = 0;
+
+ /**
+ * Get a <i>0-based</i> column index that corresponds with the passed field
+ * index. Note that the field index passed as the 1st parameter is
+ * <i>1-based.</i>
+ *
+ * @param nIndex 1-based field index.
+ *
+ * @return 0-based column index
+ */
+ virtual SCCOL findFieldColumn(SCCOL nIndex) const = 0;
virtual SCCOL findFieldColumn(const ::rtl::OUString& rStr, sal_uInt16* pErr = NULL) const = 0;
virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const = 0;
virtual bool isRangeEqual(const ScRange& rRange) const = 0;
@@ -110,7 +120,16 @@ public:
virtual ::rtl::OUString getString(SCCOL nCol, SCROW nRow) const;
virtual SCCOL getFirstFieldColumn() const;
- virtual SCCOL findFieldColumn(SCCOL nColIndex) const;
+ /**
+ * Get a <i>0-based</i> column index that corresponds with the passed field
+ * index. Note that the field index passed as the 1st parameter is
+ * <i>1-based.</i>
+ *
+ * @param nIndex 1-based field index.
+ *
+ * @return 0-based column index
+ */
+ virtual SCCOL findFieldColumn(SCCOL nIndex) const;
virtual SCCOL findFieldColumn(const ::rtl::OUString& rStr, sal_uInt16* pErr = NULL) const;
virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const;
virtual bool isRangeEqual(const ScRange& rRange) const;
@@ -145,7 +164,17 @@ public:
virtual ::rtl::OUString getString(SCCOL nCol, SCROW nRow) const;
virtual SCCOL getFirstFieldColumn() const;
- virtual SCCOL findFieldColumn(SCCOL nColIndex) const;
+
+ /**
+ * Get a <i>0-based</i> column index that corresponds with the passed field
+ * index. Note that the field index passed as the 1st parameter is
+ * <i>1-based.</i>
+ *
+ * @param nIndex 1-based field index.
+ *
+ * @return 0-based column index
+ */
+ virtual SCCOL findFieldColumn(SCCOL nIndex) const;
virtual SCCOL findFieldColumn(const ::rtl::OUString& rStr, sal_uInt16* pErr = NULL) const;
virtual ScDBQueryParamBase* createQueryParam(const ScDBRangeBase* pQueryRef) const;
virtual bool isRangeEqual(const ScRange& rRange) const;