LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::wrapper::ChartDataWrapper Class Referencefinal

#include <ChartDataWrapper.hxx>

Inheritance diagram for chart::wrapper::ChartDataWrapper:
[legend]
Collaboration diagram for chart::wrapper::ChartDataWrapper:
[legend]

Public Member Functions

 ChartDataWrapper (std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
 ChartDataWrapper (std::shared_ptr< Chart2ModelContact > spChart2ModelContact, const css::uno::Reference< css::chart::XChartData > &xNewData)
 
virtual ~ChartDataWrapper () override
 
virtual OUString SAL_CALL getImplementationName () override
 XServiceInfo declarations. More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

virtual css::uno::Sequence< double > SAL_CALL getDateCategories () override
 
virtual void SAL_CALL setDateCategories (const css::uno::Sequence< double > &rDates) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getAnyRowDescriptions () override
 
virtual void SAL_CALL setAnyRowDescriptions (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aRowDescriptions) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getAnyColumnDescriptions () override
 
virtual void SAL_CALL setAnyColumnDescriptions (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aColumnDescriptions) override
 
virtual css::uno::Sequence< css::uno::Sequence< OUString > > SAL_CALL getComplexRowDescriptions () override
 
virtual void SAL_CALL setComplexRowDescriptions (const css::uno::Sequence< css::uno::Sequence< OUString > > &aRowDescriptions) override
 
virtual css::uno::Sequence< css::uno::Sequence< OUString > > SAL_CALL getComplexColumnDescriptions () override
 
virtual void SAL_CALL setComplexColumnDescriptions (const css::uno::Sequence< css::uno::Sequence< OUString > > &aColumnDescriptions) override
 
virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL getData () override
 
virtual void SAL_CALL setData (const css::uno::Sequence< css::uno::Sequence< double > > &aData) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getRowDescriptions () override
 
virtual void SAL_CALL setRowDescriptions (const css::uno::Sequence< OUString > &aRowDescriptions) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getColumnDescriptions () override
 
virtual void SAL_CALL setColumnDescriptions (const css::uno::Sequence< OUString > &aColumnDescriptions) override
 
virtual void SAL_CALL addChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
 
virtual void SAL_CALL removeChartDataChangeEventListener (const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
 
virtual double SAL_CALL getNotANumber () override
 
virtual sal_Bool SAL_CALL isNotANumber (double nNumber) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void fireChartDataChangeEvent (css::chart::ChartDataChangeEvent &aEvent)
 
void switchToInternalDataProvider ()
 
void initDataAccess ()
 
void applyData (lcl_Operator &rDataOperator)
 

Private Attributes

std::mutex m_aMutex
 
css::uno::Reference< css::chart2::XAnyDescriptionAccess > m_xDataAccess
 
std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
 

Detailed Description

Definition at line 37 of file ChartDataWrapper.hxx.

Constructor & Destructor Documentation

◆ ChartDataWrapper() [1/2]

chart::wrapper::ChartDataWrapper::ChartDataWrapper ( std::shared_ptr< Chart2ModelContact spChart2ModelContact)
explicit

Definition at line 367 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_refCount.

◆ ChartDataWrapper() [2/2]

chart::wrapper::ChartDataWrapper::ChartDataWrapper ( std::shared_ptr< Chart2ModelContact spChart2ModelContact,
const css::uno::Reference< css::chart::XChartData > &  xNewData 
)

◆ ~ChartDataWrapper()

chart::wrapper::ChartDataWrapper::~ChartDataWrapper ( )
overridevirtual

Definition at line 385 of file ChartDataWrapper.cxx.

Member Function Documentation

◆ addChartDataChangeEventListener()

void SAL_CALL chart::wrapper::ChartDataWrapper::addChartDataChangeEventListener ( const css::uno::Reference< css::chart::XChartDataChangeEventListener > &  aListener)
overrideprivatevirtual

◆ addEventListener()

void SAL_CALL chart::wrapper::ChartDataWrapper::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overrideprivatevirtual

◆ applyData()

void chart::wrapper::ChartDataWrapper::applyData ( lcl_Operator rDataOperator)
private

◆ dispose()

void SAL_CALL chart::wrapper::ChartDataWrapper::dispose ( void  )
overrideprivatevirtual

◆ disposing()

void SAL_CALL chart::wrapper::ChartDataWrapper::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual

Definition at line 560 of file ChartDataWrapper.cxx.

◆ fireChartDataChangeEvent()

void chart::wrapper::ChartDataWrapper::fireChartDataChangeEvent ( css::chart::ChartDataChangeEvent &  aEvent)
private

◆ getAnyColumnDescriptions()

Sequence< Sequence< uno::Any > > SAL_CALL chart::wrapper::ChartDataWrapper::getAnyColumnDescriptions ( )
overrideprivatevirtual

Definition at line 441 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getAnyRowDescriptions()

Sequence< Sequence< uno::Any > > SAL_CALL chart::wrapper::ChartDataWrapper::getAnyRowDescriptions ( )
overrideprivatevirtual

Definition at line 434 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getColumnDescriptions()

Sequence< OUString > SAL_CALL chart::wrapper::ChartDataWrapper::getColumnDescriptions ( )
overrideprivatevirtual

Definition at line 409 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getComplexColumnDescriptions()

Sequence< Sequence< OUString > > SAL_CALL chart::wrapper::ChartDataWrapper::getComplexColumnDescriptions ( )
overrideprivatevirtual

Definition at line 425 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getComplexRowDescriptions()

Sequence< Sequence< OUString > > SAL_CALL chart::wrapper::ChartDataWrapper::getComplexRowDescriptions ( )
overrideprivatevirtual

Definition at line 418 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getData()

Sequence< Sequence< double > > SAL_CALL chart::wrapper::ChartDataWrapper::getData ( )
overrideprivatevirtual

Definition at line 395 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getDateCategories()

Sequence< double > SAL_CALL chart::wrapper::ChartDataWrapper::getDateCategories ( )
overrideprivatevirtual

Definition at line 450 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getImplementationName()

OUString SAL_CALL chart::wrapper::ChartDataWrapper::getImplementationName ( )
overridevirtual

XServiceInfo declarations.

Definition at line 683 of file ChartDataWrapper.cxx.

◆ getNotANumber()

double SAL_CALL chart::wrapper::ChartDataWrapper::getNotANumber ( )
overrideprivatevirtual

Definition at line 525 of file ChartDataWrapper.cxx.

◆ getRowDescriptions()

Sequence< OUString > SAL_CALL chart::wrapper::ChartDataWrapper::getRowDescriptions ( )
overrideprivatevirtual

Definition at line 402 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_xDataAccess.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL chart::wrapper::ChartDataWrapper::getSupportedServiceNames ( )
overridevirtual

Definition at line 693 of file ChartDataWrapper.cxx.

◆ initDataAccess()

void chart::wrapper::ChartDataWrapper::initDataAccess ( )
private

◆ isNotANumber()

sal_Bool SAL_CALL chart::wrapper::ChartDataWrapper::isNotANumber ( double  nNumber)
overrideprivatevirtual

Definition at line 530 of file ChartDataWrapper.cxx.

◆ removeChartDataChangeEventListener()

void SAL_CALL chart::wrapper::ChartDataWrapper::removeChartDataChangeEventListener ( const css::uno::Reference< css::chart::XChartDataChangeEventListener > &  aListener)
overrideprivatevirtual

◆ removeEventListener()

void SAL_CALL chart::wrapper::ChartDataWrapper::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overrideprivatevirtual

◆ setAnyColumnDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setAnyColumnDescriptions ( const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  aColumnDescriptions)
overrideprivatevirtual

Definition at line 494 of file ChartDataWrapper.cxx.

References applyData().

◆ setAnyRowDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setAnyRowDescriptions ( const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  aRowDescriptions)
overrideprivatevirtual

Definition at line 489 of file ChartDataWrapper.cxx.

References applyData().

◆ setColumnDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setColumnDescriptions ( const css::uno::Sequence< OUString > &  aColumnDescriptions)
overrideprivatevirtual

Definition at line 470 of file ChartDataWrapper.cxx.

References applyData(), and m_spChart2ModelContact.

◆ setComplexColumnDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setComplexColumnDescriptions ( const css::uno::Sequence< css::uno::Sequence< OUString > > &  aColumnDescriptions)
overrideprivatevirtual

Definition at line 482 of file ChartDataWrapper.cxx.

References applyData(), and m_spChart2ModelContact.

◆ setComplexRowDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setComplexRowDescriptions ( const css::uno::Sequence< css::uno::Sequence< OUString > > &  aRowDescriptions)
overrideprivatevirtual

Definition at line 477 of file ChartDataWrapper.cxx.

References applyData(), and m_spChart2ModelContact.

◆ setData()

void SAL_CALL chart::wrapper::ChartDataWrapper::setData ( const css::uno::Sequence< css::uno::Sequence< double > > &  aData)
overrideprivatevirtual

Definition at line 460 of file ChartDataWrapper.cxx.

References applyData().

◆ setDateCategories()

void SAL_CALL chart::wrapper::ChartDataWrapper::setDateCategories ( const css::uno::Sequence< double > &  rDates)
overrideprivatevirtual

◆ setRowDescriptions()

void SAL_CALL chart::wrapper::ChartDataWrapper::setRowDescriptions ( const css::uno::Sequence< OUString > &  aRowDescriptions)
overrideprivatevirtual

Definition at line 465 of file ChartDataWrapper.cxx.

References applyData(), and m_spChart2ModelContact.

◆ supportsService()

sal_Bool SAL_CALL chart::wrapper::ChartDataWrapper::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 688 of file ChartDataWrapper.cxx.

References cppu::supportsService().

◆ switchToInternalDataProvider()

void chart::wrapper::ChartDataWrapper::switchToInternalDataProvider ( )
private

Definition at line 584 of file ChartDataWrapper.cxx.

References initDataAccess(), and m_spChart2ModelContact.

Referenced by applyData().

Member Data Documentation

◆ m_aEventListenerContainer

::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> chart::wrapper::ChartDataWrapper::m_aEventListenerContainer
private

◆ m_aMutex

std::mutex chart::wrapper::ChartDataWrapper::m_aMutex
private

◆ m_spChart2ModelContact

std::shared_ptr< Chart2ModelContact > chart::wrapper::ChartDataWrapper::m_spChart2ModelContact
private

◆ m_xDataAccess

css::uno::Reference< css::chart2::XAnyDescriptionAccess > chart::wrapper::ChartDataWrapper::m_xDataAccess
private

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