summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmldpimp.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-03-29 11:53:55 +0000
committerRüdiger Timm <rt@openoffice.org>2005-03-29 11:53:55 +0000
commitd9feca0f4547bc4b017a51097fd68b780f52f49f (patch)
tree09214e17215a97cc53ffdf4df3ac996d19763966 /sc/source/filter/xml/xmldpimp.hxx
parent23856d3b6aa49d3c2e8ed17d15adfe873b050f61 (diff)
INTEGRATION: CWS groupingapi (1.13.6); FILE MERGED
2004/09/03 18:03:58 sab 1.13.6.1: #i33817#; specification of data pilot grouping changed
Diffstat (limited to 'sc/source/filter/xml/xmldpimp.hxx')
-rw-r--r--sc/source/filter/xml/xmldpimp.hxx21
1 files changed, 17 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmldpimp.hxx b/sc/source/filter/xml/xmldpimp.hxx
index 7506c7972791..a684815f3de3 100644
--- a/sc/source/filter/xml/xmldpimp.hxx
+++ b/sc/source/filter/xml/xmldpimp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmldpimp.hxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: vg $ $Date: 2005-03-23 12:57:33 $
+ * last change: $Author: rt $ $Date: 2005-03-29 12:53:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -334,9 +334,9 @@ class ScXMLDataPilotFieldContext : public SvXMLImportContext
ScDPSaveDimension* pDim;
::std::vector<ScXMLDataPilotGroup> aGroups;
+ rtl::OUString sGroupSource;
rtl::OUString sSelectedPage;
rtl::OUString sName;
- rtl::OUString sGroupSource;
double fStart;
double fEnd;
double fStep;
@@ -346,8 +346,8 @@ class ScXMLDataPilotFieldContext : public SvXMLImportContext
sal_Int16 nOrientation;
sal_Bool bShowEmpty;
sal_Bool bSelectedPage;
+ sal_Bool bIsGroupField;
sal_Bool bDateValue;
- sal_Bool bGroupField;
sal_Bool bAutoStart;
sal_Bool bAutoEnd;
@@ -378,6 +378,19 @@ public:
void SetAutoShowInfo(const com::sun::star::sheet::DataPilotFieldAutoShowInfo& aInfo) { if (pDim) pDim->SetAutoShowInfo(&aInfo); }
void SetSortInfo(const com::sun::star::sheet::DataPilotFieldSortInfo& aInfo) { if (pDim) pDim->SetSortInfo(&aInfo); }
void SetLayoutInfo(const com::sun::star::sheet::DataPilotFieldLayoutInfo& aInfo) { if (pDim) pDim->SetLayoutInfo(&aInfo); }
+ void SetGrouping(const rtl::OUString& rGroupSource, const double& rStart, const double& rEnd, const double& rStep,
+ sal_Int32 nPart, sal_Bool bDate, sal_Bool bAutoSt, sal_Bool bAutoE)
+ {
+ bIsGroupField = sal_True;
+ sGroupSource = rGroupSource;
+ fStart = rStart;
+ fEnd = rEnd;
+ fStep = rStep;
+ nGroupPart = nPart;
+ bDateValue = bDate;
+ bAutoStart = bAutoSt;
+ bAutoEnd = bAutoE;
+ }
void AddGroup(const ::std::vector<rtl::OUString>& rMembers, const rtl::OUString& rName);
};