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

#include <xmldpimp.hxx>

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

Public Member Functions

 ScXMLDataPilotFieldContext (ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScXMLDataPilotTableContext *pDataPilotTable)
 
virtual ~ScXMLDataPilotFieldContext () 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 SetShowEmpty (const bool bValue)
 
void SetRepeatItemLabels (const bool bSet)
 
void SetSubTotals (std::vector< ScGeneralFunction > &&rFunctions)
 
void AddMember (std::unique_ptr< ScDPSaveMember > pMember)
 
void SetSubTotalName (const OUString &rName)
 
void SetFieldReference (const css::sheet::DataPilotFieldReference &aRef)
 
void SetAutoShowInfo (const css::sheet::DataPilotFieldAutoShowInfo &aInfo)
 
void SetSortInfo (const css::sheet::DataPilotFieldSortInfo &aInfo)
 
void SetLayoutInfo (const css::sheet::DataPilotFieldLayoutInfo &aInfo)
 
void SetGrouping (const OUString &rGroupSource, const double &rStart, const double &rEnd, const double &rStep, sal_Int32 nPart, bool bDate, bool bAutoSt, bool bAutoE)
 
void AddGroup (::std::vector< OUString > &&rMembers, const OUString &rName)
 
- 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 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 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 Attributes

ScXMLDataPilotTableContextpDataPilotTable
 
std::unique_ptr< ScDPSaveDimensionxDim
 
::std::vector< ScXMLDataPilotGroupaGroups
 
OUString sGroupSource
 
OUString sSelectedPage
 
OUString sName
 
double fStart
 
double fEnd
 
double fStep
 
sal_Int32 nUsedHierarchy
 
sal_Int32 nGroupPart
 
ScGeneralFunction nFunction
 
css::sheet::DataPilotFieldOrientation nOrientation
 
bool bSelectedPage:1
 
bool bIsGroupField:1
 
bool bDateValue:1
 
bool bAutoStart:1
 
bool bAutoEnd:1
 
bool mbHasHiddenMember:1
 

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 225 of file xmldpimp.hxx.

Constructor & Destructor Documentation

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

Definition at line 854 of file xmldpimp.cxx.

Member Function Documentation

void ScXMLDataPilotFieldContext::AddGroup ( ::std::vector< OUString > &&  rMembers,
const OUString &  rName 
)
void ScXMLDataPilotFieldContext::AddMember ( std::unique_ptr< ScDPSaveMember pMember)

Definition at line 881 of file xmldpimp.cxx.

References mbHasHiddenMember, and xDim.

Referenced by ScXMLDataPilotMemberContext::endFastElement().

uno::Reference< xml::sax::XFastContextHandler > SAL_CALL ScXMLDataPilotFieldContext::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual
void SAL_CALL ScXMLDataPilotFieldContext::endFastElement ( sal_Int32  nElement)
overridevirtual
void ScXMLDataPilotFieldContext::SetAutoShowInfo ( const css::sheet::DataPilotFieldAutoShowInfo &  aInfo)
inline
void ScXMLDataPilotFieldContext::SetFieldReference ( const css::sheet::DataPilotFieldReference &  aRef)
inline
void ScXMLDataPilotFieldContext::SetGrouping ( const OUString &  rGroupSource,
const double &  rStart,
const double &  rEnd,
const double &  rStep,
sal_Int32  nPart,
bool  bDate,
bool  bAutoSt,
bool  bAutoE 
)
inline
void ScXMLDataPilotFieldContext::SetLayoutInfo ( const css::sheet::DataPilotFieldLayoutInfo &  aInfo)
inline
void ScXMLDataPilotFieldContext::SetRepeatItemLabels ( const bool  bSet)
inline
void ScXMLDataPilotFieldContext::SetShowEmpty ( const bool  bValue)
inline
void ScXMLDataPilotFieldContext::SetSortInfo ( const css::sheet::DataPilotFieldSortInfo &  aInfo)
inline
void ScXMLDataPilotFieldContext::SetSubTotalName ( const OUString &  rName)

Definition at line 893 of file xmldpimp.cxx.

References xDim.

Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().

void ScXMLDataPilotFieldContext::SetSubTotals ( std::vector< ScGeneralFunction > &&  rFunctions)
inline

Definition at line 264 of file xmldpimp.hxx.

Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().

Member Data Documentation

::std::vector<ScXMLDataPilotGroup> ScXMLDataPilotFieldContext::aGroups
private

Definition at line 230 of file xmldpimp.hxx.

Referenced by AddGroup(), and endFastElement().

bool ScXMLDataPilotFieldContext::bAutoEnd
private

Definition at line 246 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

bool ScXMLDataPilotFieldContext::bAutoStart
private

Definition at line 245 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

bool ScXMLDataPilotFieldContext::bDateValue
private

Definition at line 244 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

bool ScXMLDataPilotFieldContext::bIsGroupField
private

Definition at line 243 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

bool ScXMLDataPilotFieldContext::bSelectedPage
private

Definition at line 242 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

double ScXMLDataPilotFieldContext::fEnd
private

Definition at line 235 of file xmldpimp.hxx.

Referenced by endFastElement().

double ScXMLDataPilotFieldContext::fStart
private

Definition at line 234 of file xmldpimp.hxx.

Referenced by endFastElement().

double ScXMLDataPilotFieldContext::fStep
private

Definition at line 236 of file xmldpimp.hxx.

Referenced by endFastElement().

bool ScXMLDataPilotFieldContext::mbHasHiddenMember
private

Definition at line 247 of file xmldpimp.hxx.

Referenced by AddMember().

ScGeneralFunction ScXMLDataPilotFieldContext::nFunction
private

Definition at line 239 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

sal_Int32 ScXMLDataPilotFieldContext::nGroupPart
private

Definition at line 238 of file xmldpimp.hxx.

Referenced by endFastElement().

css::sheet::DataPilotFieldOrientation ScXMLDataPilotFieldContext::nOrientation
private

Definition at line 241 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

sal_Int32 ScXMLDataPilotFieldContext::nUsedHierarchy
private

Definition at line 237 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

ScXMLDataPilotTableContext* ScXMLDataPilotFieldContext::pDataPilotTable
private

Definition at line 227 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotFieldContext::sGroupSource
private

Definition at line 231 of file xmldpimp.hxx.

Referenced by endFastElement().

OUString ScXMLDataPilotFieldContext::sName
private

Definition at line 233 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

OUString ScXMLDataPilotFieldContext::sSelectedPage
private

Definition at line 232 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

std::unique_ptr<ScDPSaveDimension> ScXMLDataPilotFieldContext::xDim
private

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