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 const &sID, std::vector< ValueAndFormat > const &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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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 82 of file PivotTableDataSequence.hxx.

Constructor & Destructor Documentation

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

Definition at line 42 of file PivotTableDataSequence.cxx.

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

Referenced by createClone().

sc::PivotTableDataSequence::~PivotTableDataSequence ( )
overridevirtual

Definition at line 53 of file PivotTableDataSequence.cxx.

References m_pDocument, and ScDocument::RemoveUnoObject().

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

Member Function Documentation

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.

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.

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.

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

Definition at line 164 of file PivotTableDataSequence.cxx.

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

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

Definition at line 137 of file PivotTableDataSequence.cxx.

References aSeq, and m_pDocument.

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.

virtual OUString SAL_CALL sc::PivotTableDataSequence::getImplementationName ( )
overridevirtual
sal_Int32 SAL_CALL sc::PivotTableDataSequence::getNumberFormatKeyByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 147 of file PivotTableDataSequence.cxx.

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

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

Definition at line 93 of file PivotTableDataSequence.cxx.

References aSeq, i, m_aData, and m_pDocument.

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

Definition at line 202 of file PivotTableDataSequence.cxx.

References SfxItemPropertySet::getPropertyMap(), and m_aPropSet.

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

Definition at line 130 of file PivotTableDataSequence.cxx.

References m_aID.

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

Definition at line 112 of file PivotTableDataSequence.cxx.

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

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.

PivotTableDataSequence& sc::PivotTableDataSequence::operator= ( const PivotTableDataSequence )
delete
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.

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.

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.

void SAL_CALL sc::PivotTableDataSequence::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual
void sc::PivotTableDataSequence::setRole ( css::chart2::data::DataSequenceRole const &  aRole)
inline

Definition at line 152 of file PivotTableDataSequence.hxx.

References m_aRole.

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

Member Data Documentation

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

Definition at line 159 of file PivotTableDataSequence.hxx.

Referenced by createClone(), and getSourceRangeRepresentation().

SfxItemPropertySet sc::PivotTableDataSequence::m_aPropSet
private

Definition at line 161 of file PivotTableDataSequence.hxx.

Referenced by getPropertySetInfo().

css::chart2::data::DataSequenceRole sc::PivotTableDataSequence::m_aRole
private
std::vector<css::uno::Reference<css::util::XModifyListener> > sc::PivotTableDataSequence::m_aValueListeners
private

Definition at line 163 of file PivotTableDataSequence.hxx.

Referenced by addModifyListener(), and removeModifyListener().

ScDocument* sc::PivotTableDataSequence::m_pDocument
private

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