From f8020ab3ea085e531f1e88537cccab46defcb95c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 21 Jan 2011 22:19:00 -0500 Subject: Import source range name properly from ods document. --- sc/source/filter/xml/xmldpimp.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc/source/filter/xml/xmldpimp.hxx') diff --git a/sc/source/filter/xml/xmldpimp.hxx b/sc/source/filter/xml/xmldpimp.hxx index 554853ff78ff..1308668cc688 100644 --- a/sc/source/filter/xml/xmldpimp.hxx +++ b/sc/source/filter/xml/xmldpimp.hxx @@ -106,6 +106,7 @@ class ScXMLDataPilotTableContext : public SvXMLImportContext rtl::OUString sServiceUsername; rtl::OUString sServicePassword; rtl::OUString sButtons; + rtl::OUString sSourceRangeName; ScRange aSourceCellRangeAddress; ScRange aTargetRangeAddress; ScRange aFilterSourceRange; @@ -157,6 +158,7 @@ public: void SetServiceSourceObject(const rtl::OUString& sValue) { sServiceSourceObject = sValue; } void SetServiceUsername(const rtl::OUString& sValue) { sServiceUsername = sValue; } void SetServicePassword(const rtl::OUString& sValue) { sServicePassword = sValue; } + void SetSourceRangeName(const rtl::OUString& sValue) { sSourceRangeName = sValue; bSourceCellRange = true; } void SetSourceCellRangeAddress(const ScRange& aValue) { aSourceCellRangeAddress = aValue; bSourceCellRange = sal_True; } void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; } // void SetFilterUseRegularExpressions(const sal_Bool bValue) { aSourceQueryParam.bRegExp = bValue; } -- cgit