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

#include <DiagramWrapper.hxx>

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

Public Member Functions

 DiagramWrapper (std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~DiagramWrapper () 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 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 OUString SAL_CALL getDiagramType () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getDataRowProperties (sal_Int32 nRow) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getDataPointProperties (sal_Int32 nCol, sal_Int32 nRow) 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::chart::XAxis > SAL_CALL getAxis (sal_Int32 nDimensionIndex) override
 
virtual css::uno::Reference< css::chart::XAxis > SAL_CALL getSecondaryAxis (sal_Int32 nDimensionIndex) override
 
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getZAxisTitle () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getZMainGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getZHelpGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getZAxis () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getSecondaryXAxis () override
 
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getXAxisTitle () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getXAxis () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getXMainGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getXHelpGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getSecondaryYAxis () override
 
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getYAxisTitle () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getYAxis () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getYHelpGrid () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getYMainGrid () override
 
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getSecondXAxisTitle () override
 
virtual css::uno::Reference< css::drawing::XShape > SAL_CALL getSecondYAxisTitle () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getUpBar () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getDownBar () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getMinMaxLine () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getWall () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getFloor () override
 
virtual void SAL_CALL set3DSettingsToDefault () override
 
virtual void SAL_CALL setDefaultRotation () override
 
virtual void SAL_CALL setDefaultIllumination () override
 
virtual void SAL_CALL setAutomaticDiagramPositioning () override
 
virtual sal_Bool SAL_CALL isAutomaticDiagramPositioning () override
 
virtual void SAL_CALL setDiagramPositionExcludingAxes (const css::awt::Rectangle &PositionRect) override
 
virtual sal_Bool SAL_CALL isExcludingDiagramPositioning () override
 
virtual css::awt::Rectangle SAL_CALL calculateDiagramPositionExcludingAxes () override
 
virtual void SAL_CALL setDiagramPositionIncludingAxes (const css::awt::Rectangle &PositionRect) override
 
virtual css::awt::Rectangle SAL_CALL calculateDiagramPositionIncludingAxes () override
 
virtual void SAL_CALL setDiagramPositionIncludingAxesAndAxisTitles (const css::awt::Rectangle &PositionRect) override
 
virtual css::awt::Rectangle SAL_CALL calculateDiagramPositionIncludingAxesAndAxisTitles () override
 
virtual css::uno::Reference< css::chart2::XDiagram > SAL_CALL getDiagram () override
 
virtual void SAL_CALL setDiagram (const css::uno::Reference< css::chart2::XDiagram > &xDiagram) override
 

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
 

Private Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
 
css::uno::Reference< css::chart::XAxis > m_xXAxis
 
css::uno::Reference< css::chart::XAxis > m_xYAxis
 
css::uno::Reference< css::chart::XAxis > m_xZAxis
 
css::uno::Reference< css::chart::XAxis > m_xSecondXAxis
 
css::uno::Reference< css::chart::XAxis > m_xSecondYAxis
 
css::uno::Reference< css::beans::XPropertySetm_xWall
 
css::uno::Reference< css::beans::XPropertySetm_xFloor
 
css::uno::Reference< css::beans::XPropertySetm_xMinMaxLineWrapper
 
css::uno::Reference< css::beans::XPropertySetm_xUpBarWrapper
 
css::uno::Reference< css::beans::XPropertySetm_xDownBarWrapper
 

Detailed Description

Definition at line 48 of file DiagramWrapper.hxx.

Constructor & Destructor Documentation

◆ DiagramWrapper()

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

Definition at line 552 of file DiagramWrapper.cxx.

◆ ~DiagramWrapper()

chart::wrapper::DiagramWrapper::~DiagramWrapper ( )
overridevirtual

Definition at line 557 of file DiagramWrapper.cxx.

Member Function Documentation

◆ addEventListener()

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

◆ calculateDiagramPositionExcludingAxes()

awt::Rectangle SAL_CALL chart::wrapper::DiagramWrapper::calculateDiagramPositionExcludingAxes ( )
overridevirtual

Definition at line 762 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ calculateDiagramPositionIncludingAxes()

awt::Rectangle SAL_CALL chart::wrapper::DiagramWrapper::calculateDiagramPositionIncludingAxes ( )
overridevirtual

Definition at line 774 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ calculateDiagramPositionIncludingAxesAndAxisTitles()

css::awt::Rectangle SAL_CALL chart::wrapper::DiagramWrapper::calculateDiagramPositionIncludingAxesAndAxisTitles ( )
overridevirtual

Definition at line 784 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ createWrappedProperties()

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

Definition at line 1839 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ dispose()

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

◆ getAxis()

Reference< XAxis > SAL_CALL chart::wrapper::DiagramWrapper::getAxis ( sal_Int32  nDimensionIndex)
overridevirtual

◆ getDataPointProperties()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getDataPointProperties ( sal_Int32  nCol,
sal_Int32  nRow 
)
overridevirtual

◆ getDataRowProperties()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getDataRowProperties ( sal_Int32  nRow)
overridevirtual

◆ getDiagram()

Reference< chart2::XDiagram > SAL_CALL chart::wrapper::DiagramWrapper::getDiagram ( )
overridevirtual

◆ getDiagramType()

OUString SAL_CALL chart::wrapper::DiagramWrapper::getDiagramType ( )
overridevirtual

◆ getDownBar()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getDownBar ( )
overridevirtual

Definition at line 984 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and m_xDownBarWrapper.

◆ getFloor()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getFloor ( )
overridevirtual

Definition at line 1014 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and m_xFloor.

◆ getImplementationName()

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

XServiceInfo declarations.

Definition at line 1872 of file DiagramWrapper.cxx.

◆ getInnerPropertySet()

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

Definition at line 1829 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

Referenced by setPosition(), and setSize().

◆ getMinMaxLine()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getMinMaxLine ( )
overridevirtual

Definition at line 994 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and m_xMinMaxLineWrapper.

◆ getPosition()

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

Definition at line 647 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and chart::ToPoint().

◆ getPropertySequence()

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

Definition at line 1834 of file DiagramWrapper.cxx.

◆ getSecondaryAxis()

Reference< XAxis > SAL_CALL chart::wrapper::DiagramWrapper::getSecondaryAxis ( sal_Int32  nDimensionIndex)
overridevirtual

◆ getSecondaryXAxis()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getSecondaryXAxis ( )
overridevirtual

◆ getSecondaryYAxis()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getSecondaryYAxis ( )
overridevirtual

◆ getSecondXAxisTitle()

Reference< drawing::XShape > SAL_CALL chart::wrapper::DiagramWrapper::getSecondXAxisTitle ( )
overridevirtual

Definition at line 954 of file DiagramWrapper.cxx.

References getSecondaryAxis().

◆ getSecondYAxisTitle()

Reference< drawing::XShape > SAL_CALL chart::wrapper::DiagramWrapper::getSecondYAxisTitle ( )
overridevirtual

Definition at line 963 of file DiagramWrapper.cxx.

References getSecondaryAxis().

◆ getShapeType()

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

Definition at line 709 of file DiagramWrapper.cxx.

◆ getSize()

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

Definition at line 677 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and chart::ToSize().

◆ getSupportedServiceNames()

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

Definition at line 1882 of file DiagramWrapper.cxx.

◆ getUpBar()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getUpBar ( )
overridevirtual

Definition at line 974 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and m_xUpBarWrapper.

◆ getWall()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getWall ( )
overridevirtual

Definition at line 1004 of file DiagramWrapper.cxx.

References m_spChart2ModelContact, and m_xWall.

◆ getXAxis()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getXAxis ( )
overridevirtual

◆ getXAxisTitle()

Reference< drawing::XShape > SAL_CALL chart::wrapper::DiagramWrapper::getXAxisTitle ( )
overridevirtual

Definition at line 876 of file DiagramWrapper.cxx.

References getAxis().

◆ getXHelpGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getXHelpGrid ( )
overridevirtual

Definition at line 901 of file DiagramWrapper.cxx.

References getAxis().

◆ getXMainGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getXMainGrid ( )
overridevirtual

Definition at line 892 of file DiagramWrapper.cxx.

References getAxis().

◆ getYAxis()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getYAxis ( )
overridevirtual

◆ getYAxisTitle()

Reference< drawing::XShape > SAL_CALL chart::wrapper::DiagramWrapper::getYAxisTitle ( )
overridevirtual

Definition at line 919 of file DiagramWrapper.cxx.

References getAxis().

◆ getYHelpGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getYHelpGrid ( )
overridevirtual

Definition at line 944 of file DiagramWrapper.cxx.

References getAxis().

◆ getYMainGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getYMainGrid ( )
overridevirtual

Definition at line 935 of file DiagramWrapper.cxx.

References getAxis().

◆ getZAxis()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getZAxis ( )
overridevirtual

◆ getZAxisTitle()

Reference< drawing::XShape > SAL_CALL chart::wrapper::DiagramWrapper::getZAxisTitle ( )
overridevirtual

Definition at line 833 of file DiagramWrapper.cxx.

References getAxis().

◆ getZHelpGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getZHelpGrid ( )
overridevirtual

Definition at line 851 of file DiagramWrapper.cxx.

References getAxis().

◆ getZMainGrid()

Reference< beans::XPropertySet > SAL_CALL chart::wrapper::DiagramWrapper::getZMainGrid ( )
overridevirtual

Definition at line 842 of file DiagramWrapper.cxx.

References getAxis().

◆ isAutomaticDiagramPositioning()

sal_Bool SAL_CALL chart::wrapper::DiagramWrapper::isAutomaticDiagramPositioning ( )
overridevirtual

Definition at line 726 of file DiagramWrapper.cxx.

References Any, and getDiagram().

◆ isExcludingDiagramPositioning()

sal_Bool SAL_CALL chart::wrapper::DiagramWrapper::isExcludingDiagramPositioning ( )
overridevirtual

Definition at line 746 of file DiagramWrapper.cxx.

References Any, and getDiagram().

◆ removeEventListener()

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

◆ set3DSettingsToDefault()

void SAL_CALL chart::wrapper::DiagramWrapper::set3DSettingsToDefault ( )
overridevirtual

Definition at line 1024 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ setAutomaticDiagramPositioning()

void SAL_CALL chart::wrapper::DiagramWrapper::setAutomaticDiagramPositioning ( )
overridevirtual

Definition at line 716 of file DiagramWrapper.cxx.

References Any, getDiagram(), and m_spChart2ModelContact.

◆ setDefaultIllumination()

void SAL_CALL chart::wrapper::DiagramWrapper::setDefaultIllumination ( )
overridevirtual

Definition at line 1038 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ setDefaultRotation()

void SAL_CALL chart::wrapper::DiagramWrapper::setDefaultRotation ( )
overridevirtual

Definition at line 1031 of file DiagramWrapper.cxx.

References m_spChart2ModelContact.

◆ setDiagram()

void SAL_CALL chart::wrapper::DiagramWrapper::setDiagram ( const css::uno::Reference< css::chart2::XDiagram > &  xDiagram)
overridevirtual

Definition at line 1822 of file DiagramWrapper.cxx.

◆ setDiagramPositionExcludingAxes()

void SAL_CALL chart::wrapper::DiagramWrapper::setDiagramPositionExcludingAxes ( const css::awt::Rectangle &  PositionRect)
overridevirtual

◆ setDiagramPositionIncludingAxes()

void SAL_CALL chart::wrapper::DiagramWrapper::setDiagramPositionIncludingAxes ( const css::awt::Rectangle &  PositionRect)
overridevirtual

◆ setDiagramPositionIncludingAxesAndAxisTitles()

void SAL_CALL chart::wrapper::DiagramWrapper::setDiagramPositionIncludingAxesAndAxisTitles ( const css::awt::Rectangle &  PositionRect)
overridevirtual

◆ setPosition()

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

Definition at line 653 of file DiagramWrapper.cxx.

References getInnerPropertySet(), and m_spChart2ModelContact.

◆ setSize()

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

Definition at line 683 of file DiagramWrapper.cxx.

References getInnerPropertySet(), and m_spChart2ModelContact.

◆ supportsService()

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

Definition at line 1877 of file DiagramWrapper.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aEventListenerContainer

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

Definition at line 189 of file DiagramWrapper.hxx.

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

◆ m_spChart2ModelContact

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

◆ m_xDownBarWrapper

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::DiagramWrapper::m_xDownBarWrapper
private

Definition at line 212 of file DiagramWrapper.hxx.

Referenced by dispose(), and getDownBar().

◆ m_xFloor

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::DiagramWrapper::m_xFloor
private

Definition at line 205 of file DiagramWrapper.hxx.

Referenced by dispose(), and getFloor().

◆ m_xMinMaxLineWrapper

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::DiagramWrapper::m_xMinMaxLineWrapper
private

Definition at line 208 of file DiagramWrapper.hxx.

Referenced by dispose(), and getMinMaxLine().

◆ m_xSecondXAxis

css::uno::Reference< css::chart::XAxis > chart::wrapper::DiagramWrapper::m_xSecondXAxis
private

Definition at line 198 of file DiagramWrapper.hxx.

Referenced by dispose(), getSecondaryAxis(), and getSecondaryXAxis().

◆ m_xSecondYAxis

css::uno::Reference< css::chart::XAxis > chart::wrapper::DiagramWrapper::m_xSecondYAxis
private

Definition at line 200 of file DiagramWrapper.hxx.

Referenced by dispose(), getSecondaryAxis(), and getSecondaryYAxis().

◆ m_xUpBarWrapper

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::DiagramWrapper::m_xUpBarWrapper
private

Definition at line 210 of file DiagramWrapper.hxx.

Referenced by dispose(), and getUpBar().

◆ m_xWall

css::uno::Reference< css::beans::XPropertySet > chart::wrapper::DiagramWrapper::m_xWall
private

Definition at line 203 of file DiagramWrapper.hxx.

Referenced by dispose(), and getWall().

◆ m_xXAxis

css::uno::Reference< css::chart::XAxis > chart::wrapper::DiagramWrapper::m_xXAxis
private

Definition at line 192 of file DiagramWrapper.hxx.

Referenced by dispose(), getAxis(), and getXAxis().

◆ m_xYAxis

css::uno::Reference< css::chart::XAxis > chart::wrapper::DiagramWrapper::m_xYAxis
private

Definition at line 194 of file DiagramWrapper.hxx.

Referenced by dispose(), getAxis(), and getYAxis().

◆ m_xZAxis

css::uno::Reference< css::chart::XAxis > chart::wrapper::DiagramWrapper::m_xZAxis
private

Definition at line 196 of file DiagramWrapper.hxx.

Referenced by dispose(), getAxis(), and getZAxis().


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