LibreOffice Module sc (master)  1
xmldpimp.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX
20 #define INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX
21 
22 #include <memory>
23 #include <xmloff/xmltoken.hxx>
24 
25 #include <dpsave.hxx>
26 #include <queryparam.hxx>
27 #include "importcontext.hxx"
28 
29 #include <unordered_map>
30 
31 namespace com::sun::star::sheet { struct DataPilotFieldAutoShowInfo; }
32 namespace com::sun::star::sheet { struct DataPilotFieldLayoutInfo; }
33 namespace com::sun::star::sheet { struct DataPilotFieldReference; }
34 namespace com::sun::star::sheet { struct DataPilotFieldSortInfo; }
35 namespace sax_fastparser { class FastAttributeList; }
36 
39 class ScDPObject;
40 
42 {
43  SQL,
48 };
49 
51 {
52 public:
53 
55 
56  virtual ~ScXMLDataPilotTablesContext() override;
57 
58  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
59  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
60 };
61 
63 {
64  typedef std::unordered_map<OUString, OUString> SelectedPagesType;
65 
67  {
68  OUString maDisplayName;
69  bool mbVisible;
71  };
73  std::unique_ptr<ScDPSaveData> pDPSave;
74  std::unique_ptr<ScDPDimensionSaveData> pDPDimSaveData;
78  OUString sApplicationData;
79  OUString sDatabaseName;
80  OUString sSourceObject;
81  OUString sServiceName;
84  OUString sServiceUsername;
85  OUString sServicePassword;
86  OUString sButtons;
87  OUString sSourceRangeName;
92  sal_uInt32 mnRowFieldCount;
93  sal_uInt32 mnColFieldCount;
94  sal_uInt32 mnPageFieldCount;
95  sal_uInt32 mnDataFieldCount;
96  css::sheet::DataPilotFieldOrientation
98  bool bIsNative:1;
103  bool bShowFilter:1;
104  bool bDrillDown:1;
106 
107  SelectedPagesType maSelectedPages;
108 
109 public:
110 
113 
114  virtual ~ScXMLDataPilotTableContext() override;
115 
116  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
117  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
118 
119  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
120 
121  void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString& rDisplayName);
122  void SetDatabaseName(const OUString& sValue) { sDatabaseName = sValue; }
123  void SetSourceObject(const OUString& sValue) { sSourceObject = sValue; }
124  void SetNative(bool bValue) { bIsNative = bValue; }
125  void SetServiceName(const OUString& sValue) { sServiceName = sValue; }
126  void SetServiceSourceName(const OUString& sValue) { sServiceSourceName = sValue; }
127  void SetServiceSourceObject(const OUString& sValue) { sServiceSourceObject = sValue; }
128  void SetServiceUsername(const OUString& sValue) { sServiceUsername = sValue; }
129  void SetServicePassword(const OUString& sValue) { sServicePassword = sValue; }
130  void SetSourceRangeName(const OUString& sValue) { sSourceRangeName = sValue; bSourceCellRange = true; }
131  void SetSourceCellRangeAddress(const ScRange& aValue) { aSourceCellRangeAddress = aValue; bSourceCellRange = true; }
132  void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; }
133  void AddDimension(ScDPSaveDimension* pDim);
134  void AddGroupDim(const ScDPSaveNumGroupDimension& aNumGroupDim);
135  void AddGroupDim(const ScDPSaveGroupDimension& aGroupDim);
136  void SetButtons(ScDPObject* pDPObject);
137  void SetSelectedPage( const OUString& rDimName, const OUString& rSelected );
138 };
139 
141 {
142 public:
143 
146  ScXMLDataPilotTableContext* pDataPilotTable);
147 
148  virtual ~ScXMLDPSourceSQLContext() override;
149 };
150 
152 {
153 public:
154 
157  ScXMLDataPilotTableContext* pDataPilotTable);
158 
159  virtual ~ScXMLDPSourceTableContext() override;
160 };
161 
163 {
164 public:
165 
168  ScXMLDataPilotTableContext* pDataPilotTable);
169 
170  virtual ~ScXMLDPSourceQueryContext() override;
171 };
172 
174 {
175 public:
176 
179  ScXMLDataPilotTableContext* pDataPilotTable);
180 
181  virtual ~ScXMLSourceServiceContext() override;
182 };
183 
185 {
187 
189  OUString maDisplayName;
191  bool mbVisible;
192 
193 public:
195  ScXMLImport& rImport,
197  ScXMLDataPilotTableContext* pTableContext );
198 
199  virtual ~ScXMLDataPilotGrandTotalContext() override;
200 
201  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
202 };
203 
205 {
207 
208 public:
209 
212  ScXMLDataPilotTableContext* pDataPilotTable);
213 
214  virtual ~ScXMLSourceCellRangeContext() override;
215 
216  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
217  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
218 };
219 
221 {
222  ::std::vector<OUString> aMembers;
223  OUString aName;
224 };
225 
227 {
229  std::unique_ptr<ScDPSaveDimension> xDim;
230 
231  ::std::vector<ScXMLDataPilotGroup> aGroups;
232  OUString sGroupSource;
233  OUString sSelectedPage;
234  OUString sName;
235  double fStart;
236  double fEnd;
237  double fStep;
238  sal_Int32 nUsedHierarchy;
239  sal_Int32 nGroupPart;
241  css::sheet::DataPilotFieldOrientation
245  bool bDateValue:1;
246  bool bAutoStart:1;
247  bool bAutoEnd:1;
248  bool mbHasHiddenMember:1; // TODO: import to document core
249 
250 public:
251 
254  ScXMLDataPilotTableContext* pDataPilotTable);
255 
256  virtual ~ScXMLDataPilotFieldContext() override;
257 
258  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
259  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
260 
261  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
262 
263  void SetShowEmpty(const bool bValue) { if (xDim) xDim->SetShowEmpty(bValue); }
264  void SetRepeatItemLabels(const bool bSet) { if (xDim) xDim->SetRepeatItemLabels(bSet); }
265  void SetSubTotals(std::vector<ScGeneralFunction> const & rFunctions) { if (xDim) xDim->SetSubTotals(rFunctions); }
266  void AddMember(std::unique_ptr<ScDPSaveMember> pMember);
267  void SetSubTotalName(const OUString& rName);
268  void SetFieldReference(const css::sheet::DataPilotFieldReference& aRef) { if (xDim) xDim->SetReferenceValue(&aRef); }
269  void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo& aInfo) { if (xDim) xDim->SetAutoShowInfo(&aInfo); }
270  void SetSortInfo(const css::sheet::DataPilotFieldSortInfo& aInfo) { if (xDim) xDim->SetSortInfo(&aInfo); }
271  void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo& aInfo) { if (xDim) xDim->SetLayoutInfo(&aInfo); }
272  void SetGrouping(const OUString& rGroupSource, const double& rStart, const double& rEnd, const double& rStep,
273  sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
274  {
275  bIsGroupField = true;
276  sGroupSource = rGroupSource;
277  fStart = rStart;
278  fEnd = rEnd;
279  fStep = rStep;
280  nGroupPart = nPart;
281  bDateValue = bDate;
282  bAutoStart = bAutoSt;
283  bAutoEnd = bAutoE;
284  }
285  void AddGroup(const ::std::vector<OUString>& rMembers, const OUString& rName);
286 };
287 
289 {
290 public:
291 
294  ScXMLDataPilotFieldContext* pDataPilotField);
295 
296  virtual ~ScXMLDataPilotFieldReferenceContext() override;
297 };
298 
300 {
302 
303 public:
304 
307  ScXMLDataPilotFieldContext* pDataPilotField);
308 
309  virtual ~ScXMLDataPilotLevelContext() override;
310 
311  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
312  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
313 };
314 
316 {
317 public:
318 
321  ScXMLDataPilotFieldContext* pDataPilotField);
322 
323  virtual ~ScXMLDataPilotDisplayInfoContext() override;
324 };
325 
327 {
328 public:
329 
332  ScXMLDataPilotFieldContext* pDataPilotField);
333 
334  virtual ~ScXMLDataPilotSortInfoContext() override;
335 };
336 
338 {
339 public:
340 
343  ScXMLDataPilotFieldContext* pDataPilotField);
344 
345  virtual ~ScXMLDataPilotLayoutInfoContext() override;
346 };
347 
349 {
351 
352  std::vector<ScGeneralFunction> maFunctions;
353  OUString maDisplayName;
354 
355 public:
357  ScXMLDataPilotFieldContext* pDataPilotField);
358 
359  virtual ~ScXMLDataPilotSubTotalsContext() override;
360 
361  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
362  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
363 
364  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
365  void AddFunction(ScGeneralFunction nFunction);
366  void SetDisplayName(const OUString& rName);
367 };
368 
370 {
371 public:
372 
375  ScXMLDataPilotSubTotalsContext* pDataPilotSubTotals);
376 
377  virtual ~ScXMLDataPilotSubTotalContext() override;
378 };
379 
381 {
383 
384 public:
385 
387  ScXMLDataPilotFieldContext* pDataPilotField);
388 
389  virtual ~ScXMLDataPilotMembersContext() override;
390 
391  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
392  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
393 };
394 
396 {
398 
399  OUString sName;
400  OUString maDisplayName;
401  bool bDisplay;
403  bool bHasName;
404 
405 public:
406 
409  ScXMLDataPilotFieldContext* pDataPilotField);
410 
411  virtual ~ScXMLDataPilotMemberContext() override;
412 
413  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
414 };
415 
417 {
419 
420 public:
421 
424  ScXMLDataPilotFieldContext* pDataPilotField);
425 
426  virtual ~ScXMLDataPilotGroupsContext() override;
427 
428  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
429  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
430 };
431 
433 {
435 
436  OUString sName;
437  ::std::vector<OUString> aMembers;
438 
439 public:
440 
443  ScXMLDataPilotFieldContext* pDataPilotField);
444 
445  virtual ~ScXMLDataPilotGroupContext() override;
446 
447  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
448  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
449 
450  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
451 
452  void AddMember(const OUString& sMember) { aMembers.push_back(sMember); }
453 };
454 
456 {
458  OUString sName;
459 
460 public:
461 
464  ScXMLDataPilotGroupContext* pDataPilotGroup);
465 
466  virtual ~ScXMLDataPilotGroupMemberContext() override;
467 
468  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
469 };
470 
471 #endif
472 
473 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
::std::vector< ScXMLDataPilotGroup > aGroups
Definition: xmldpimp.hxx:231
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:435
void SetDatabaseName(const OUString &sValue)
Definition: xmldpimp.hxx:122
void AddFunction(ScGeneralFunction nFunction)
Definition: xmldpimp.cxx:1236
void SetGrouping(const OUString &rGroupSource, const double &rStart, const double &rEnd, const double &rStep, sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
Definition: xmldpimp.hxx:272
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:437
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:301
std::unique_ptr< ScDPDimensionSaveData > pDPDimSaveData
Definition: xmldpimp.hxx:74
virtual ~ScXMLDPSourceTableContext() override
Definition: xmldpimp.cxx:607
virtual ~ScXMLDataPilotMemberContext() override
Definition: xmldpimp.cxx:1336
void SetServiceUsername(const OUString &sValue)
Definition: xmldpimp.hxx:128
void SetSourceRangeName(const OUString &sValue)
Definition: xmldpimp.hxx:130
void SetSourceQueryParam(const ScQueryParam &aValue)
Definition: xmldpimp.hxx:132
void SetServiceSourceName(const OUString &sValue)
Definition: xmldpimp.hxx:126
ScXMLDataPilotFieldContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:781
void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
Definition: xmldpimp.cxx:531
ScXMLDataPilotGrandTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pTableContext)
Definition: xmldpimp.cxx:672
ScXMLDataPilotLevelContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1024
ScGeneralFunction nFunction
Definition: xmldpimp.hxx:240
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1340
SelectedPagesType maSelectedPages
Definition: xmldpimp.hxx:107
void SetNative(bool bValue)
Definition: xmldpimp.hxx:124
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:192
ScXMLDataPilotGroupContext * pDataPilotGroup
Definition: xmldpimp.hxx:457
ScXMLDPSourceQueryContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:611
virtual ~ScXMLDataPilotTablesContext() override
Definition: xmldpimp.cxx:58
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:222
ScXMLDataPilotDisplayInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1080
void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo &aInfo)
Definition: xmldpimp.hxx:271
ScMySourceType
Definition: xmldpimp.hxx:41
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1530
void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
Definition: xmldpimp.hxx:269
virtual ~ScXMLSourceServiceContext() override
Definition: xmldpimp.cxx:668
virtual ~ScXMLDataPilotLevelContext() override
Definition: xmldpimp.cxx:1047
virtual ~ScXMLDataPilotGroupContext() override
Definition: xmldpimp.cxx:1487
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:907
void AddMember(std::unique_ptr< ScDPSaveMember > pMember)
Definition: xmldpimp.cxx:881
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1507
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:1458
ScXMLSourceCellRangeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:732
ScXMLDataPilotGroupMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotGroupContext *pDataPilotGroup)
Definition: xmldpimp.cxx:1512
virtual ~ScXMLSourceCellRangeContext() override
Definition: xmldpimp.cxx:760
ScXMLDPSourceTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:584
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:858
virtual ~ScXMLDataPilotFieldContext() override
Definition: xmldpimp.cxx:854
ScXMLDataPilotLayoutInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1163
css::sheet::DataPilotFieldOrientation nOrientation
Definition: xmldpimp.hxx:242
void SetDisplayName(const OUString &rName)
Definition: xmldpimp.cxx:1241
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:206
void SetSourceCellRangeAddress(const ScRange &aValue)
Definition: xmldpimp.hxx:131
ScMySourceType nSourceType
Definition: xmldpimp.hxx:91
virtual ~ScXMLDataPilotLayoutInfoContext() override
Definition: xmldpimp.cxx:1195
std::unique_ptr< ScDPSaveData > pDPSave
Definition: xmldpimp.hxx:73
virtual ~ScXMLDataPilotGroupsContext() override
Definition: xmldpimp.cxx:1454
This class exists only to provide GetScImport() to its derived classes.
GrandTotalItem maRowGrandTotal
Definition: xmldpimp.hxx:75
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:382
ScXMLDataPilotTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmldpimp.cxx:85
css::sheet::DataPilotFieldOrientation mnDataLayoutType
Definition: xmldpimp.hxx:97
ScXMLDataPilotSubTotalsContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1199
Represents a group dimension that introduces a new hierarchy for an existing dimension.
Definition: dpdimsave.hxx:132
virtual ~ScXMLDPSourceQueryContext() override
Definition: xmldpimp.cxx:633
void SetServiceSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:127
ScXMLDataPilotSortInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1121
ScXMLDataPilotGroupContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1473
void AddMember(const OUString &sMember)
Definition: xmldpimp.hxx:452
ScXMLDPSourceSQLContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:555
ScXMLDataPilotTableContext * mpTableContext
Definition: xmldpimp.hxx:188
void AddGroupDim(const ScDPSaveNumGroupDimension &aNumGroupDim)
Definition: xmldpimp.cxx:421
ScQueryParam aSourceQueryParam
Definition: xmldpimp.hxx:90
Definition: xmldpimp.hxx:43
void SetServiceName(const OUString &sValue)
Definition: xmldpimp.hxx:125
void SetFieldReference(const css::sheet::DataPilotFieldReference &aRef)
Definition: xmldpimp.hxx:268
virtual ~ScXMLDataPilotMembersContext() override
Definition: xmldpimp.cxx:1281
void SetSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:123
void SetRepeatItemLabels(const bool bSet)
Definition: xmldpimp.hxx:264
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:1285
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:1051
virtual ~ScXMLDataPilotSubTotalsContext() override
Definition: xmldpimp.cxx:1208
virtual ~ScXMLDataPilotDisplayInfoContext() override
Definition: xmldpimp.cxx:1117
virtual ~ScXMLDataPilotSubTotalContext() override
Definition: xmldpimp.cxx:1269
void SetServicePassword(const OUString &sValue)
Definition: xmldpimp.hxx:129
virtual ~ScXMLDataPilotGroupMemberContext() override
Definition: xmldpimp.cxx:1526
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:397
void AddGroup(const ::std::vector< OUString > &rMembers, const OUString &rName)
Definition: xmldpimp.cxx:899
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1229
ScXMLDataPilotSubTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotSubTotalsContext *pDataPilotSubTotals)
Definition: xmldpimp.cxx:1246
ScXMLDataPilotMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1302
std::vector< ScGeneralFunction > maFunctions
Definition: xmldpimp.hxx:352
void SetSubTotalName(const OUString &rName)
Definition: xmldpimp.cxx:893
virtual ~ScXMLDataPilotTableContext() override
Definition: xmldpimp.cxx:188
ScXMLDataPilotMembersContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1273
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2, which causes some type-safety issues.
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:350
std::unique_ptr< ScDPSaveDimension > xDim
Definition: xmldpimp.hxx:229
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID...
Definition: dpdimsave.hxx:87
void SetSubTotals(std::vector< ScGeneralFunction > const &rFunctions)
Definition: xmldpimp.hxx:265
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:228
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:712
void SetSortInfo(const css::sheet::DataPilotFieldSortInfo &aInfo)
Definition: xmldpimp.hxx:270
ScXMLDataPilotTablesContext(ScXMLImport &rImport)
Definition: xmldpimp.cxx:51
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:434
virtual ~ScXMLDPSourceSQLContext() override
Definition: xmldpimp.cxx:580
void SetButtons(ScDPObject *pDPObject)
Definition: xmldpimp.cxx:308
void SetSelectedPage(const OUString &rDimName, const OUString &rSelected)
Definition: xmldpimp.cxx:379
void AddDimension(ScDPSaveDimension *pDim)
Definition: xmldpimp.cxx:384
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:764
std::unordered_map< OUString, OUString > SelectedPagesType
Definition: xmldpimp.hxx:64
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:1212
ScXMLDataPilotGroupsContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1353
virtual ~ScXMLDataPilotGrandTotalContext() override
Definition: xmldpimp.cxx:708
virtual ~ScXMLDataPilotSortInfoContext() override
Definition: xmldpimp.cxx:1159
void SetShowEmpty(const bool bValue)
Definition: xmldpimp.hxx:263
ScXMLDataPilotFieldReferenceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:959
virtual ~ScXMLDataPilotFieldReferenceContext() override
Definition: xmldpimp.cxx:1020
GrandTotalItem maColGrandTotal
Definition: xmldpimp.hxx:76
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:63
ScXMLSourceServiceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:637
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:418
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmldpimp.cxx:1491