LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ScXMLDataPilotTableContext Class Reference

#include <xmldpimp.hxx>

Inheritance diagram for ScXMLDataPilotTableContext:
[legend]
Collaboration diagram for ScXMLDataPilotTableContext:
[legend]

Classes

struct  GrandTotalItem
 

Public Member Functions

 ScXMLDataPilotTableContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
 
virtual ~ScXMLDataPilotTableContext () 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 void SAL_CALL endFastElement (sal_Int32 nElement) override
 
void SetGrandTotal (::xmloff::token::XMLTokenEnum eOrientation, bool bVisible, const OUString &rDisplayName)
 
void SetDatabaseName (const OUString &sValue)
 
void SetSourceObject (const OUString &sValue)
 
void SetNative (bool bValue)
 
void SetServiceName (const OUString &sValue)
 
void SetServiceSourceName (const OUString &sValue)
 
void SetServiceSourceObject (const OUString &sValue)
 
void SetServiceUsername (const OUString &sValue)
 
void SetServicePassword (const OUString &sValue)
 
void SetSourceRangeName (const OUString &sValue)
 
void SetSourceCellRangeAddress (const ScRange &aValue)
 
void SetSourceQueryParam (const ScQueryParam &aValue)
 
void AddDimension (ScDPSaveDimension *pDim)
 
void AddGroupDim (const ScDPSaveNumGroupDimension &aNumGroupDim)
 
void AddGroupDim (const ScDPSaveGroupDimension &aGroupDim)
 
void SetButtons (ScDPObject *pDPObject)
 
void SetSelectedPage (const OUString &rDimName, const OUString &rSelected)
 
- Public Member Functions inherited from ScXMLImportContext
 ScXMLImportContext (SvXMLImport &rImport)
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Private Types

typedef std::unordered_map< OUString, OUString > SelectedPagesType
 

Private Attributes

ScDocumentpDoc
 
std::unique_ptr< ScDPSaveDatapDPSave
 
std::unique_ptr< ScDPDimensionSaveDatapDPDimSaveData
 
GrandTotalItem maRowGrandTotal
 
GrandTotalItem maColGrandTotal
 
OUString sDataPilotTableName
 
OUString sApplicationData
 
OUString sDatabaseName
 
OUString sSourceObject
 
OUString sServiceName
 
OUString sServiceSourceName
 
OUString sServiceSourceObject
 
OUString sServiceUsername
 
OUString sServicePassword
 
OUString sButtons
 
OUString sSourceRangeName
 
ScRange aSourceCellRangeAddress
 
ScRange aTargetRangeAddress
 
ScQueryParam aSourceQueryParam
 
ScMySourceType nSourceType
 
sal_uInt32 mnRowFieldCount
 
sal_uInt32 mnColFieldCount
 
sal_uInt32 mnPageFieldCount
 
sal_uInt32 mnDataFieldCount
 
css::sheet::DataPilotFieldOrientation mnDataLayoutType
 
bool bIsNative:1
 
bool bIgnoreEmptyRows:1
 
bool bIdentifyCategories:1
 
bool bTargetRangeAddress:1
 
bool bSourceCellRange:1
 
bool bShowFilter:1
 
bool bDrillDown:1
 
bool bHeaderGridLayout:1
 
SelectedPagesType maSelectedPages
 

Additional Inherited Members

- Protected Member Functions inherited from ScXMLImportContext
ScXMLImportGetScImport ()
 
const ScXMLImportGetScImport () const
 
- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 61 of file xmldpimp.hxx.

Member Typedef Documentation

◆ SelectedPagesType

typedef std::unordered_map<OUString, OUString> ScXMLDataPilotTableContext::SelectedPagesType
private

Definition at line 63 of file xmldpimp.hxx.

Constructor & Destructor Documentation

◆ ScXMLDataPilotTableContext()

ScXMLDataPilotTableContext::ScXMLDataPilotTableContext ( ScXMLImport rImport,
const rtl::Reference< sax_fastparser::FastAttributeList > &  rAttrList 
)

◆ ~ScXMLDataPilotTableContext()

ScXMLDataPilotTableContext::~ScXMLDataPilotTableContext ( )
overridevirtual

Definition at line 187 of file xmldpimp.cxx.

Member Function Documentation

◆ AddDimension()

void ScXMLDataPilotTableContext::AddDimension ( ScDPSaveDimension pDim)

◆ AddGroupDim() [1/2]

