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;
105
107
108public:
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; }
131 void SetSourceQueryParam(const ScQueryParam& aValue) { aSourceQueryParam = aValue; }
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{
141public:
142
145 ScXMLDataPilotTableContext* pDataPilotTable);
146
147 virtual ~ScXMLDPSourceSQLContext() override;
148};
149
151{
152public:
153
156 ScXMLDataPilotTableContext* pDataPilotTable);
157
158 virtual ~ScXMLDPSourceTableContext() override;
159};
160
162{
163public:
164
167 ScXMLDataPilotTableContext* pDataPilotTable);
168
169 virtual ~ScXMLDPSourceQueryContext() override;
170};
171
173{
174public:
175
178 ScXMLDataPilotTableContext* pDataPilotTable);
179
180 virtual ~ScXMLSourceServiceContext() override;
181};
182
184{
186
191
192public:
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
207public:
208
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;
233 OUString sName;
234 double fStart;
235 double fEnd;
236 double fStep;
237 sal_Int32 nUsedHierarchy;
238 sal_Int32 nGroupPart;
240 css::sheet::DataPilotFieldOrientation
246 bool bAutoEnd:1;
247 bool mbHasHiddenMember:1; // TODO: import to document core
248
249public:
250
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> && rFunctions) { if (xDim) xDim->SetSubTotals(std::move(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(::std::vector<OUString>&& rMembers, const OUString& rName);
285};
286
288{
289public:
290
293 ScXMLDataPilotFieldContext* pDataPilotField);
294
295 virtual ~ScXMLDataPilotFieldReferenceContext() override;
296};
297
299{
301
302public:
303
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{
316public:
317
320 ScXMLDataPilotFieldContext* pDataPilotField);
321
322 virtual ~ScXMLDataPilotDisplayInfoContext() override;
323};
324
326{
327public:
328
331 ScXMLDataPilotFieldContext* pDataPilotField);
332
333 virtual ~ScXMLDataPilotSortInfoContext() override;
334};
335
337{
338public:
339
342 ScXMLDataPilotFieldContext* pDataPilotField);
343
344 virtual ~ScXMLDataPilotLayoutInfoContext() override;
345};
346
348{
350
351 std::vector<ScGeneralFunction> maFunctions;
353
354public:
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{
370public:
371
374 ScXMLDataPilotSubTotalsContext* pDataPilotSubTotals);
375
376 virtual ~ScXMLDataPilotSubTotalContext() override;
377};
378
380{
382
383public:
384
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;
403
404public:
405
409
410 virtual ~ScXMLDataPilotMemberContext() override;
411
412 virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
413};
414
416{
418
419public:
420
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
438public:
439
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
459public:
460
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: */
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:632
ScXMLDPSourceQueryContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:610
ScXMLDPSourceSQLContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:554
virtual ~ScXMLDPSourceSQLContext() override
Definition: xmldpimp.cxx:579
virtual ~ScXMLDPSourceTableContext() override
Definition: xmldpimp.cxx:606
ScXMLDPSourceTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:583
ScXMLDataPilotDisplayInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1080
virtual ~ScXMLDataPilotDisplayInfoContext() override
Definition: xmldpimp.cxx:1117
void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo &aInfo)
Definition: xmldpimp.hxx:270
void SetShowEmpty(const bool bValue)
Definition: xmldpimp.hxx:262
void SetSubTotals(std::vector< ScGeneralFunction > &&rFunctions)
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:858
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
void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
Definition: xmldpimp.hxx:268
css::sheet::DataPilotFieldOrientation nOrientation
Definition: xmldpimp.hxx:241
virtual ~ScXMLDataPilotFieldContext() override
Definition: xmldpimp.cxx:854
void AddGroup(::std::vector< OUString > &&rMembers, const OUString &rName)
Definition: xmldpimp.cxx:899
::std::vector< ScXMLDataPilotGroup > aGroups
Definition: xmldpimp.hxx:230
void SetFieldReference(const css::sheet::DataPilotFieldReference &aRef)
Definition: xmldpimp.hxx:267
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:227
ScGeneralFunction nFunction
Definition: xmldpimp.hxx:239
void AddMember(std::unique_ptr< ScDPSaveMember > pMember)
Definition: xmldpimp.cxx:881
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:907
void SetSubTotalName(const OUString &rName)
Definition: xmldpimp.cxx:893
void SetSortInfo(const css::sheet::DataPilotFieldSortInfo &aInfo)
Definition: xmldpimp.hxx:269
std::unique_ptr< ScDPSaveDimension > xDim
Definition: xmldpimp.hxx:228
ScXMLDataPilotFieldContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:782
void SetRepeatItemLabels(const bool bSet)
Definition: xmldpimp.hxx:263
virtual ~ScXMLDataPilotFieldReferenceContext() override
Definition: xmldpimp.cxx:1020
ScXMLDataPilotFieldReferenceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:959
virtual ~ScXMLDataPilotGrandTotalContext() override
Definition: xmldpimp.cxx:707
ScXMLDataPilotTableContext * mpTableContext
Definition: xmldpimp.hxx:187
ScXMLDataPilotGrandTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pTableContext)
Definition: xmldpimp.cxx:671
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:711
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
void AddMember(const OUString &sMember)
Definition: xmldpimp.hxx:451
ScXMLDataPilotGroupContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1473
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1507
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:436
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:433
virtual ~ScXMLDataPilotGroupContext() override
Definition: xmldpimp.cxx:1487
ScXMLDataPilotGroupMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotGroupContext *pDataPilotGroup)
Definition: xmldpimp.cxx:1512
virtual ~ScXMLDataPilotGroupMemberContext() override
Definition: xmldpimp.cxx:1526
ScXMLDataPilotGroupContext * pDataPilotGroup
Definition: xmldpimp.hxx:456
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1530
virtual ~ScXMLDataPilotGroupsContext() override
Definition: xmldpimp.cxx:1454
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:417
ScXMLDataPilotGroupsContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1353
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
ScXMLDataPilotLayoutInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1163
virtual ~ScXMLDataPilotLayoutInfoContext() override
Definition: xmldpimp.cxx:1195
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
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:300
ScXMLDataPilotLevelContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1024
virtual ~ScXMLDataPilotLevelContext() override
Definition: xmldpimp.cxx:1047
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1340
virtual ~ScXMLDataPilotMemberContext() override
Definition: xmldpimp.cxx:1336
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:396
ScXMLDataPilotMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1302
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
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:381
virtual ~ScXMLDataPilotMembersContext() override
Definition: xmldpimp.cxx:1281
ScXMLDataPilotMembersContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1273
ScXMLDataPilotSortInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1121
virtual ~ScXMLDataPilotSortInfoContext() override
Definition: xmldpimp.cxx:1159
ScXMLDataPilotSubTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotSubTotalsContext *pDataPilotSubTotals)
Definition: xmldpimp.cxx:1246
virtual ~ScXMLDataPilotSubTotalContext() override
Definition: xmldpimp.cxx:1269
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
virtual ~ScXMLDataPilotSubTotalsContext() override
Definition: xmldpimp.cxx:1208
void AddFunction(ScGeneralFunction nFunction)
Definition: xmldpimp.cxx:1236
void SetDisplayName(const OUString &rName)
Definition: xmldpimp.cxx:1241
std::vector< ScGeneralFunction > maFunctions
Definition: xmldpimp.hxx:351
ScXMLDataPilotSubTotalsContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
Definition: xmldpimp.cxx:1199
ScXMLDataPilotFieldContext * pDataPilotField
Definition: xmldpimp.hxx:349
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:1229
css::sheet::DataPilotFieldOrientation mnDataLayoutType
Definition: xmldpimp.hxx:96
void SetSourceRangeName(const OUString &sValue)
Definition: xmldpimp.hxx:129
void SetServiceSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:126
void SetSourceObject(const OUString &sValue)
Definition: xmldpimp.hxx:122
GrandTotalItem maRowGrandTotal
Definition: xmldpimp.hxx:74
void SetNative(bool bValue)
Definition: xmldpimp.hxx:123
void AddDimension(ScDPSaveDimension *pDim)
Definition: xmldpimp.cxx:383
void SetSourceCellRangeAddress(const ScRange &aValue)
Definition: xmldpimp.hxx:130
std::unique_ptr< ScDPDimensionSaveData > pDPDimSaveData
Definition: xmldpimp.hxx:73
void SetDatabaseName(const OUString &sValue)
Definition: xmldpimp.hxx:121
ScXMLDataPilotTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmldpimp.cxx:85
void SetSourceQueryParam(const ScQueryParam &aValue)
Definition: xmldpimp.hxx:131
void SetServiceName(const OUString &sValue)
Definition: xmldpimp.hxx:124
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmldpimp.cxx:434
SelectedPagesType maSelectedPages
Definition: xmldpimp.hxx:106
std::unique_ptr< ScDPSaveData > pDPSave
Definition: xmldpimp.hxx:72
void SetButtons(ScDPObject *pDPObject)
Definition: xmldpimp.cxx:307
ScQueryParam aSourceQueryParam
Definition: xmldpimp.hxx:89
std::unordered_map< OUString, OUString > SelectedPagesType
Definition: xmldpimp.hxx:63
void AddGroupDim(const ScDPSaveNumGroupDimension &aNumGroupDim)
Definition: xmldpimp.cxx:420
void SetServicePassword(const OUString &sValue)
Definition: xmldpimp.hxx:128
virtual ~ScXMLDataPilotTableContext() override
Definition: xmldpimp.cxx:187
ScMySourceType nSourceType
Definition: xmldpimp.hxx:90
void SetSelectedPage(const OUString &rDimName, const OUString &rSelected)
Definition: xmldpimp.cxx:378
void SetServiceSourceName(const OUString &sValue)
Definition: xmldpimp.hxx:125
void SetServiceUsername(const OUString &sValue)
Definition: xmldpimp.hxx:127
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:191
void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
Definition: xmldpimp.cxx:530
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:761
ScXMLSourceCellRangeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:731
ScXMLDataPilotTableContext * pDataPilotTable
Definition: xmldpimp.hxx:205
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:765
ScXMLSourceServiceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
Definition: xmldpimp.cxx:636
virtual ~ScXMLSourceServiceContext() override
Definition: xmldpimp.cxx:667
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2,...
::std::vector< OUString > aMembers
Definition: xmldpimp.hxx:221
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