28#include <unordered_map>
58 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
95 css::sheet::DataPilotFieldOrientation
118 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
120 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
138 void SetSelectedPage(
const OUString& rDimName,
const OUString& rSelected );
203 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
219 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
231 std::unique_ptr<ScDPSaveDimension>
xDim;
243 css::sheet::DataPilotFieldOrientation
261 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
263 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
267 void SetSubTotals(std::vector<ScGeneralFunction> && rFunctions) {
if (
xDim)
xDim->SetSubTotals(std::move(rFunctions)); }
268 void AddMember(std::unique_ptr<ScDPSaveMember> pMember);
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)
287 void AddGroup(::std::vector<OUString>&& rMembers,
const OUString& rName);
314 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
364 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
366 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
394 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
415 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
431 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
450 sal_Int32 nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
452 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
470 virtual void SAL_CALL
endFastElement( sal_Int32 nElement )
override;
Represents a new group dimension whose dimension ID is higher than the highest source dimension ID.
Represents a group dimension that introduces a new hierarchy for an existing dimension.
virtual ~ScXMLDPSourceQueryContext() override
ScXMLDPSourceQueryContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
ScXMLDPSourceSQLContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
virtual ~ScXMLDPSourceSQLContext() override
virtual ~ScXMLDPSourceTableContext() override
ScXMLDPSourceTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
ScXMLDataPilotDisplayInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual ~ScXMLDataPilotDisplayInfoContext() override
void SetLayoutInfo(const css::sheet::DataPilotFieldLayoutInfo &aInfo)
void SetShowEmpty(const bool bValue)
void SetSubTotals(std::vector< ScGeneralFunction > &&rFunctions)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void SetGrouping(const OUString &rGroupSource, const double &rStart, const double &rEnd, const double &rStep, sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
void SetAutoShowInfo(const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
css::sheet::DataPilotFieldOrientation nOrientation
virtual ~ScXMLDataPilotFieldContext() override
void AddGroup(::std::vector< OUString > &&rMembers, const OUString &rName)
::std::vector< ScXMLDataPilotGroup > aGroups
void SetFieldReference(const css::sheet::DataPilotFieldReference &aRef)
ScXMLDataPilotTableContext * pDataPilotTable
ScGeneralFunction nFunction
void AddMember(std::unique_ptr< ScDPSaveMember > pMember)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
void SetSubTotalName(const OUString &rName)
void SetSortInfo(const css::sheet::DataPilotFieldSortInfo &aInfo)
std::unique_ptr< ScDPSaveDimension > xDim
ScXMLDataPilotFieldContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
void SetRepeatItemLabels(const bool bSet)
virtual ~ScXMLDataPilotFieldReferenceContext() override
ScXMLDataPilotFieldReferenceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual ~ScXMLDataPilotGrandTotalContext() override
ScXMLDataPilotTableContext * mpTableContext
Orientation meOrientation
ScXMLDataPilotGrandTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pTableContext)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
void AddMember(const OUString &sMember)
ScXMLDataPilotGroupContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
::std::vector< OUString > aMembers
ScXMLDataPilotFieldContext * pDataPilotField
virtual ~ScXMLDataPilotGroupContext() override
ScXMLDataPilotGroupMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotGroupContext *pDataPilotGroup)
virtual ~ScXMLDataPilotGroupMemberContext() override
ScXMLDataPilotGroupContext * pDataPilotGroup
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
virtual ~ScXMLDataPilotGroupsContext() override
ScXMLDataPilotFieldContext * pDataPilotField
ScXMLDataPilotGroupsContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLDataPilotLayoutInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual ~ScXMLDataPilotLayoutInfoContext() override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLDataPilotFieldContext * pDataPilotField
ScXMLDataPilotLevelContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual ~ScXMLDataPilotLevelContext() override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
virtual ~ScXMLDataPilotMemberContext() override
ScXMLDataPilotFieldContext * pDataPilotField
ScXMLDataPilotMemberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLDataPilotFieldContext * pDataPilotField
virtual ~ScXMLDataPilotMembersContext() override
ScXMLDataPilotMembersContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
ScXMLDataPilotSortInfoContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotFieldContext *pDataPilotField)
virtual ~ScXMLDataPilotSortInfoContext() override
ScXMLDataPilotSubTotalContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotSubTotalsContext *pDataPilotSubTotals)
virtual ~ScXMLDataPilotSubTotalContext() override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~ScXMLDataPilotSubTotalsContext() override
void AddFunction(ScGeneralFunction nFunction)
void SetDisplayName(const OUString &rName)
std::vector< ScGeneralFunction > maFunctions
ScXMLDataPilotSubTotalsContext(ScXMLImport &rImport, ScXMLDataPilotFieldContext *pDataPilotField)
ScXMLDataPilotFieldContext * pDataPilotField
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
css::sheet::DataPilotFieldOrientation mnDataLayoutType
OUString sServicePassword
OUString sApplicationData
OUString sSourceRangeName
void SetHasCompactField()
void SetSourceRangeName(const OUString &sValue)
void SetServiceSourceObject(const OUString &sValue)
OUString sDataPilotTableName
OUString sServiceSourceObject
sal_uInt32 mnPageFieldCount
void SetSourceObject(const OUString &sValue)
GrandTotalItem maRowGrandTotal
void SetNative(bool bValue)
void AddDimension(ScDPSaveDimension *pDim)
sal_uInt32 mnRowFieldCount
void SetSourceCellRangeAddress(const ScRange &aValue)
std::unique_ptr< ScDPDimensionSaveData > pDPDimSaveData
void SetDatabaseName(const OUString &sValue)
ScXMLDataPilotTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
void SetSourceQueryParam(const ScQueryParam &aValue)
void SetServiceName(const OUString &sValue)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
SelectedPagesType maSelectedPages
std::unique_ptr< ScDPSaveData > pDPSave
void SetButtons(ScDPObject *pDPObject)
sal_uInt32 mnDataFieldCount
OUString sServiceSourceName
ScQueryParam aSourceQueryParam
std::unordered_map< OUString, OUString > SelectedPagesType
void AddGroupDim(const ScDPSaveNumGroupDimension &aNumGroupDim)
void SetServicePassword(const OUString &sValue)
OUString sServiceUsername
virtual ~ScXMLDataPilotTableContext() override
ScMySourceType nSourceType
ScRange aSourceCellRangeAddress
void SetSelectedPage(const OUString &rDimName, const OUString &rSelected)
void SetServiceSourceName(const OUString &sValue)
sal_uInt32 mnColFieldCount
void SetServiceUsername(const OUString &sValue)
GrandTotalItem maColGrandTotal
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScRange aTargetRangeAddress
void SetGrandTotal(::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLDataPilotTablesContext(ScXMLImport &rImport)
virtual ~ScXMLDataPilotTablesContext() override
This class exists only to provide GetScImport() to its derived classes.
virtual ~ScXMLSourceCellRangeContext() override
ScXMLSourceCellRangeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
ScXMLDataPilotTableContext * pDataPilotTable
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLSourceServiceContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
virtual ~ScXMLSourceServiceContext() override
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2,...
::std::vector< OUString > aMembers