void ScXMLDataPilotTableContext::AddGroupDim ( const ScDPSaveGroupDimension aGroupDim)

Definition at line 427 of file xmldpimp.cxx.

References pDPDimSaveData.

◆ AddGroupDim() [2/2]

void ScXMLDataPilotTableContext::AddGroupDim ( const ScDPSaveNumGroupDimension aNumGroupDim)

Definition at line 420 of file xmldpimp.cxx.

References pDPDimSaveData.

Referenced by ScXMLDataPilotFieldContext::endFastElement().

◆ createFastChildContext()

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLDataPilotTableContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

◆ endFastElement()

void SAL_CALL ScXMLDataPilotTableContext::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ SetButtons()

void ScXMLDataPilotTableContext::SetButtons ( ScDPObject pDPObject)

◆ SetDatabaseName()

void ScXMLDataPilotTableContext::SetDatabaseName ( const OUString &  sValue)
inline

◆ SetGrandTotal()

void ScXMLDataPilotTableContext::SetGrandTotal ( ::xmloff::token::XMLTokenEnum  eOrientation,
bool  bVisible,
const OUString &  rDisplayName 
)

◆ SetNative()

void ScXMLDataPilotTableContext::SetNative ( bool  bValue)
inline

Definition at line 123 of file xmldpimp.hxx.

References bIsNative.

Referenced by ScXMLDPSourceSQLContext::ScXMLDPSourceSQLContext().

◆ SetSelectedPage()

void ScXMLDataPilotTableContext::SetSelectedPage ( const OUString &  rDimName,
const OUString &  rSelected 
)

Definition at line 378 of file xmldpimp.cxx.

References maSelectedPages.

Referenced by ScXMLDataPilotFieldContext::endFastElement().

◆ SetServiceName()

void ScXMLDataPilotTableContext::SetServiceName ( const OUString &  sValue)
inline

Definition at line 124 of file xmldpimp.hxx.

References sServiceName.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

◆ SetServicePassword()

void ScXMLDataPilotTableContext::SetServicePassword ( const OUString &  sValue)
inline

Definition at line 128 of file xmldpimp.hxx.

References sServicePassword.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

◆ SetServiceSourceName()

void ScXMLDataPilotTableContext::SetServiceSourceName ( const OUString &  sValue)
inline

Definition at line 125 of file xmldpimp.hxx.

References sServiceSourceName.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

◆ SetServiceSourceObject()

void ScXMLDataPilotTableContext::SetServiceSourceObject ( const OUString &  sValue)
inline

Definition at line 126 of file xmldpimp.hxx.

References sServiceSourceObject.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

◆ SetServiceUsername()

void ScXMLDataPilotTableContext::SetServiceUsername ( const OUString &  sValue)
inline

Definition at line 127 of file xmldpimp.hxx.

References sServiceUsername.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

◆ SetSourceCellRangeAddress()

void ScXMLDataPilotTableContext::SetSourceCellRangeAddress ( const ScRange aValue)
inline

◆ SetSourceObject()

void ScXMLDataPilotTableContext::SetSourceObject ( const OUString &  sValue)
inline

◆ SetSourceQueryParam()

void ScXMLDataPilotTableContext::SetSourceQueryParam ( const ScQueryParam aValue)
inline

Definition at line 131 of file xmldpimp.hxx.

References aSourceQueryParam.

Referenced by ScXMLDPFilterContext::endFastElement().

◆ SetSourceRangeName()

void ScXMLDataPilotTableContext::SetSourceRangeName ( const OUString &  sValue)
inline

Member Data Documentation

◆ aSourceCellRangeAddress

ScRange ScXMLDataPilotTableContext::aSourceCellRangeAddress
private

Definition at line 87 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSourceCellRangeAddress().

◆ aSourceQueryParam

ScQueryParam ScXMLDataPilotTableContext::aSourceQueryParam
private

Definition at line 89 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSourceQueryParam().

◆ aTargetRangeAddress

ScRange ScXMLDataPilotTableContext::aTargetRangeAddress
private

Definition at line 88 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetButtons().

◆ bDrillDown

bool ScXMLDataPilotTableContext::bDrillDown
private

Definition at line 103 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ bHeaderGridLayout

bool ScXMLDataPilotTableContext::bHeaderGridLayout
private

Definition at line 104 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetButtons().

◆ bIdentifyCategories

bool ScXMLDataPilotTableContext::bIdentifyCategories
private

Definition at line 99 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ bIgnoreEmptyRows

