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 #pragma once
20 
21 #include <memory>
22 #include <xmloff/xmltoken.hxx>
23 
24 #include <dpsave.hxx>
25 #include <queryparam.hxx>
26 #include "importcontext.hxx"
27 
28 #include <unordered_map>
29 
30 namespace com::sun::star::sheet { struct DataPilotFieldAutoShowInfo; }
31 namespace com::sun::star::sheet { struct DataPilotFieldLayoutInfo; }
32 namespace com::sun::star::sheet { struct DataPilotFieldReference; }
33 namespace com::sun::star::sheet { struct DataPilotFieldSortInfo; }
34 namespace sax_fastparser { class FastAttributeList; }
35 
38 class ScDPObject;
39 
41 {
42  SQL,
47 };
48 
50 {
51 public:
52 
54 
55  virtual ~ScXMLDataPilotTablesContext() override;
56 
57  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
58  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
59 };
60 
62 {
63  typedef std::unordered_map<OUString, OUString> SelectedPagesType;
64 
66  {
67  OUString maDisplayName;
68  bool mbVisible;
70  };
72  std::unique_ptr<ScDPSaveData> pDPSave;
73  std::unique_ptr<ScDPDimensionSaveData> pDPDimSaveData;
77  OUString sApplicationData;
78  OUString sDatabaseName;
79  OUString sSourceObject;
80  OUString sServiceName;
83  OUString sServiceUsername;
84  OUString sServicePassword;
85  OUString sButtons;
86  OUString sSourceRangeName;
91  sal_uInt32 mnRowFieldCount;
92  sal_uInt32 mnColFieldCount;
93  sal_uInt32 mnPageFieldCount;
94  sal_uInt32 mnDataFieldCount;
95  css::sheet::DataPilotFieldOrientation
97  bool bIsNative:1;
102  bool bShowFilter:1;
103  bool bDrillDown:1;
105 
106  SelectedPagesType maSelectedPages;
107 
108 public:
109 
112 
113  virtual ~ScXMLDataPilotTableContext() override;
114 
115  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
116  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
117 
118  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
119 
120  void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString& rDisplayName);
121  void SetDatabaseName(const OUString& sValue) { sDatabaseName = sValue; }
122  void SetSourceObject(const OUString& sValue) { sSourceObject = sValue; }
123  void SetNative(bool bValue) { bIsNative = bValue; }
124  void SetServiceName(const OUString& sValue) { sServiceName = sValue; }
125  void SetServiceSourceName(const OUString& sValue) { sServiceSourceName = sValue; }
126  void SetServiceSourceObject(const OUString& sValue) { sServiceSourceObject = sValue; }
127  void SetServiceUsername(const OUString& sValue) { sServiceUsername = sValue; }
128  void SetServicePassword(const OUString& sValue) { sServicePassword = sValue; }
129  void SetSourceRangeName(const OUString& sValue) { sSourceRangeName = sValue; bSourceCellRange = true; }
130  void SetSourceCellRangeAddress(const ScRange& aValue) { aSourceCellRangeAddress = aValue; bSourceCellRange = true; }
131  void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; }
132  void AddDimension(ScDPSaveDimension* pDim);
133  void AddGroupDim(const ScDPSaveNumGroupDimension& aNumGroupDim);
134  void AddGroupDim(const ScDPSaveGroupDimension& aGroupDim);
135  void SetButtons(ScDPObject* pDPObject);
136  void SetSelectedPage( const OUString& rDimName, const OUString& rSelected );
137 };
138 
140 {
141 public:
142 
145  ScXMLDataPilotTableContext* pDataPilotTable);
146 
147  virtual ~ScXMLDPSourceSQLContext() override;
148 };
149 
151 {
152 public:
153 
156  ScXMLDataPilotTableContext* pDataPilotTable);
157 
158  virtual ~ScXMLDPSourceTableContext() override;
159 };
160 
162 {
163 public:
164 
167  ScXMLDataPilotTableContext* pDataPilotTable);
168 
169  virtual ~ScXMLDPSourceQueryContext() override;
170 };
171 
173 {
174 public:
175 
178  ScXMLDataPilotTableContext* pDataPilotTable);
179 
180  virtual ~ScXMLSourceServiceContext() override;
181 };
182 
184 {
186 
188  OUString maDisplayName;
190  bool mbVisible;
191 
192 public:
194  ScXMLImport& rImport,
196  ScXMLDataPilotTableContext* pTableContext );
197 
198  virtual ~ScXMLDataPilotGrandTotalContext() override;
199 
200  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
201 };
202 
204 {
206 
207 public:
208 
211  ScXMLDataPilotTableContext* pDataPilotTable);
212 
213  virtual ~ScXMLSourceCellRangeContext() override;
214 
215  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
216  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
217 };
218 
220 {
221  ::std::vector<OUString> aMembers;
222  OUString aName;
223 };
224 
226 {
228  std::unique_ptr<ScDPSaveDimension> xDim;
229 
230  ::std::vector<ScXMLDataPilotGroup> aGroups;
231  OUString sGroupSource;
232  OUString sSelectedPage;
233  OUString sName;
234  double fStart;
235  double fEnd;
236  double fStep;
237  sal_Int32 nUsedHierarchy;
238  sal_Int32 nGroupPart;
240  css::sheet::DataPilotFieldOrientation
244  bool bDateValue:1;
245  bool bAutoStart:1;
246  bool bAutoEnd:1;
247  bool mbHasHiddenMember:1; // TODO: import to document core
248 
249 public:
250 
253  ScXMLDataPilotTableContext* pDataPilotTable);
254 
255  virtual ~ScXMLDataPilotFieldContext() override;
256 
257  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
258  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
259 
260  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
261 
262  void SetShowEmpty(const bool bValue) { if (xDim) xDim->SetShowEmpty(bValue); }
263  void SetRepeatItemLabels(const bool bSet) { if (xDim) xDim->SetRepeatItemLabels(bSet); }
264  void SetSubTotals(std::vector<ScGeneralFunction> const & rFunctions) { if (xDim) xDim->SetSubTotals(rFunctions); }
265  void AddMember(std::unique_ptr<ScDPSaveMember> pMember);
266  void SetSubTotalName(const OUString& rName);
267  void SetFieldReference(const css::sheet::DataPilotFieldReference& aRef) { if (xDim) xDim->SetReferenceValue(&aRef); }
268  void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo& aInfo) { if (xDim) xDim->SetAutoShowInfo(&aInfo); }
269  void SetSortInfo(const css::sheet::DataPilotFieldSortInfo& aInfo) { if (xDim) xDim->SetSortInfo(&aInfo); }
270  void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo& aInfo) { if (xDim) xDim->SetLayoutInfo(&aInfo); }
271  void SetGrouping(const OUString& rGroupSource, const double& rStart, const double& rEnd, const double& rStep,
272  sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
273  {
274  bIsGroupField = true;
275  sGroupSource = rGroupSource;
276  fStart = rStart;
277  fEnd = rEnd;
278  fStep = rStep;
279  nGroupPart = nPart;
280  bDateValue = bDate;
281  bAutoStart = bAutoSt;
282  bAutoEnd = bAutoE;
283  }
284  void AddGroup(const ::std::vector<OUString>& rMembers, const OUString& rName);
285 };
286 
288 {
289 public:
290 
293  ScXMLDataPilotFieldContext* pDataPilotField);
294 
295  virtual ~ScXMLDataPilotFieldReferenceContext() override;
296 };
297 
299 {
301 
302 public:
303 
306  ScXMLDataPilotFieldContext* pDataPilotField);
307 
308  virtual ~ScXMLDataPilotLevelContext() override;
309 
310  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
311  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
312 };
313 
315 {
316 public:
317 
320  ScXMLDataPilotFieldContext* pDataPilotField);
321 
322  virtual ~ScXMLDataPilotDisplayInfoContext() override;
323 };
324 
326 {
327 public:
328 
331  ScXMLDataPilotFieldContext* pDataPilotField);
332 
333  virtual ~ScXMLDataPilotSortInfoContext() override;
334 };
335 
337 {
338 public:
339 
342  ScXMLDataPilotFieldContext* pDataPilotField);
343 
344  virtual ~ScXMLDataPilotLayoutInfoContext() override;
345 };
346 
348 {
350 
351  std::vector<ScGeneralFunction> maFunctions;
352  OUString maDisplayName;
353 
354 public:
356  ScXMLDataPilotFieldContext* pDataPilotField);
357 
358  virtual ~ScXMLDataPilotSubTotalsContext() override;
359 
360  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
361  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
362 
363  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
364  void AddFunction(ScGeneralFunction nFunction);
365  void SetDisplayName(const OUString& rName);
366 };
367 
369 {
370 public:
371 
374  ScXMLDataPilotSubTotalsContext* pDataPilotSubTotals);
375 
376  virtual ~ScXMLDataPilotSubTotalContext() override;
377 };
378 
380 {
382 
383 public:
384 
386  ScXMLDataPilotFieldContext* pDataPilotField);
387 
388  virtual ~ScXMLDataPilotMembersContext() override;
389 
390  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
391  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
392 };
393 
395 {
397 
398  OUString sName;
399  OUString maDisplayName;
400  bool bDisplay;
402  bool bHasName;
403 
404 public:
405 
408  ScXMLDataPilotFieldContext* pDataPilotField);
409 
410  virtual ~ScXMLDataPilotMemberContext() override;
411 
412  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
413 };
414 
416 {
418 
419 public:
420 
423  ScXMLDataPilotFieldContext* pDataPilotField);
424 
425  virtual ~ScXMLDataPilotGroupsContext() override;
426 
427  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
428  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
429 };
430 
432 {
434 
435  OUString sName;
436  ::std::vector<OUString> aMembers;
437 
438 public:
439 
442  ScXMLDataPilotFieldContext* pDataPilotField);
443 
444  virtual ~ScXMLDataPilotGroupContext() override;
445 
446  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
447  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
448 
449  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
450 
451  void AddMember(const OUString& sMember) { aMembers.push_back(sMember); }
452 };
453 
455 {
457  OUString sName;
458 
459 public:
460 
463  ScXMLDataPilotGroupContext* pDataPilotGroup);
464 
465  virtual ~ScXMLDataPilotGroupMemberContext() override;
466 
467  virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
468 };
469 
470 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
::std::vector< ScXMLDataPilotGroup > aGroups
Definition: xmldpimp.hxx:230
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:436
void SetDatabaseName(const OUString &sValue)
Definition: xmldpimp.hxx:121
void AddFunction(ScGeneralFunction nFunction)
Definition: xmldpimp.cxx:1239
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:271
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:436
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:300
std::unique_ptr< ScDPDimensionSaveData > pDPDimSaveData
Definition: xmldpimp.hxx:73
virtual ~ScXMLDPSourceTableContext() override
Definition: xmldpimp.cxx:608
virtual ~ScXMLDataPilotMemberContext() override
Definition: xmldpimp.cxx:1339
void SetServiceUsername(const OUString &sValue)
Definition: xmldpimp.hxx:127
void SetSourceRangeName(const OUString &sValue)
Definition: xmldpimp.hxx:129
void SetSourceQueryParam(const ScQueryParam &aValue)
Definition: xmldpimp.hxx:131
void SetServiceSourceName(const OUString &sValue)
Definition: xmldpimp.hxx:125
ScXMLDataPilotFieldContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:784
void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
Definition: xmldpimp.cxx:532
ScXMLDataPilotGrandTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pTableContext)
Definition: xmldpimp.cxx:673
ScXMLDataPilotLevelContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1027
ScGeneralFunction nFunction
Definition: xmldpimp.hxx:239
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1343
SelectedPagesType maSelectedPages
Definition: xmldpimp.hxx:106
void SetNative(bool bValue)
Definition: xmldpimp.hxx:123
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:193
ScXMLDataPilotGroupContext * pDataPilotGroup
Definition: xmldpimp.hxx:456
ScXMLDPSourceQueryContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:612
virtual ~ScXMLDataPilotTablesContext() override
Definition: xmldpimp.cxx:58
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:221
ScXMLDataPilotDisplayInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1083
void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo &aInfo)
Definition: xmldpimp.hxx:270
ScMySourceType
Definition: xmldpimp.hxx:40
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1533
void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
Definition: xmldpimp.hxx:268
virtual ~ScXMLSourceServiceContext() override
Definition: xmldpimp.cxx:669
virtual ~ScXMLDataPilotLevelContext() override
Definition: xmldpimp.cxx:1050
virtual ~ScXMLDataPilotGroupContext() override
Definition: xmldpimp.cxx:1490
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:910
void AddMember(std::unique_ptr< ScDPSaveMember > pMember)
Definition: xmldpimp.cxx:884
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1510
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:1461
ScXMLSourceCellRangeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:733
ScXMLDataPilotGroupMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotGroupContext *pDataPilotGroup)
Definition: xmldpimp.cxx:1515
virtual ~ScXMLSourceCellRangeContext() override
Definition: xmldpimp.cxx:763
ScXMLDPSourceTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:585
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:861
virtual ~ScXMLDataPilotFieldContext() override
Definition: xmldpimp.cxx:857
ScXMLDataPilotLayoutInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1166
css::sheet::DataPilotFieldOrientation nOrientation
Definition: xmldpimp.hxx:241
void SetDisplayName(const OUString &rName)
Definition: xmldpimp.cxx:1244
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:205
void SetSourceCellRangeAddress(const ScRange &aValue)
Definition: xmldpimp.hxx:130
ScMySourceType nSourceType
Definition: xmldpimp.hxx:90
virtual ~ScXMLDataPilotLayoutInfoContext() override
Definition: xmldpimp.cxx:1198
std::unique_ptr< ScDPSaveData > pDPSave
Definition: xmldpimp.hxx:72
virtual ~ScXMLDataPilotGroupsContext() override
Definition: xmldpimp.cxx:1457
This class exists only to provide GetScImport() to its derived classes.
GrandTotalItem maRowGrandTotal
Definition: xmldpimp.hxx:74
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:381
ScXMLDataPilotTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmldpimp.cxx:85
css::sheet::DataPilotFieldOrientation mnDataLayoutType
Definition: xmldpimp.hxx:96
ScXMLDataPilotSubTotalsContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1202
Represents a group dimension that introduces a new hierarchy for an existing dimension.
Definition: dpdimsave.hxx:135
virtual ~ScXMLDPSourceQueryContext() override
Definition: xmldpimp.cxx:634
void SetServiceSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:126
ScXMLDataPilotSortInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1124
ScXMLDataPilotGroupContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1476
void AddMember(const OUString &sMember)
Definition: xmldpimp.hxx:451
ScXMLDPSourceSQLContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:556
ScXMLDataPilotTableContext * mpTableContext
Definition: xmldpimp.hxx:187
void AddGroupDim(const ScDPSaveNumGroupDimension &aNumGroupDim)
Definition: xmldpimp.cxx:422
ScQueryParam aSourceQueryParam
Definition: xmldpimp.hxx:89
Definition: xmldpimp.hxx:42
void SetServiceName(const OUString &sValue)
Definition: xmldpimp.hxx:124
void SetFieldReference(const css::sheet::DataPilotFieldReference &aRef)
Definition: xmldpimp.hxx:267
virtual ~ScXMLDataPilotMembersContext() override
Definition: xmldpimp.cxx:1284
void SetSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:122
void SetRepeatItemLabels(const bool bSet)
Definition: xmldpimp.hxx:263
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:1288
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:1054
virtual ~ScXMLDataPilotSubTotalsContext() override
Definition: xmldpimp.cxx:1211
virtual ~ScXMLDataPilotDisplayInfoContext() override
Definition: xmldpimp.cxx:1120
virtual ~ScXMLDataPilotSubTotalContext() override
Definition: xmldpimp.cxx:1272
void SetServicePassword(const OUString &sValue)
Definition: xmldpimp.hxx:128
virtual ~ScXMLDataPilotGroupMemberContext() override
Definition: xmldpimp.cxx:1529
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:396
void AddGroup(const ::std::vector< OUString > &rMembers, const OUString &rName)
Definition: xmldpimp.cxx:902
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1232
ScXMLDataPilotSubTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotSubTotalsContext *pDataPilotSubTotals)
Definition: xmldpimp.cxx:1249
ScXMLDataPilotMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1305
std::vector< ScGeneralFunction > maFunctions
Definition: xmldpimp.hxx:351
void SetSubTotalName(const OUString &rName)
Definition: xmldpimp.cxx:896
virtual ~ScXMLDataPilotTableContext() override
Definition: xmldpimp.cxx:189
ScXMLDataPilotMembersContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1276
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2, which causes some type-safety issues.
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:349
std::unique_ptr< ScDPSaveDimension > xDim
Definition: xmldpimp.hxx:228
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID...
Definition: dpdimsave.hxx:90
void SetSubTotals(std::vector< ScGeneralFunction > const &rFunctions)
Definition: xmldpimp.hxx:264
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:227
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:713
void SetSortInfo(const css::sheet::DataPilotFieldSortInfo &aInfo)
Definition: xmldpimp.hxx:269
ScXMLDataPilotTablesContext(ScXMLImport &rImport)
Definition: xmldpimp.cxx:51
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:433
virtual ~ScXMLDPSourceSQLContext() override
Definition: xmldpimp.cxx:581
void SetButtons(ScDPObject *pDPObject)
Definition: xmldpimp.cxx:309
void SetSelectedPage(const OUString &rDimName, const OUString &rSelected)
Definition: xmldpimp.cxx:380
void AddDimension(ScDPSaveDimension *pDim)
Definition: xmldpimp.cxx:385
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:767
std::unordered_map< OUString, OUString > SelectedPagesType
Definition: xmldpimp.hxx:63
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:1215
ScXMLDataPilotGroupsContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1356
virtual ~ScXMLDataPilotGrandTotalContext() override
Definition: xmldpimp.cxx:709
virtual ~ScXMLDataPilotSortInfoContext() override
Definition: xmldpimp.cxx:1162
void SetShowEmpty(const bool bValue)
Definition: xmldpimp.hxx:262
ScXMLDataPilotFieldReferenceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:962
virtual ~ScXMLDataPilotFieldReferenceContext() override
Definition: xmldpimp.cxx:1023
GrandTotalItem maColGrandTotal
Definition: xmldpimp.hxx:75
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:638
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:417
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:1494