diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-21 15:21:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 13:28:32 -0500 |
commit | 9d6ed5dd8ba3824ba0f1a9d179cfd9b2f8ba75b3 (patch) | |
tree | dd23779631b40ffca0f8becdda3223b484e9ee29 /sc/inc | |
parent | 3db55f9da3577653911c683091c72722288bc456 (diff) |
Correctly handle xml namespaces when importing xml content.
But it's still not working. I need to dig some more.
Change-Id: I06d4d70e1a4234b031741a496f2651d016c35ecc
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/orcusxml.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx index c3a981da3622..87be8a2b32c9 100644 --- a/sc/inc/orcusxml.hxx +++ b/sc/inc/orcusxml.hxx @@ -29,6 +29,7 @@ struct ScOrcusXMLTreeParam /** Custom data stored with each tree item. */ struct EntryData { + size_t mnNamespaceID; /// numerical ID for xml namespace EntryType meType; ScAddress maLinkedPos; /// linked cell position (invalid if unlinked) bool mbRangeParent:1; @@ -72,8 +73,11 @@ struct ScOrcusImportXMLParam typedef std::vector<CellLink> CellLinksType; typedef std::vector<RangeLink> RangeLinksType; + std::vector<size_t> maNamespaces; CellLinksType maCellLinks; RangeLinksType maRangeLinks; + + SC_DLLPUBLIC static rtl::OString getShortNamespaceName(size_t nIndex); }; #endif |