bool ScXMLDataPilotTableContext::bIgnoreEmptyRows
private

Definition at line 98 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ bIsNative

bool ScXMLDataPilotTableContext::bIsNative
private

Definition at line 97 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetNative().

◆ bShowFilter

bool ScXMLDataPilotTableContext::bShowFilter
private

Definition at line 102 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetButtons().

◆ bSourceCellRange

bool ScXMLDataPilotTableContext::bSourceCellRange
private

Definition at line 101 of file xmldpimp.hxx.

Referenced by endFastElement(), SetSourceCellRangeAddress(), and SetSourceRangeName().

◆ bTargetRangeAddress

bool ScXMLDataPilotTableContext::bTargetRangeAddress
private

Definition at line 100 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ maColGrandTotal

GrandTotalItem ScXMLDataPilotTableContext::maColGrandTotal
private

Definition at line 75 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetGrandTotal().

◆ maRowGrandTotal

GrandTotalItem ScXMLDataPilotTableContext::maRowGrandTotal
private

Definition at line 74 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetGrandTotal().

◆ maSelectedPages

SelectedPagesType ScXMLDataPilotTableContext::maSelectedPages
private

Definition at line 106 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSelectedPage().

◆ mnColFieldCount

sal_uInt32 ScXMLDataPilotTableContext::mnColFieldCount
private

Definition at line 92 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

◆ mnDataFieldCount

sal_uInt32 ScXMLDataPilotTableContext::mnDataFieldCount
private

Definition at line 94 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

◆ mnDataLayoutType

css::sheet::DataPilotFieldOrientation ScXMLDataPilotTableContext::mnDataLayoutType
private

Definition at line 96 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

◆ mnPageFieldCount

sal_uInt32 ScXMLDataPilotTableContext::mnPageFieldCount
private

Definition at line 93 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

◆ mnRowFieldCount

sal_uInt32 ScXMLDataPilotTableContext::mnRowFieldCount
private

Definition at line 91 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

◆ nSourceType

ScMySourceType ScXMLDataPilotTableContext::nSourceType
private

Definition at line 90 of file xmldpimp.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ pDoc

ScDocument* ScXMLDataPilotTableContext::pDoc
private

Definition at line 71 of file xmldpimp.hxx.

Referenced by endFastElement(), ScXMLDataPilotTableContext(), and SetButtons().

◆ pDPDimSaveData

std::unique_ptr<ScDPDimensionSaveData> ScXMLDataPilotTableContext::pDPDimSaveData
private

Definition at line 73 of file xmldpimp.hxx.

Referenced by AddGroupDim(), and endFastElement().

◆ pDPSave

std::unique_ptr<ScDPSaveData> ScXMLDataPilotTableContext::pDPSave
private

Definition at line 72 of file xmldpimp.hxx.

Referenced by AddDimension(), endFastElement(), and SetButtons().

◆ sApplicationData

OUString ScXMLDataPilotTableContext::sApplicationData
private

Definition at line 77 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ sButtons

OUString ScXMLDataPilotTableContext::sButtons
private

Definition at line 85 of file xmldpimp.hxx.

Referenced by ScXMLDataPilotTableContext(), and SetButtons().

◆ sDatabaseName

OUString ScXMLDataPilotTableContext::sDatabaseName
private

Definition at line 78 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetDatabaseName().

◆ sDataPilotTableName

OUString ScXMLDataPilotTableContext::sDataPilotTableName
private

Definition at line 76 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

◆ sServiceName

OUString ScXMLDataPilotTableContext::sServiceName
private

Definition at line 80 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetServiceName().

◆ sServicePassword

OUString ScXMLDataPilotTableContext::sServicePassword
private

Definition at line 84 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetServicePassword().

◆ sServiceSourceName

OUString ScXMLDataPilotTableContext::sServiceSourceName
private

Definition at line 81 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetServiceSourceName().

◆ sServiceSourceObject

OUString ScXMLDataPilotTableContext::sServiceSourceObject
private

Definition at line 82 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetServiceSourceObject().

◆ sServiceUsername

OUString ScXMLDataPilotTableContext::sServiceUsername
private

Definition at line 83 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetServiceUsername().

◆ sSourceObject

OUString ScXMLDataPilotTableContext::sSourceObject
private

Definition at line 79 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSourceObject().

◆ sSourceRangeName

OUString ScXMLDataPilotTableContext::sSourceRangeName
private

Definition at line 86 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSourceRangeName().


The documentation for this class was generated from the following files: