summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmldpimp.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-21 22:19:00 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-21 22:19:00 -0500
commitf8020ab3ea085e531f1e88537cccab46defcb95c (patch)
treeff6a92f6deb341140f3e8bec7ee6d0ec15949223 /sc/source/filter/xml/xmldpimp.hxx
parentbee2fd88edac562c5ba28037339c726bdecb9ff7 (diff)
Import source range name properly from ods document.
Diffstat (limited to 'sc/source/filter/xml/xmldpimp.hxx')
-rw-r--r--sc/source/filter/xml/xmldpimp.hxx2
1 files changed, 2 insertions, 0 deletions
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; }