summaryrefslogtreecommitdiffstats
path: root/sc/inc/orcusxml.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-09 15:21:36 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:28 -0500
commit2ffceb198ef26579e2d3d6659384f76184ccc3e2 (patch)
treec78b290f21b36b22016f6101a72ca73d821be167 /sc/inc/orcusxml.hxx
parentHandler methods for OK and Cancel. (diff)
downloadcore-2ffceb198ef26579e2d3d6659384f76184ccc3e2.tar.gz
core-2ffceb198ef26579e2d3d6659384f76184ccc3e2.zip
Press 'Import' in the dialog to start importing XML.
For now, the dialog only calls importXML() when the Import button is pressed, and the importXML() function still does nothing. Change-Id: I3427d343f88ba2a9b076ffc0ee4bcc44055d7717
Diffstat (limited to 'sc/inc/orcusxml.hxx')
-rw-r--r--sc/inc/orcusxml.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx
index a133b783daa7..2baac6959614 100644
--- a/sc/inc/orcusxml.hxx
+++ b/sc/inc/orcusxml.hxx
@@ -14,6 +14,7 @@
#include "address.hxx"
#include "vcl/image.hxx"
+#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
class SvTreeListEntry;
@@ -48,6 +49,27 @@ struct ScOrcusXMLTreeParam
UserDataStoreType maUserDataStore;
static SC_DLLPUBLIC EntryData* getUserData(SvTreeListEntry& rEntry);
+ static SC_DLLPUBLIC const EntryData* getUserData(const SvTreeListEntry& rEntry);
+};
+
+struct ScOrcusImportXMLParam
+{
+ struct CellLink
+ {
+ ScAddress maPos;
+ rtl::OUString maPath;
+
+ CellLink(const ScAddress& rPos, const rtl::OUString& rPath);
+ };
+
+ struct RangeLink
+ {
+ ScAddress maPos;
+ std::vector<rtl::OUString> maFieldPaths;
+ };
+
+ std::vector<CellLink> maCellLinks;
+ std::vector<RangeLink> maRangeLinks;
};
#endif