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

#include <chart2uno.hxx>

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

Public Member Functions

 ScChart2DataSource (ScDocument *pDoc)
 
virtual ~ScChart2DataSource () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > SAL_CALL getDataSequences () 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 AddLabeledSequence (const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &xNew)
 
- 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
 
std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > m_aLabeledSequences
 

Detailed Description

Definition at line 153 of file chart2uno.hxx.

Constructor & Destructor Documentation

◆ ScChart2DataSource()

ScChart2DataSource::ScChart2DataSource ( ScDocument pDoc)
explicit

Definition at line 2359 of file chart2uno.cxx.

References ScDocument::AddUnoObject(), and m_pDocument.

◆ ~ScChart2DataSource()

ScChart2DataSource::~ScChart2DataSource ( )
overridevirtual

Definition at line 2366 of file chart2uno.cxx.

References m_pDocument, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ AddLabeledSequence()

void ScChart2DataSource::AddLabeledSequence ( const css::uno::Reference< css::chart2::data::XLabeledDataSequence > &  xNew)

Definition at line 2389 of file chart2uno.cxx.

References m_aLabeledSequences.

◆ getDataSequences()

uno::Sequence< uno::Reference< chart2::data::XLabeledDataSequence > > SAL_CALL ScChart2DataSource::getDataSequences ( )
overridevirtual

Definition at line 2383 of file chart2uno.cxx.

References comphelper::containerToSequence(), and m_aLabeledSequences.

◆ getImplementationName()

virtual OUString SAL_CALL ScChart2DataSource::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 2374 of file chart2uno.cxx.

References SfxHint::GetId(), and m_pDocument.

◆ supportsService()

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

Member Data Documentation

◆ m_aLabeledSequences

std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > ScChart2DataSource::m_aLabeledSequences
private

Definition at line 186 of file chart2uno.hxx.

Referenced by AddLabeledSequence(), and getDataSequences().

◆ m_pDocument

ScDocument* ScChart2DataSource::m_pDocument
private

Definition at line 185 of file chart2uno.hxx.

Referenced by Notify(), ScChart2DataSource(), and ~ScChart2DataSource().


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