summaryrefslogtreecommitdiffstats
path: root/sc/inc/orcusxml.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-21 15:21:41 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:32 -0500
commit9d6ed5dd8ba3824ba0f1a9d179cfd9b2f8ba75b3 (patch)
treedd23779631b40ffca0f8becdda3223b484e9ee29 /sc/inc/orcusxml.hxx
parentDisplay XML namespace IDs in the tree. (diff)
downloadcore-9d6ed5dd8ba3824ba0f1a9d179cfd9b2f8ba75b3.tar.gz
core-9d6ed5dd8ba3824ba0f1a9d179cfd9b2f8ba75b3.zip
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/orcusxml.hxx')
-rw-r--r--sc/inc/orcusxml.hxx4
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