diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-02 19:31:29 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-09-03 00:09:02 +0200 |
commit | 834eddc8f75fa73b36f3ab5804104829809d8949 (patch) | |
tree | 26714708f1763c4e32cdff7b868a16f3277a5604 /sc/inc/dbdata.hxx | |
parent | 1cb61611c2308df86bf9acfafe25faff624dad26 (diff) |
TableRef: add RefreshTableColumnNames() from range
Change-Id: I32a47e306469aec5fe366a6621129e14b0d49c13
Diffstat (limited to 'sc/inc/dbdata.hxx')
-rw-r--r-- | sc/inc/dbdata.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index efe0d2f5052e..22ccc329886e 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -125,6 +125,10 @@ public: /** Refresh/update the column names with the header row's cell contents. */ SC_DLLPUBLIC void RefreshTableColumnNames( ScDocument* pDoc ); + /** Refresh/update the column names with the header row's cell contents + within the given range. */ + void RefreshTableColumnNames( ScDocument* pDoc, const ScRange& rRange ); + /** Finds the column named rName and returns the corresponding offset within the table. @returns -1 if not found. @@ -283,6 +287,8 @@ public: ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2); ScDBData* GetDBNearCursor(SCCOL nCol, SCROW nRow, SCTAB nTab ); + void RefreshTableColumnNames( const ScRange& rRange ); + void DeleteOnTab( SCTAB nTab ); void UpdateReference(UpdateRefMode eUpdateRefMode, SCCOL nCol1, SCROW nRow1, SCTAB nTab1, |