LibreOffice Module chart2 (master) 1
|
#include <ChartDataWrapper.hxx>
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< Chart2ModelContact > | m_spChart2ModelContact |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aEventListenerContainer |
Definition at line 37 of file ChartDataWrapper.hxx.
|
explicit |
Definition at line 367 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_refCount.
chart::wrapper::ChartDataWrapper::ChartDataWrapper | ( | std::shared_ptr< Chart2ModelContact > | spChart2ModelContact, |
const css::uno::Reference< css::chart::XChartData > & | xNewData | ||
) |
|
overridevirtual |
Definition at line 385 of file ChartDataWrapper.cxx.
|
overrideprivatevirtual |
Definition at line 511 of file ChartDataWrapper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aEventListenerContainer, and m_aMutex.
|
overrideprivatevirtual |
Definition at line 545 of file ChartDataWrapper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aEventListenerContainer, and m_aMutex.
|
private |
Definition at line 609 of file ChartDataWrapper.cxx.
References aArguments, aEvent, chart::wrapper::lcl_Operator::apply(), chart::DataSourceHelper::createArguments(), chart::DataSourceHelper::detectRangeSegmentation(), fireChartDataChangeEvent(), m_spChart2ModelContact, m_xDataAccess, chart::wrapper::lcl_Operator::setsCategories(), switchToInternalDataProvider(), chart::YStacked, chart::YStackedPercent, and chart::ZStacked.
Referenced by setAnyColumnDescriptions(), setAnyRowDescriptions(), setColumnDescriptions(), setComplexColumnDescriptions(), setComplexRowDescriptions(), setData(), setDateCategories(), and setRowDescriptions().
|
overrideprivatevirtual |
Definition at line 538 of file ChartDataWrapper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), m_aEventListenerContainer, m_aMutex, and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 560 of file ChartDataWrapper.cxx.
|
private |
Definition at line 564 of file ChartDataWrapper.cxx.
References aEvent, comphelper::OInterfaceContainerHelper4< class ListenerT >::forEach(), comphelper::OInterfaceContainerHelper4< class ListenerT >::getLength(), m_aEventListenerContainer, and m_aMutex.
Referenced by applyData().
|
overrideprivatevirtual |
Definition at line 441 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 434 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 409 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 425 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 418 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 395 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overrideprivatevirtual |
Definition at line 450 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overridevirtual |
XServiceInfo declarations.
Definition at line 683 of file ChartDataWrapper.cxx.
|
overrideprivatevirtual |
Definition at line 525 of file ChartDataWrapper.cxx.
|
overrideprivatevirtual |
Definition at line 402 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_xDataAccess.
|
overridevirtual |
Definition at line 693 of file ChartDataWrapper.cxx.
|
private |
Definition at line 593 of file ChartDataWrapper.cxx.
References chart::ChartModelHelper::createInternalDataProvider(), m_spChart2ModelContact, and m_xDataAccess.
Referenced by ChartDataWrapper(), getAnyColumnDescriptions(), getAnyRowDescriptions(), getColumnDescriptions(), getComplexColumnDescriptions(), getComplexRowDescriptions(), getData(), getDateCategories(), getRowDescriptions(), and switchToInternalDataProvider().
|
overrideprivatevirtual |
Definition at line 530 of file ChartDataWrapper.cxx.
|
overrideprivatevirtual |
Definition at line 518 of file ChartDataWrapper.cxx.
References m_aEventListenerContainer, m_aMutex, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overrideprivatevirtual |
Definition at line 552 of file ChartDataWrapper.cxx.
References m_aEventListenerContainer, m_aMutex, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overrideprivatevirtual |
Definition at line 494 of file ChartDataWrapper.cxx.
References applyData().
|
overrideprivatevirtual |
Definition at line 489 of file ChartDataWrapper.cxx.
References applyData().
|
overrideprivatevirtual |
Definition at line 470 of file ChartDataWrapper.cxx.
References applyData(), and m_spChart2ModelContact.
|
overrideprivatevirtual |
Definition at line 482 of file ChartDataWrapper.cxx.
References applyData(), and m_spChart2ModelContact.
|
overrideprivatevirtual |
Definition at line 477 of file ChartDataWrapper.cxx.
References applyData(), and m_spChart2ModelContact.
|
overrideprivatevirtual |
Definition at line 460 of file ChartDataWrapper.cxx.
References applyData().
|
overrideprivatevirtual |
Definition at line 501 of file ChartDataWrapper.cxx.
References applyData(), m_spChart2ModelContact, and chart::DiagramHelper::switchToDateCategories().
|
overrideprivatevirtual |
Definition at line 465 of file ChartDataWrapper.cxx.
References applyData(), and m_spChart2ModelContact.
|
overridevirtual |
Definition at line 688 of file ChartDataWrapper.cxx.
References cppu::supportsService().
|
private |
Definition at line 584 of file ChartDataWrapper.cxx.
References initDataAccess(), and m_spChart2ModelContact.
Referenced by applyData().
|
private |
Definition at line 112 of file ChartDataWrapper.hxx.
Referenced by addChartDataChangeEventListener(), addEventListener(), dispose(), fireChartDataChangeEvent(), removeChartDataChangeEventListener(), and removeEventListener().
|
private |
Definition at line 109 of file ChartDataWrapper.hxx.
Referenced by addChartDataChangeEventListener(), addEventListener(), dispose(), fireChartDataChangeEvent(), removeChartDataChangeEventListener(), and removeEventListener().
|
private |
Definition at line 111 of file ChartDataWrapper.hxx.
Referenced by applyData(), initDataAccess(), setColumnDescriptions(), setComplexColumnDescriptions(), setComplexRowDescriptions(), setDateCategories(), setRowDescriptions(), and switchToInternalDataProvider().
|
private |
Definition at line 110 of file ChartDataWrapper.hxx.
Referenced by applyData(), dispose(), getAnyColumnDescriptions(), getAnyRowDescriptions(), getColumnDescriptions(), getComplexColumnDescriptions(), getComplexRowDescriptions(), getData(), getDateCategories(), getRowDescriptions(), and initDataAccess().