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

Constructor & Destructor Documentation

◆ ScXMLDataPilotFieldContext()

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

◆ ~ScXMLDataPilotFieldContext()

ScXMLDataPilotFieldContext::~ScXMLDataPilotFieldContext ( )
overridevirtual

Definition at line 862 of file xmldpimp.cxx.

Member Function Documentation

◆ AddGroup()

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

◆ AddMember()

void ScXMLDataPilotFieldContext::AddMember ( std::unique_ptr< ScDPSaveMember pMember)

Definition at line 889 of file xmldpimp.cxx.

References mbHasHiddenMember, and xDim.

Referenced by ScXMLDataPilotMemberContext::endFastElement().

◆ createFastChildContext()

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

◆ endFastElement()

void SAL_CALL ScXMLDataPilotFieldContext::endFastElement ( sal_Int32  nElement)
overridevirtual

◆ SetAutoShowInfo()

void ScXMLDataPilotFieldContext::SetAutoShowInfo ( const css::sheet::DataPilotFieldAutoShowInfo &  aInfo)
inline

Definition at line 271 of file xmldpimp.hxx.

References xDim.

Referenced by ScXMLDataPilotDisplayInfoContext::ScXMLDataPilotDisplayInfoContext().

◆ SetFieldReference()

void ScXMLDataPilotFieldContext::SetFieldReference ( const css::sheet::DataPilotFieldReference &  aRef)
inline

◆ SetGrouping()

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

◆ SetLayoutInfo()

void ScXMLDataPilotFieldContext::SetLayoutInfo ( const css::sheet::DataPilotFieldLayoutInfo &  aInfo)

◆ SetRepeatItemLabels()

void ScXMLDataPilotFieldContext::SetRepeatItemLabels ( const bool  bSet)
inline

Definition at line 266 of file xmldpimp.hxx.

References xDim.

Referenced by ScXMLDataPilotLevelContext::ScXMLDataPilotLevelContext().

◆ SetShowEmpty()

void ScXMLDataPilotFieldContext::SetShowEmpty ( const bool  bValue)
inline

Definition at line 265 of file xmldpimp.hxx.

References xDim.

Referenced by ScXMLDataPilotLevelContext::ScXMLDataPilotLevelContext().

◆ SetSortInfo()

void ScXMLDataPilotFieldContext::SetSortInfo ( const css::sheet::DataPilotFieldSortInfo &  aInfo)
inline

Definition at line 272 of file xmldpimp.hxx.

References xDim.

Referenced by ScXMLDataPilotSortInfoContext::ScXMLDataPilotSortInfoContext().

◆ SetSubTotalName()

void ScXMLDataPilotFieldContext::SetSubTotalName ( const OUString &  rName)

Definition at line 901 of file xmldpimp.cxx.

References xDim.

Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().

◆ SetSubTotals()

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

Definition at line 267 of file xmldpimp.hxx.

References xDim.

Referenced by ScXMLDataPilotSubTotalsContext::endFastElement().

Member Data Documentation

◆ aGroups

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

Definition at line 233 of file xmldpimp.hxx.

Referenced by AddGroup(), and endFastElement().

◆ bAutoEnd

bool ScXMLDataPilotFieldContext::bAutoEnd
private

Definition at line 249 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ bAutoStart

bool ScXMLDataPilotFieldContext::bAutoStart
private

Definition at line 248 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ bDateValue

bool ScXMLDataPilotFieldContext::bDateValue
private

Definition at line 247 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ bIsGroupField

bool ScXMLDataPilotFieldContext::bIsGroupField
private

Definition at line 246 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ bSelectedPage

bool ScXMLDataPilotFieldContext::bSelectedPage
private

Definition at line 245 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ fEnd

double ScXMLDataPilotFieldContext::fEnd
private

Definition at line 238 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ fStart

double ScXMLDataPilotFieldContext::fStart
private

Definition at line 237 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ fStep

double ScXMLDataPilotFieldContext::fStep
private

Definition at line 239 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ mbHasHiddenMember

bool ScXMLDataPilotFieldContext::mbHasHiddenMember
private

Definition at line 250 of file xmldpimp.hxx.

Referenced by AddMember().

◆ nFunction

ScGeneralFunction ScXMLDataPilotFieldContext::nFunction
private

Definition at line 242 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ nGroupPart

sal_Int32 ScXMLDataPilotFieldContext::nGroupPart
private

Definition at line 241 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ nOrientation

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

Definition at line 244 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ nUsedHierarchy

sal_Int32 ScXMLDataPilotFieldContext::nUsedHierarchy
private

Definition at line 240 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ pDataPilotTable

ScXMLDataPilotTableContext* ScXMLDataPilotFieldContext::pDataPilotTable
private

Definition at line 230 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetLayoutInfo().

◆ sGroupSource

OUString ScXMLDataPilotFieldContext::sGroupSource
private

Definition at line 234 of file xmldpimp.hxx.

Referenced by endFastElement(), and SetGrouping().

◆ sName

OUString ScXMLDataPilotFieldContext::sName
private

Definition at line 236 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ sSelectedPage

OUString ScXMLDataPilotFieldContext::sSelectedPage
private

Definition at line 235 of file xmldpimp.hxx.

Referenced by endFastElement(), and ScXMLDataPilotFieldContext().

◆ xDim

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

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