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

#include <LegendWrapper.hxx>

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

Public Member Functions

 LegendWrapper (std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~LegendWrapper () 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
 
virtual void updateReferenceSize () override
 
virtual css::uno::Any getReferenceSize () override
 
virtual css::awt::Size getCurrentSizeForReference () override
 
virtual css::awt::Point SAL_CALL getPosition () override
 
virtual void SAL_CALL setPosition (const css::awt::Point &aPosition) override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual void SAL_CALL setSize (const css::awt::Size &aSize) override
 
virtual OUString SAL_CALL getShapeType () 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 updateReferenceSize ()=0
 
virtual css::uno::Any getReferenceSize ()=0
 
virtual css::awt::Size getCurrentSizeForReference ()=0
 

Protected Member Functions

virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence () override
 
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties () override
 
virtual css::uno::Reference< css::beans::XPropertySetgetInnerPropertySet () override
 
- Protected Member Functions inherited from chart::wrapper::ReferenceSizePropertyProvider
 ~ReferenceSizePropertyProvider ()
 

Private Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
 

Detailed Description

Definition at line 36 of file LegendWrapper.hxx.

Constructor & Destructor Documentation

◆ LegendWrapper()

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

Definition at line 253 of file LegendWrapper.cxx.

◆ ~LegendWrapper()

chart::wrapper::LegendWrapper::~LegendWrapper ( )
overridevirtual

Definition at line 258 of file LegendWrapper.cxx.

Member Function Documentation

◆ addEventListener()

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

◆ createWrappedProperties()

std::vector< std::unique_ptr< WrappedProperty > > chart::wrapper::LegendWrapper::createWrappedProperties ( )
overrideprotectedvirtual

◆ dispose()

void SAL_CALL chart::wrapper::LegendWrapper::dispose ( void  )
overridevirtual

◆ getCurrentSizeForReference()

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

◆ getImplementationName()

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

XServiceInfo declarations.

Definition at line 391 of file LegendWrapper.cxx.

◆ getInnerPropertySet()

Reference< beans::XPropertySet > chart::wrapper::LegendWrapper::getInnerPropertySet ( )
overrideprotectedvirtual

Definition at line 360 of file LegendWrapper.cxx.

References m_spChart2ModelContact.

Referenced by getReferenceSize(), setPosition(), setSize(), and updateReferenceSize().

◆ getPosition()

awt::Point SAL_CALL chart::wrapper::LegendWrapper::getPosition ( )
overridevirtual

Definition at line 263 of file LegendWrapper.cxx.

References m_spChart2ModelContact.

Referenced by setSize().

◆ getPropertySequence()

const Sequence< beans::Property > & chart::wrapper::LegendWrapper::getPropertySequence ( )
overrideprotectedvirtual

Definition at line 370 of file LegendWrapper.cxx.

◆ getReferenceSize()

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

Implements chart::wrapper::ReferenceSizePropertyProvider.

Definition at line 345 of file LegendWrapper.cxx.

References Any, and getInnerPropertySet().

◆ getShapeType()

OUString SAL_CALL chart::wrapper::LegendWrapper::getShapeType ( )
overridevirtual

Definition at line 305 of file LegendWrapper.cxx.

◆ getSize()

awt::Size SAL_CALL chart::wrapper::LegendWrapper::getSize ( )
overridevirtual

Definition at line 283 of file LegendWrapper.cxx.

References m_spChart2ModelContact.

◆ getSupportedServiceNames()

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

Definition at line 401 of file LegendWrapper.cxx.

◆ removeEventListener()

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

◆ setPosition()

void SAL_CALL chart::wrapper::LegendWrapper::setPosition ( const css::awt::Point &  aPosition)
overridevirtual

Definition at line 268 of file LegendWrapper.cxx.

References getInnerPropertySet(), and m_spChart2ModelContact.

◆ setSize()

void SAL_CALL chart::wrapper::LegendWrapper::setSize ( const css::awt::Size &  aSize)
overridevirtual

◆ supportsService()

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

Definition at line 396 of file LegendWrapper.cxx.

References cppu::supportsService().

◆ updateReferenceSize()

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

Member Data Documentation

◆ m_aEventListenerContainer

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

Definition at line 82 of file LegendWrapper.hxx.

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

◆ m_spChart2ModelContact

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

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