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
30namespace com::sun::star::sheet { struct DataPilotFieldAutoShowInfo; }
31namespace com::sun::star::sheet { struct DataPilotFieldLayoutInfo; }
32namespace com::sun::star::sheet { struct DataPilotFieldReference; }
33namespace com::sun::star::sheet { struct DataPilotFieldSortInfo; }
34namespace sax_fastparser { class FastAttributeList; }
35
38class ScDPObject;
39
41{
47};
48
50{
51public:
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;
70 };
72 std::unique_ptr<ScDPSaveData> pDPSave;
73 std::unique_ptr<ScDPDimensionSaveData> pDPDimSaveData;
78 OUString sDatabaseName;
79 OUString sSourceObject;
80 OUString sServiceName;
85 OUString sButtons;
91 sal_uInt32 mnRowFieldCount;
92 sal_uInt32 mnColFieldCount;
93 sal_uInt32 mnPageFieldCount;
94 sal_uInt32 mnDataFieldCount;
95 css::sheet::DataPilotFieldOrientation
97 bool bIsNative:1;
106 bool bHasCompactField:1; // True = One or more fields have compact layout.
107
109
110public:
111
114
115 virtual ~ScXMLDataPilotTableContext() override;
116
117 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
118 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
119
120 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
121
122 void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString& rDisplayName);
123 void SetDatabaseName(const OUString& sValue) { sDatabaseName = sValue; }
124 void SetSourceObject(const OUString& sValue) { sSourceObject = sValue; }
125 void SetNative(bool bValue) { bIsNative = bValue; }
126 void SetServiceName(const OUString& sValue) { sServiceName = sValue; }
127 void SetServiceSourceName(const OUString& sValue) { sServiceSourceName = sValue; }
128 void SetServiceSourceObject(const OUString& sValue) { sServiceSourceObject = sValue; }
129 void SetServiceUsername(const OUString& sValue) { sServiceUsername = sValue; }
130 void SetServicePassword(const OUString& sValue) { sServicePassword = sValue; }
131 void SetSourceRangeName(const OUString& sValue) { sSourceRangeName = sValue; bSourceCellRange = true; }
133 void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; }
135 void AddGroupDim(const ScDPSaveNumGroupDimension& aNumGroupDim);
136 void AddGroupDim(const ScDPSaveGroupDimension& aGroupDim);
137 void SetButtons(ScDPObject* pDPObject);
138 void SetSelectedPage( const OUString& rDimName, const OUString& rSelected );
140};
141
143{
144public:
145
148 ScXMLDataPilotTableContext* pDataPilotTable);
149
150 virtual ~ScXMLDPSourceSQLContext() override;
151};
152
154{
155public:
156
159 ScXMLDataPilotTableContext* pDataPilotTable);
160
161 virtual ~ScXMLDPSourceTableContext() override;
162};
163
165{
166public:
167
170 ScXMLDataPilotTableContext* pDataPilotTable);
171
172 virtual ~ScXMLDPSourceQueryContext() override;
173};
174
176{
177public:
178
181 ScXMLDataPilotTableContext* pDataPilotTable);
182
183 virtual ~ScXMLSourceServiceContext() override;
184};
185
187{
189
194
195public:
197 ScXMLImport& rImport,
199 ScXMLDataPilotTableContext* pTableContext );
200
201 virtual ~ScXMLDataPilotGrandTotalContext() override;
202
203 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
204};
205
207{
209
210public:
211
215
216 virtual ~ScXMLSourceCellRangeContext() override;
217
218 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
219 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
220};
221
223{
224 ::std::vector<OUString> aMembers;
225 OUString aName;
226};
227
229{
231 std::unique_ptr<ScDPSaveDimension> xDim;
232
233 ::std::vector<ScXMLDataPilotGroup> aGroups;
234 OUString sGroupSource;
236 OUString sName;
237 double fStart;
238 double fEnd;
239 double fStep;
240 sal_Int32 nUsedHierarchy;
241 sal_Int32 nGroupPart;
243 css::sheet::DataPilotFieldOrientation
249 bool bAutoEnd:1;
250 bool mbHasHiddenMember:1; // TODO: import to document core
251
252public:
253
257
258 virtual ~ScXMLDataPilotFieldContext() override;
259
260 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
261 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
262
263 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
264
265 void SetShowEmpty(const bool bValue) { if (xDim) xDim->SetShowEmpty(bValue); }
266 void SetRepeatItemLabels(const bool bSet) { if (xDim) xDim->SetRepeatItemLabels(bSet); }
267 void SetSubTotals(std::vector<ScGeneralFunction> && rFunctions) { if (xDim) xDim->SetSubTotals(std::move(rFunctions)); }
268 void AddMember(std::unique_ptr<ScDPSaveMember> pMember);
269 void SetSubTotalName(const OUString& rName);
270 void SetFieldReference(const css::sheet::DataPilotFieldReference& aRef) { if (xDim) xDim->SetReferenceValue(&aRef); }
271 void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo& aInfo) { if (xDim) xDim->SetAutoShowInfo(&aInfo); }
272 void SetSortInfo(const css::sheet::DataPilotFieldSortInfo& aInfo) { if (xDim) xDim->SetSortInfo(&aInfo); }
273 void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo& aInfo);
274 void SetGrouping(const OUString& rGroupSource, const double& rStart, const double& rEnd, const double& rStep,
275 sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
276 {
277 bIsGroupField = true;
278 sGroupSource = rGroupSource;
279 fStart = rStart;
280 fEnd = rEnd;
281 fStep = rStep;
282 nGroupPart = nPart;
283 bDateValue = bDate;
284 bAutoStart = bAutoSt;
285 bAutoEnd = bAutoE;
286 }
287 void AddGroup(::std::vector<OUString>&& rMembers, const OUString& rName);
288};
289
291{
292public:
293
296 ScXMLDataPilotFieldContext* pDataPilotField);
297
298 virtual ~ScXMLDataPilotFieldReferenceContext() override;
299};
300
302{
304
305public:
306
310
311 virtual ~ScXMLDataPilotLevelContext() override;
312
313 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
314 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
315};
316
318{
319public:
320
323 ScXMLDataPilotFieldContext* pDataPilotField);
324
325 virtual ~ScXMLDataPilotDisplayInfoContext() override;
326};
327
329{
330public:
331
334 ScXMLDataPilotFieldContext* pDataPilotField);
335
336 virtual ~ScXMLDataPilotSortInfoContext() override;
337};
338
340{
341public:
342
345 ScXMLDataPilotFieldContext* pDataPilotField);
346
347 virtual ~ScXMLDataPilotLayoutInfoContext() override;
348};
349
351{
353
354 std::vector<ScGeneralFunction> maFunctions;
356
357public:
360
361 virtual ~ScXMLDataPilotSubTotalsContext() override;
362
363 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
364 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
365
366 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
367 void AddFunction(ScGeneralFunction nFunction);
368 void SetDisplayName(const OUString& rName);
369};
370
372{
373public:
374
377 ScXMLDataPilotSubTotalsContext* pDataPilotSubTotals);
378
379 virtual ~ScXMLDataPilotSubTotalContext() override;
380};
381
383{
385
386public:
387
390
391 virtual ~ScXMLDataPilotMembersContext() override;
392
393 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
394 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
395};
396
398{
400
401 OUString sName;
406
407public:
408
412
413 virtual ~ScXMLDataPilotMemberContext() override;
414
415 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
416};
417
419{
421
422public:
423
427
428 virtual ~ScXMLDataPilotGroupsContext() override;
429
430 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
431 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
432};
433
435{
437
438 OUString sName;
439 ::std::vector<OUString> aMembers;
440
441public:
442
446
447 virtual ~ScXMLDataPilotGroupContext() override;
448
449 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
450 sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
451
452 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
453
454 void AddMember(const OUString& sMember) { aMembers.push_back(sMember); }
455};
456
458{
460 OUString sName;
461
462public:
463
467
468 virtual ~ScXMLDataPilotGroupMemberContext() override;
469
470 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
471};
472
473/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID.
Definition: dpdimsave.hxx:91
Represents a group dimension that introduces a new hierarchy for an existing dimension.
Definition: dpdimsave.hxx:136
virtual ~ScXMLDPSourceQueryContext() override
Definition: xmldpimp.cxx:640
ScXMLDPSourceQueryContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:618
ScXMLDPSourceSQLContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:562
virtual ~ScXMLDPSourceSQLContext() override
Definition: xmldpimp.cxx:587
virtual ~ScXMLDPSourceTableContext() override
Definition: xmldpimp.cxx:614
ScXMLDPSourceTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:591
ScXMLDataPilotDisplayInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1097
virtual ~ScXMLDataPilotDisplayInfoContext() override
Definition: xmldpimp.cxx:1134
void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo &aInfo)
Definition: xmldpimp.cxx:907
void SetShowEmpty(const bool bValue)
Definition: xmldpimp.hxx:265
void SetSubTotals(std::vector< ScGeneralFunction > &&rFunctions)
Definition: xmldpimp.hxx:267
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:866
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:274
void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
Definition: xmldpimp.hxx:271
css::sheet::DataPilotFieldOrientation nOrientation
Definition: xmldpimp.hxx:244
virtual ~ScXMLDataPilotFieldContext() override
Definition: xmldpimp.cxx:862
void AddGroup(::std::vector< OUString > &&rMembers, const OUString &rName)
Definition: xmldpimp.cxx:916
::std::vector< ScXMLDataPilotGroup > aGroups
Definition: xmldpimp.hxx:233
void SetFieldReference(const css::sheet::DataPilotFieldReference &aRef)
Definition: xmldpimp.hxx:270
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:230
ScGeneralFunction nFunction
Definition: xmldpimp.hxx:242
void AddMember(std::unique_ptr< ScDPSaveMember > pMember)
Definition: xmldpimp.cxx:889
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:924
void SetSubTotalName(const OUString &rName)
Definition: xmldpimp.cxx:901
void SetSortInfo(const css::sheet::DataPilotFieldSortInfo &aInfo)
Definition: xmldpimp.hxx:272
std::unique_ptr< ScDPSaveDimension > xDim
Definition: xmldpimp.hxx:231
ScXMLDataPilotFieldContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:790
void SetRepeatItemLabels(const bool bSet)
Definition: xmldpimp.hxx:266
virtual ~ScXMLDataPilotFieldReferenceContext() override
Definition: xmldpimp.cxx:1037
ScXMLDataPilotFieldReferenceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:976
virtual ~ScXMLDataPilotGrandTotalContext() override
Definition: xmldpimp.cxx:715
ScXMLDataPilotTableContext * mpTableContext
Definition: xmldpimp.hxx:190
ScXMLDataPilotGrandTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pTableContext)
Definition: xmldpimp.cxx:679
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:719
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:1517
void AddMember(const OUString &sMember)
Definition: xmldpimp.hxx:454
ScXMLDataPilotGroupContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1499
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1533
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:439
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:436
virtual ~ScXMLDataPilotGroupContext() override
Definition: xmldpimp.cxx:1513
ScXMLDataPilotGroupMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotGroupContext *pDataPilotGroup)
Definition: xmldpimp.cxx:1538
virtual ~ScXMLDataPilotGroupMemberContext() override
Definition: xmldpimp.cxx:1552
ScXMLDataPilotGroupContext * pDataPilotGroup
Definition: xmldpimp.hxx:459
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1556
virtual ~ScXMLDataPilotGroupsContext() override
Definition: xmldpimp.cxx:1480
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:420
ScXMLDataPilotGroupsContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1379
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:1484
ScXMLDataPilotLayoutInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1180
virtual ~ScXMLDataPilotLayoutInfoContext() override
Definition: xmldpimp.cxx:1221
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:1068
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:303
ScXMLDataPilotLevelContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1041
virtual ~ScXMLDataPilotLevelContext() override
Definition: xmldpimp.cxx:1064
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1366
virtual ~ScXMLDataPilotMemberContext() override
Definition: xmldpimp.cxx:1362
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:399
ScXMLDataPilotMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1328
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:1311
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:384
virtual ~ScXMLDataPilotMembersContext() override
Definition: xmldpimp.cxx:1307
ScXMLDataPilotMembersContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1299
ScXMLDataPilotSortInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1138
virtual ~ScXMLDataPilotSortInfoContext() override
Definition: xmldpimp.cxx:1176
ScXMLDataPilotSubTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotSubTotalsContext *pDataPilotSubTotals)
Definition: xmldpimp.cxx:1272
virtual ~ScXMLDataPilotSubTotalContext() override
Definition: xmldpimp.cxx:1295
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:1238
virtual ~ScXMLDataPilotSubTotalsContext() override
Definition: xmldpimp.cxx:1234
void AddFunction(ScGeneralFunction nFunction)
Definition: xmldpimp.cxx:1262
void SetDisplayName(const OUString &rName)
Definition: xmldpimp.cxx:1267
std::vector< ScGeneralFunction > maFunctions
Definition: xmldpimp.hxx:354
ScXMLDataPilotSubTotalsContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1225
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:352
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1255
css::sheet::DataPilotFieldOrientation mnDataLayoutType
Definition: xmldpimp.hxx:96
void SetSourceRangeName(const OUString &sValue)
Definition: xmldpimp.hxx:131
void SetServiceSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:128
void SetSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:124
GrandTotalItem maRowGrandTotal
Definition: xmldpimp.hxx:74
void SetNative(bool bValue)
Definition: xmldpimp.hxx:125
void AddDimension(ScDPSaveDimension *pDim)
Definition: xmldpimp.cxx:390
void SetSourceCellRangeAddress(const ScRange &aValue)
Definition: xmldpimp.hxx:132
std::unique_ptr< ScDPDimensionSaveData > pDPDimSaveData
Definition: xmldpimp.hxx:73
void SetDatabaseName(const OUString &sValue)
Definition: xmldpimp.hxx:123
ScXMLDataPilotTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmldpimp.cxx:85
void SetSourceQueryParam(const ScQueryParam &aValue)
Definition: xmldpimp.hxx:133
void SetServiceName(const OUString &sValue)
Definition: xmldpimp.hxx:126
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:441
SelectedPagesType maSelectedPages
Definition: xmldpimp.hxx:108
std::unique_ptr< ScDPSaveData > pDPSave
Definition: xmldpimp.hxx:72
void SetButtons(ScDPObject *pDPObject)
Definition: xmldpimp.cxx:314
ScQueryParam aSourceQueryParam
Definition: xmldpimp.hxx:89
std::unordered_map< OUString, OUString > SelectedPagesType
Definition: xmldpimp.hxx:63
void AddGroupDim(const ScDPSaveNumGroupDimension &aNumGroupDim)
Definition: xmldpimp.cxx:427
void SetServicePassword(const OUString &sValue)
Definition: xmldpimp.hxx:130
virtual ~ScXMLDataPilotTableContext() override
Definition: xmldpimp.cxx:194
ScMySourceType nSourceType
Definition: xmldpimp.hxx:90
void SetSelectedPage(const OUString &rDimName, const OUString &rSelected)
Definition: xmldpimp.cxx:385
void SetServiceSourceName(const OUString &sValue)
Definition: xmldpimp.hxx:127
void SetServiceUsername(const OUString &sValue)
Definition: xmldpimp.hxx:129
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:198
void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
Definition: xmldpimp.cxx:538
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
ScXMLDataPilotTablesContext(ScXMLImport &rImport)
Definition: xmldpimp.cxx:51
virtual ~ScXMLDataPilotTablesContext() override
Definition: xmldpimp.cxx:58
This class exists only to provide GetScImport() to its derived classes.
virtual ~ScXMLSourceCellRangeContext() override
Definition: xmldpimp.cxx:769
ScXMLSourceCellRangeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:739
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:208
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:773
ScXMLSourceServiceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:644
virtual ~ScXMLSourceServiceContext() override
Definition: xmldpimp.cxx:675
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2,...
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:224
ScMySourceType
Definition: xmldpimp.hxx:41
@ CELLRANGE
Definition: xmldpimp.hxx:46
@ QUERY
Definition: xmldpimp.hxx:44
@ TABLE
Definition: xmldpimp.hxx:43
@ SERVICE
Definition: xmldpimp.hxx:45
@ SQL
Definition: xmldpimp.hxx:42