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

#include <AxisWrapper.hxx>

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

Public Types

enum  tAxisType {
  X_AXIS ,
  Y_AXIS ,
  Z_AXIS ,
  SECOND_X_AXIS ,
  SECOND_Y_AXIS
}
 

Public Member Functions

 AxisWrapper (tAxisType eType, std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~AxisWrapper () 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 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 css::uno::Reference< css::beans::XPropertySet > SAL_CALL getAxisTitle () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getMajorGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getMinorGrid () 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 css::uno::Reference< css::beans::XPropertySet > SAL_CALL getNumberFormatSettings () override
 
virtual css::uno::Reference< css::util::XNumberFormats > SAL_CALL getNumberFormats () override
 
virtual void updateReferenceSize ()=0
 
virtual css::uno::Any getReferenceSize ()=0
 
virtual css::awt::Size getCurrentSizeForReference ()=0
 

Static Public Member Functions

static void getDimensionAndMainAxisBool (tAxisType eType, sal_Int32 &rnDimensionIndex, bool &rbMainAxis)
 

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 Member Functions

css::uno::Reference< css::chart2::XAxis > getAxis ()
 

Private Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
 
tAxisType m_eType
 
css::uno::Reference< css::beans::XPropertySetm_xAxisTitle
 
css::uno::Reference< css::beans::XPropertySetm_xMajorGrid
 
css::uno::Reference< css::beans::XPropertySetm_xMinorGrid
 

Detailed Description

Definition at line 39 of file AxisWrapper.hxx.

Member Enumeration Documentation

◆ tAxisType

Enumerator
X_AXIS 
Y_AXIS 
Z_AXIS 
SECOND_X_AXIS 
SECOND_Y_AXIS 

Definition at line 50 of file AxisWrapper.hxx.

Constructor & Destructor Documentation

◆ AxisWrapper()

chart::wrapper::AxisWrapper::AxisWrapper ( tAxisType  eType,
std::shared_ptr< Chart2ModelContact spChart2ModelContact 
)

Definition at line 362 of file AxisWrapper.cxx.

References eType.

◆ ~AxisWrapper()

chart::wrapper::AxisWrapper::~AxisWrapper ( )
overridevirtual

Definition at line 369 of file AxisWrapper.cxx.

Member Function Documentation

◆ addEventListener()

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

◆ createWrappedProperties()

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

◆ dispose()

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

◆ getAxis()

Reference< chart2::XAxis > chart::wrapper::AxisWrapper::getAxis ( )
private

◆ getAxisTitle()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::AxisWrapper::getAxisTitle ( )
overridevirtual

◆ getCurrentSizeForReference()

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

Implements chart::wrapper::ReferenceSizePropertyProvider.

Definition at line 562 of file AxisWrapper.cxx.

References m_spChart2ModelContact.

◆ getDimensionAndMainAxisBool()

void chart::wrapper::AxisWrapper::getDimensionAndMainAxisBool ( tAxisType  eType,
sal_Int32 &  rnDimensionIndex,
bool &  rbMainAxis 
)
static

Definition at line 498 of file AxisWrapper.cxx.

References eType, SECOND_X_AXIS, SECOND_Y_AXIS, X_AXIS, Y_AXIS, and Z_AXIS.

Referenced by createWrappedProperties(), and getAxis().

◆ getImplementationName()

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

XServiceInfo declarations.

Definition at line 644 of file AxisWrapper.cxx.

◆ getInnerPropertySet()

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

Definition at line 593 of file AxisWrapper.cxx.

References getAxis().

◆ getMajorGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::AxisWrapper::getMajorGrid ( )
overridevirtual

◆ getMinorGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::AxisWrapper::getMinorGrid ( )
overridevirtual

◆ getNumberFormats()

uno::Reference< util::XNumberFormats > SAL_CALL chart::wrapper::AxisWrapper::getNumberFormats ( )
overridevirtual

Definition at line 489 of file AxisWrapper.cxx.

References m_spChart2ModelContact.

◆ getNumberFormatSettings()

uno::Reference< beans::XPropertySet > SAL_CALL chart::wrapper::AxisWrapper::getNumberFormatSettings ( )
overridevirtual

Definition at line 480 of file AxisWrapper.cxx.

References m_spChart2ModelContact.

◆ getPosition()

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

Definition at line 451 of file AxisWrapper.cxx.

References getAxis(), and m_spChart2ModelContact.

◆ getPropertySequence()

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

Definition at line 598 of file AxisWrapper.cxx.

◆ getReferenceSize()

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

Implements chart::wrapper::ReferenceSizePropertyProvider.

Definition at line 554 of file AxisWrapper.cxx.

References Any, and getAxis().

◆ getShapeType()

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

Definition at line 474 of file AxisWrapper.cxx.

◆ getSize()

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

Definition at line 462 of file AxisWrapper.cxx.

References getAxis(), and m_spChart2ModelContact.

◆ getSupportedServiceNames()

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

Definition at line 654 of file AxisWrapper.cxx.

◆ removeEventListener()

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

◆ setPosition()

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

Definition at line 457 of file AxisWrapper.cxx.

◆ setSize()

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

Definition at line 468 of file AxisWrapper.cxx.

◆ supportsService()

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

Definition at line 649 of file AxisWrapper.cxx.

References cppu::supportsService().

◆ updateReferenceSize()

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

Implements chart::wrapper::ReferenceSizePropertyProvider.

Definition at line 544 of file AxisWrapper.cxx.

References getAxis(), and m_spChart2ModelContact.

Member Data Documentation

◆ m_aEventListenerContainer

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

Definition at line 112 of file AxisWrapper.hxx.

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

◆ m_eType

tAxisType chart::wrapper::AxisWrapper::m_eType
private

◆ m_spChart2ModelContact

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

◆ m_xAxisTitle

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::AxisWrapper::m_xAxisTitle
private

Definition at line 116 of file AxisWrapper.hxx.

Referenced by dispose(), and getAxisTitle().

◆ m_xMajorGrid

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::AxisWrapper::m_xMajorGrid
private

Definition at line 117 of file AxisWrapper.hxx.

Referenced by dispose(), and getMajorGrid().

◆ m_xMinorGrid

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::AxisWrapper::m_xMinorGrid
private

Definition at line 118 of file AxisWrapper.hxx.

Referenced by dispose(), and getMinorGrid().


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