diff options
author | Eike Rathke <erack@redhat.com> | 2020-10-31 18:27:58 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2020-10-31 21:30:31 +0100 |
commit | c87a70c9f66256c85df7e7d33c3ebb46782593a7 (patch) | |
tree | 5f0d580d51db349cec99e76f097f404961a97bd7 /sc/inc | |
parent | 0385dd46907455e5f6aeba4689ad8cce9b786702 (diff) |
Implement ScDocument::GetSheetSeparator()
That can be reused.
Change-Id: I4805fefa7585ddee026073e3b647020f8a993ab2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105123
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index edc0447949cf..5bab5a19d80c 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -803,6 +803,12 @@ public: */ bool InsertNewRangeName( SCTAB nTab, const OUString& rName, const ScAddress& rPos, const OUString& rExpr ); + /** Obtain the sheet separator corresponding to the document's grammar. + + @return '.' for our own grammars, '!' for Excel grammars. + */ + SC_DLLPUBLIC sal_Unicode GetSheetSeparator() const; + SCTAB GetMaxTableNumber() const { return static_cast<SCTAB>(maTabs.size()) - 1; } ScRangePairList* GetColNameRanges() { return xColNameRanges.get(); } |