LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
sc::PivotTableDataSequence Class Referencefinal

#include <PivotTableDataSequence.hxx>

Inheritance diagram for sc::PivotTableDataSequence:
[legend]
Collaboration diagram for sc::PivotTableDataSequence:
[legend]

Public Member Functions

 PivotTableDataSequence (ScDocument *pDocument, OUString sID, std::vector< ValueAndFormat > &&rData)
 
virtual ~PivotTableDataSequence () override
 
 PivotTableDataSequence (const PivotTableDataSequence &)=delete
 
PivotTableDataSequenceoperator= (const PivotTableDataSequence &)=delete
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getData () override
 
virtual OUString SAL_CALL getSourceRangeRepresentation () override
 
virtual css::uno::Sequence< OUString > SAL_CALL generateLabel (css::chart2::data::LabelOrigin nOrigin) override
 
virtual sal_Int32 SAL_CALL getNumberFormatKeyByIndex (sal_Int32 nIndex) override
 
virtual css::uno::Sequence< double > SAL_CALL getNumericalData () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getTextualData () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &rListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &rListener) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
void setRole (css::chart2::data::DataSequenceRole const &aRole)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Attributes

ScDocumentm_pDocument
 
OUString m_aID
 
std::vector< ValueAndFormatm_aData
 
SfxItemPropertySet m_aPropSet
 
css::chart2::data::DataSequenceRole m_aRole
 
std::vector< css::uno::Reference< css::util::XModifyListener > > m_aValueListeners
 

Detailed Description

Definition at line 81 of file PivotTableDataSequence.hxx.

Constructor & Destructor Documentation

◆ PivotTableDataSequence() [1/2]

sc::PivotTableDataSequence::PivotTableDataSequence ( ScDocument pDocument,
OUString  sID,
std::vector< ValueAndFormat > &&  rData 
)
explicit

Definition at line 42 of file PivotTableDataSequence.cxx.

References ScDocument::AddUnoObject(), m_aData, and m_pDocument.

Referenced by createClone().

◆ ~PivotTableDataSequence()

sc::PivotTableDataSequence::~PivotTableDataSequence ( )
overridevirtual

Definition at line 53 of file PivotTableDataSequence.cxx.

References m_pDocument, and ScDocument::RemoveUnoObject().

◆ PivotTableDataSequence() [2/2]

sc::PivotTableDataSequence::PivotTableDataSequence ( const PivotTableDataSequence )
delete

Member Function Documentation

◆ addModifyListener()

void SAL_CALL sc::PivotTableDataSequence::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Definition at line 179 of file PivotTableDataSequence.cxx.

References m_aValueListeners.

◆ addPropertyChangeListener()

void SAL_CALL sc::PivotTableDataSequence::addPropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 250 of file PivotTableDataSequence.cxx.

◆ addVetoableChangeListener()

void SAL_CALL sc::PivotTableDataSequence::addVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  rListener 
)
overridevirtual

Definition at line 264 of file PivotTableDataSequence.cxx.

◆ createClone()

uno::Reference< util::XCloneable > SAL_CALL sc::PivotTableDataSequence::createClone ( )
overridevirtual

Definition at line 167 of file PivotTableDataSequence.cxx.

References m_aData, m_aID, m_aRole, m_pDocument, and PivotTableDataSequence().

◆ generateLabel()

uno::Sequence< OUString > SAL_CALL sc::PivotTableDataSequence::generateLabel ( css::chart2::data::LabelOrigin  nOrigin)
overridevirtual

Definition at line 140 of file PivotTableDataSequence.cxx.

References aSeq, and m_pDocument.

◆ getData()

uno::Sequence< uno::Any > SAL_CALL sc::PivotTableDataSequence::getData ( )
overridevirtual

Definition at line 69 of file PivotTableDataSequence.cxx.

References aSeq, i, m_aData, m_pDocument, sc::Numeric, and sc::String.

◆ getImplementationName()

