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 (ScXMLImport &rImport, sal_uInt16 nPrefix, const OUString &rLocalName)
 
 ScXMLImportContext (SvXMLImport &rImport)
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
- Public Member Functions inherited from SvXMLImportContext
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList)
 
virtual void EndElement ()
 
virtual void Characters (const OUString &rChars)
 
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 endUnknownElement (const OUString &Namespace, const OUString &Name) 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 css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override
 
virtual void SAL_CALL release () 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 62 of file xmldpimp.hxx.

Member Typedef Documentation

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

Definition at line 64 of file xmldpimp.hxx.

Constructor & Destructor Documentation

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

Definition at line 188 of file xmldpimp.cxx.

Member Function Documentation

void ScXMLDataPilotTableContext::AddDimension ( ScDPSaveDimension pDim)
void ScXMLDataPilotTableContext::AddGroupDim ( const ScDPSaveNumGroupDimension aNumGroupDim)

Definition at line 421 of file xmldpimp.cxx.

References pDPDimSaveData.

Referenced by ScXMLDataPilotFieldContext::endFastElement().

void ScXMLDataPilotTableContext::AddGroupDim ( const ScDPSaveGroupDimension aGroupDim)

Definition at line 428 of file xmldpimp.cxx.

References pDPDimSaveData.

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLDataPilotTableContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual
void SAL_CALL ScXMLDataPilotTableContext::endFastElement ( sal_Int32  nElement)
overridevirtual
void ScXMLDataPilotTableContext::SetButtons ( ScDPObject pDPObject)
void ScXMLDataPilotTableContext::SetDatabaseName ( const OUString &  sValue)
inline
void ScXMLDataPilotTableContext::SetGrandTotal ( ::xmloff::token::XMLTokenEnum  eOrientation,
bool  bVisible,
const OUString &  rDisplayName 
)
void ScXMLDataPilotTableContext::SetNative ( bool  bValue)
inline

Definition at line 124 of file xmldpimp.hxx.

References bIsNative.

Referenced by ScXMLDPSourceSQLContext::ScXMLDPSourceSQLContext().

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

Definition at line 379 of file xmldpimp.cxx.

References maSelectedPages.

Referenced by ScXMLDataPilotFieldContext::endFastElement().

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

Definition at line 125 of file xmldpimp.hxx.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

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

Definition at line 129 of file xmldpimp.hxx.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

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

Definition at line 126 of file xmldpimp.hxx.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

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

Definition at line 127 of file xmldpimp.hxx.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

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

Definition at line 128 of file xmldpimp.hxx.

Referenced by ScXMLSourceServiceContext::ScXMLSourceServiceContext().

void ScXMLDataPilotTableContext::SetSourceCellRangeAddress ( const ScRange aValue)
inline

Definition at line 131 of file xmldpimp.hxx.

References bSourceCellRange.

Referenced by ScXMLSourceCellRangeContext::ScXMLSourceCellRangeContext().

void ScXMLDataPilotTableContext::SetSourceObject ( const OUString &  sValue)
inline
void ScXMLDataPilotTableContext::SetSourceQueryParam ( const ScQueryParam aValue)
inline

Definition at line 132 of file xmldpimp.hxx.

Referenced by ScXMLDPFilterContext::endFastElement().

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

Definition at line 130 of file xmldpimp.hxx.

References bSourceCellRange.

Referenced by ScXMLSourceCellRangeContext::ScXMLSourceCellRangeContext().

Member Data Documentation

ScRange ScXMLDataPilotTableContext::aSourceCellRangeAddress
private

Definition at line 88 of file xmldpimp.hxx.

Referenced by endFastElement().

ScQueryParam ScXMLDataPilotTableContext::aSourceQueryParam
private

Definition at line 90 of file xmldpimp.hxx.

Referenced by endFastElement().

ScRange ScXMLDataPilotTableContext::aTargetRangeAddress
private

Definition at line 89 of file xmldpimp.hxx.

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

bool ScXMLDataPilotTableContext::bDrillDown
private

Definition at line 104 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

bool ScXMLDataPilotTableContext::bHeaderGridLayout
private

Definition at line 105 of file xmldpimp.hxx.

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

bool ScXMLDataPilotTableContext::bIdentifyCategories
private

Definition at line 100 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

bool ScXMLDataPilotTableContext::bIgnoreEmptyRows
private

Definition at line 99 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

bool ScXMLDataPilotTableContext::bIsNative
private

Definition at line 98 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetNative().

bool ScXMLDataPilotTableContext::bShowFilter
private

Definition at line 103 of file xmldpimp.hxx.

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

bool ScXMLDataPilotTableContext::bSourceCellRange
private

Definition at line 102 of file xmldpimp.hxx.

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

bool ScXMLDataPilotTableContext::bTargetRangeAddress
private

Definition at line 101 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

GrandTotalItem ScXMLDataPilotTableContext::maColGrandTotal
private

Definition at line 76 of file xmldpimp.hxx.

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

GrandTotalItem ScXMLDataPilotTableContext::maRowGrandTotal
private

Definition at line 75 of file xmldpimp.hxx.

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

SelectedPagesType ScXMLDataPilotTableContext::maSelectedPages
private

Definition at line 107 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetSelectedPage().

sal_uInt32 ScXMLDataPilotTableContext::mnColFieldCount
private

Definition at line 93 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

sal_uInt32 ScXMLDataPilotTableContext::mnDataFieldCount
private

Definition at line 95 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

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

Definition at line 97 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

sal_uInt32 ScXMLDataPilotTableContext::mnPageFieldCount
private

Definition at line 94 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

sal_uInt32 ScXMLDataPilotTableContext::mnRowFieldCount
private

Definition at line 92 of file xmldpimp.hxx.

Referenced by AddDimension(), and SetButtons().

ScMySourceType ScXMLDataPilotTableContext::nSourceType
private

Definition at line 91 of file xmldpimp.hxx.

Referenced by createFastChildContext(), and endFastElement().

ScDocument* ScXMLDataPilotTableContext::pDoc
private

Definition at line 72 of file xmldpimp.hxx.

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

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

Definition at line 74 of file xmldpimp.hxx.

Referenced by AddGroupDim(), and endFastElement().

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

Definition at line 73 of file xmldpimp.hxx.

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

OUString ScXMLDataPilotTableContext::sApplicationData
private

Definition at line 78 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

OUString ScXMLDataPilotTableContext::sButtons
private

Definition at line 86 of file xmldpimp.hxx.

Referenced by ScXMLDataPilotTableContext(), and SetButtons().

OUString ScXMLDataPilotTableContext::sDatabaseName
private

Definition at line 79 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sDataPilotTableName
private

Definition at line 77 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotTableContext().

OUString ScXMLDataPilotTableContext::sServiceName
private

Definition at line 81 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sServicePassword
private

Definition at line 85 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sServiceSourceName
private

Definition at line 82 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sServiceSourceObject
private

Definition at line 83 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sServiceUsername
private

Definition at line 84 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sSourceObject
private

Definition at line 80 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotTableContext::sSourceRangeName
private

Definition at line 87 of file xmldpimp.hxx.

Referenced by endFastElement().


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