summaryrefslogtreecommitdiffstats
path: root/sc/inc/orcusxml.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-09 17:05:49 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-28 13:28:28 -0500
commit071928f290135dcc10d6de2365b32302c563e5f1 (patch)
treedd8de46159698f6b4bb2ede26f137d34352f4b8e /sc/inc/orcusxml.hxx
parentNot a good idea to close the dialog first then start the import. (diff)
downloadcore-071928f290135dcc10d6de2365b32302c563e5f1.tar.gz
core-071928f290135dcc10d6de2365b32302c563e5f1.zip
Set all single cell links to orcus_xml, and start reading the file.
Alas, data won't get imported because I haven't implemented get_sheet() interface method. Change-Id: Id53b2c68b2fdf4c03fa6d6de25dd7762a51bd610
Diffstat (limited to 'sc/inc/orcusxml.hxx')
-rw-r--r--sc/inc/orcusxml.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx
index 2baac6959614..1a0b1927b71f 100644
--- a/sc/inc/orcusxml.hxx
+++ b/sc/inc/orcusxml.hxx
@@ -57,19 +57,22 @@ struct ScOrcusImportXMLParam
struct CellLink
{
ScAddress maPos;
- rtl::OUString maPath;
+ rtl::OString maPath;
- CellLink(const ScAddress& rPos, const rtl::OUString& rPath);
+ CellLink(const ScAddress& rPos, const rtl::OString& rPath);
};
struct RangeLink
{
ScAddress maPos;
- std::vector<rtl::OUString> maFieldPaths;
+ std::vector<rtl::OString> maFieldPaths;
};
- std::vector<CellLink> maCellLinks;
- std::vector<RangeLink> maRangeLinks;
+ typedef std::vector<CellLink> CellLinksType;
+ typedef std::vector<RangeLink> RangeLinksType;
+
+ CellLinksType maCellLinks;
+ RangeLinksType maRangeLinks;
};
#endif