virtual OUString SAL_CALL sc::PivotTableDataSequence::getImplementationName ( )
overridevirtual

◆ getNumberFormatKeyByIndex()

sal_Int32 SAL_CALL sc::PivotTableDataSequence::getNumberFormatKeyByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 150 of file PivotTableDataSequence.cxx.

References m_aData, o3tl::make_unsigned(), nIndex, and SAL_WARN.

◆ getNumericalData()

uno::Sequence< double > SAL_CALL sc::PivotTableDataSequence::getNumericalData ( )
overridevirtual

Definition at line 94 of file PivotTableDataSequence.cxx.

References aSeq, i, m_aData, and m_pDocument.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL sc::PivotTableDataSequence::getPropertySetInfo ( )
overridevirtual

Definition at line 202 of file PivotTableDataSequence.cxx.

References SfxItemPropertySet::getPropertyMap(), and m_aPropSet.

◆ getPropertyValue()

uno::Any SAL_CALL sc::PivotTableDataSequence::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual

◆ getSourceRangeRepresentation()

OUString SAL_CALL sc::PivotTableDataSequence::getSourceRangeRepresentation ( )
overridevirtual

Definition at line 133 of file PivotTableDataSequence.cxx.

References m_aID.

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL sc::PivotTableDataSequence::getSupportedServiceNames ( )
overridevirtual

◆ getTextualData()

uno::Sequence< OUString > SAL_CALL sc::PivotTableDataSequence::getTextualData ( )
overridevirtual

Definition at line 114 of file PivotTableDataSequence.cxx.

References aSeq, i, m_aData, m_pDocument, and sc::String.

◆ Notify()

void sc::PivotTableDataSequence::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 61 of file PivotTableDataSequence.cxx.

References SfxHint::GetId(), and m_pDocument.

◆ operator=()

PivotTableDataSequence & sc::PivotTableDataSequence::operator= ( const PivotTableDataSequence )
delete

◆ removeModifyListener()

void SAL_CALL sc::PivotTableDataSequence::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Definition at line 185 of file PivotTableDataSequence.cxx.

References m_aValueListeners, n, and nCount.

◆ removePropertyChangeListener()

void SAL_CALL sc::PivotTableDataSequence::removePropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  rListener 
)
overridevirtual

Definition at line 257 of file PivotTableDataSequence.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL sc::PivotTableDataSequence::removeVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  rListener 
)
overridevirtual

Definition at line 271 of file PivotTableDataSequence.cxx.

◆ setPropertyValue()

void SAL_CALL sc::PivotTableDataSequence::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual

◆ setRole()

void sc::PivotTableDataSequence::setRole ( css::chart2::data::DataSequenceRole const &  aRole)
inline

Definition at line 151 of file PivotTableDataSequence.hxx.

References m_aRole.

◆ supportsService()

virtual sal_Bool SAL_CALL sc::PivotTableDataSequence::supportsService ( const OUString &  rServiceName)
overridevirtual

Member Data Documentation

◆ m_aData

std::vector<ValueAndFormat> sc::PivotTableDataSequence::m_aData
private

◆ m_aID

OUString sc::PivotTableDataSequence::m_aID
private

Definition at line 158 of file PivotTableDataSequence.hxx.

Referenced by createClone(), and getSourceRangeRepresentation().

◆ m_aPropSet

SfxItemPropertySet sc::PivotTableDataSequence::m_aPropSet
private

Definition at line 160 of file PivotTableDataSequence.hxx.

Referenced by getPropertySetInfo().

◆ m_aRole

css::chart2::data::DataSequenceRole sc::PivotTableDataSequence::m_aRole
private

◆ m_aValueListeners

std::vector<css::uno::Reference<css::util::XModifyListener> > sc::PivotTableDataSequence::m_aValueListeners
private

Definition at line 162 of file PivotTableDataSequence.hxx.

Referenced by addModifyListener(), and removeModifyListener().

◆ m_pDocument

ScDocument* sc::PivotTableDataSequence::m_pDocument
private

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