summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-08-05 22:51:01 +0200
committerEike Rathke <erack@redhat.com>2014-08-11 20:06:45 +0200
commit8c23a767d926d8d08213f5e2f8e81775c653cbd7 (patch)
tree21eb39564d45a3c4e05c0dc96f913028415427f0 /sc/inc
parent5c37960d9507fac206f0b90d36f778db9fe2b6a5 (diff)
write OOXML externalReferences, externalLinks, fdo#45286
This for the first time writes external references (hopefully) correctly and adds the necessary relationship streams and the externalLink streams with sheetData. At least Excel 2013 loaded the result without complaining, so do we. Change-Id: I3d615490a60c5420ae13c0bfc6297642d86a07b9
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/compiler.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 61008358b235..18d788aab3c4 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -256,15 +256,16 @@ public:
const ::com::sun::star::uno::Sequence<
com::sun::star::sheet::ExternalLinkInfo>* pExternalLinks ) const = 0;
- virtual OUString makeExternalNameStr( const OUString& rFile, const OUString& rName ) const = 0;
+ virtual OUString makeExternalNameStr( sal_uInt16 nFileId, const OUString& rFile,
+ const OUString& rName ) const = 0;
virtual void makeExternalRefStr(
- OUStringBuffer& rBuffer, const ScAddress& rPos, const OUString& rFileName,
+ OUStringBuffer& rBuffer, const ScAddress& rPos, sal_uInt16 nFileId, const OUString& rFileName,
const OUString& rTabName, const ScSingleRefData& rRef ) const = 0;
virtual void makeExternalRefStr(
OUStringBuffer& rBuffer, const ScAddress& rPos,
- const OUString& rFileName, const std::vector<OUString>& rTabNames,
+ sal_uInt16 nFileId, const OUString& rFileName, const std::vector<OUString>& rTabNames,
const OUString& rTabName, const ScComplexRefData& rRef ) const = 0;
enum SpecialSymbolType