diff options
author | Eike Rathke <erack@redhat.com> | 2014-08-11 23:07:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-08-11 23:08:44 +0200 |
commit | 0f12b30becfd6d6fa1f3978717e5acf766edd659 (patch) | |
tree | 7347976fd0d83529805bc3f42f819971abaf84e5 /sc/source/core/tool/compiler.cxx | |
parent | 4727104ae31325d70bd50e0300cbcf75e4fbdd7d (diff) |
document this makeExternalNameStr()
Change-Id: Ifb3c3ada7cc069d8a85717693265476aa95d9aae
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 09ecd1b9b454..2d7694deb193 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -1313,8 +1313,13 @@ struct ConventionXL_OOX : public ConventionXL_A1 virtual OUString makeExternalNameStr( sal_uInt16 nFileId, const OUString& /*rFile*/, const OUString& rName ) const SAL_OVERRIDE { - /* TODO: is this really what Excel writes to OOXML? */ + // [N]!DefinedName is a workbook global name. return OUString( "[" + OUString::number(nFileId+1) + "]!" + rName ); + + /* TODO: add support for sheet local names, would be + * [N]'Sheet Name'!DefinedName + * Similar to makeExternalRefStr() but with DefinedName instead of + * CellStr. */ } virtual void makeExternalRefStr( |