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

#include <DataSeriesPointWrapper.hxx>

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

Public Types

enum  eType {
  DATA_SERIES ,
  DATA_POINT
}
 

Public Member Functions

 DataSeriesPointWrapper (std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
 DataSeriesPointWrapper (eType eType, sal_Int32 nSeriesIndexInNewAPI, sal_Int32 nPointIndex, std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~DataSeriesPointWrapper () override
 
bool isSupportingAreaProperties ()
 
bool isLinesForbidden () const
 
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
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void updateReferenceSize () override
 
virtual css::uno::Any getReferenceSize () override
 
virtual css::awt::Size getCurrentSizeForReference () override
 
virtual void updateReferenceSize ()=0
 
virtual css::uno::Any getReferenceSize ()=0
 
virtual css::awt::Size getCurrentSizeForReference ()=0
 

Private Member Functions

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
 
virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence () override
 
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual css::uno::Reference< css::beans::XPropertySetgetInnerPropertySet () override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
rtl::Reference< ::chart::DataSeriesgetDataSeries ()
 
css::uno::Reference< css::beans::XPropertySetgetDataPointProperties ()
 

Private Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
 
eType m_eType
 
sal_Int32 m_nSeriesIndexInNewAPI
 
sal_Int32 m_nPointIndex
 
bool m_bLinesAllowed
 
rtl::Reference< ::chart::DataSeriesm_xDataSeries
 

Additional Inherited Members

- Protected Member Functions inherited from chart::wrapper::ReferenceSizePropertyProvider
 ~ReferenceSizePropertyProvider ()
 

Detailed Description

Definition at line 40 of file DataSeriesPointWrapper.hxx.

Member Enumeration Documentation

◆ eType

Enumerator
DATA_SERIES 
DATA_POINT 

Definition at line 51 of file DataSeriesPointWrapper.hxx.

Constructor & Destructor Documentation

◆ DataSeriesPointWrapper() [1/2]

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

Definition at line 449 of file DataSeriesPointWrapper.cxx.

◆ DataSeriesPointWrapper() [2/2]

chart::wrapper::DataSeriesPointWrapper::DataSeriesPointWrapper ( eType  eType,
sal_Int32  nSeriesIndexInNewAPI,
sal_Int32  nPointIndex,
std::shared_ptr< Chart2ModelContact spChart2ModelContact 
)

Definition at line 488 of file DataSeriesPointWrapper.cxx.

◆ ~DataSeriesPointWrapper()

chart::wrapper::DataSeriesPointWrapper::~DataSeriesPointWrapper ( )
overridevirtual

Definition at line 500 of file DataSeriesPointWrapper.cxx.

Member Function Documentation

◆ addEventListener()

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

◆ createWrappedProperties()

std::vector< std::unique_ptr< WrappedProperty > > chart::wrapper::DataSeriesPointWrapper::createWrappedProperties ( )
overrideprivatevirtual

◆ dispose()

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

◆ disposing()

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

Definition at line 530 of file DataSeriesPointWrapper.cxx.

◆ getCurrentSizeForReference()

awt::Size chart::wrapper::DataSeriesPointWrapper::getCurrentSizeForReference ( )
overridevirtual

◆ getDataPointProperties()

Reference< beans::XPropertySet > chart::wrapper::DataSeriesPointWrapper::getDataPointProperties ( )
private

Definition at line 560 of file DataSeriesPointWrapper.cxx.

References getDataSeries(), and m_nPointIndex.

Referenced by getInnerPropertySet(), and getPropertyValue().

◆ getDataSeries()

rtl::Reference< DataSeries > chart::wrapper::DataSeriesPointWrapper::getDataSeries ( )
private

◆ getImplementationName()

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

XServiceInfo declarations.

Definition at line 865 of file DataSeriesPointWrapper.cxx.

◆ getInnerPropertySet()

Reference< beans::XPropertySet > chart::wrapper::DataSeriesPointWrapper::getInnerPropertySet ( )
overrideprivatevirtual

◆ getPropertyDefault()

Any SAL_CALL chart::wrapper::DataSeriesPointWrapper::getPropertyDefault ( const OUString &  aPropertyName)
overrideprivatevirtual

◆ getPropertySequence()

const Sequence< beans::Property > & chart::wrapper::DataSeriesPointWrapper::getPropertySequence ( )
overrideprivatevirtual

Definition at line 709 of file DataSeriesPointWrapper.cxx.

References DATA_SERIES, and m_eType.

◆ getPropertyState()

beans::PropertyState SAL_CALL chart::wrapper::DataSeriesPointWrapper::getPropertyState ( const OUString &  PropertyName)
overrideprivatevirtual

◆ getPropertyValue()

Any SAL_CALL chart::wrapper::DataSeriesPointWrapper::getPropertyValue ( const OUString &  PropertyName)
overrideprivatevirtual

◆ getReferenceSize()

Any chart::wrapper::DataSeriesPointWrapper::getReferenceSize ( )
overridevirtual

◆ getSupportedServiceNames()

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

Definition at line 875 of file DataSeriesPointWrapper.cxx.

◆ initialize()

void SAL_CALL chart::wrapper::DataSeriesPointWrapper::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

◆ isLinesForbidden()

bool chart::wrapper::DataSeriesPointWrapper::isLinesForbidden ( ) const
inline

Definition at line 68 of file DataSeriesPointWrapper.hxx.

References m_bLinesAllowed.

◆ isSupportingAreaProperties()

bool chart::wrapper::DataSeriesPointWrapper::isSupportingAreaProperties ( )

◆ removeEventListener()

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

◆ setPropertyToDefault()

void SAL_CALL chart::wrapper::DataSeriesPointWrapper::setPropertyToDefault ( const OUString &  PropertyName)
overrideprivatevirtual

◆ setPropertyValue()

void SAL_CALL chart::wrapper::DataSeriesPointWrapper::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overrideprivatevirtual

◆ supportsService()

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

Definition at line 870 of file DataSeriesPointWrapper.cxx.

References cppu::supportsService().

◆ updateReferenceSize()

void chart::wrapper::DataSeriesPointWrapper::updateReferenceSize ( )
overridevirtual

Member Data Documentation

◆ m_aEventListenerContainer

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

Definition at line 108 of file DataSeriesPointWrapper.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ m_bLinesAllowed

bool chart::wrapper::DataSeriesPointWrapper::m_bLinesAllowed
private

Definition at line 114 of file DataSeriesPointWrapper.hxx.

Referenced by isLinesForbidden(), and setPropertyValue().

◆ m_eType

eType chart::wrapper::DataSeriesPointWrapper::m_eType
private

◆ m_nPointIndex

sal_Int32 chart::wrapper::DataSeriesPointWrapper::m_nPointIndex
private

◆ m_nSeriesIndexInNewAPI

sal_Int32 chart::wrapper::DataSeriesPointWrapper::m_nSeriesIndexInNewAPI
private

Definition at line 111 of file DataSeriesPointWrapper.hxx.

Referenced by getDataSeries(), and initialize().

◆ m_spChart2ModelContact

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

◆ m_xDataSeries

rtl::Reference< ::chart::DataSeries > chart::wrapper::DataSeriesPointWrapper::m_xDataSeries
private

Definition at line 119 of file DataSeriesPointWrapper.hxx.

Referenced by dispose(), getDataSeries(), and initialize().


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