LibreOffice Module chart2 (master) 1
|
#include <AxisWrapper.hxx>
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::XPropertySet > | getInnerPropertySet () override |
![]() | |
~ReferenceSizePropertyProvider () | |
Private Member Functions | |
css::uno::Reference< css::chart2::XAxis > | getAxis () |
Private Attributes | |
std::shared_ptr< Chart2ModelContact > | m_spChart2ModelContact |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aEventListenerContainer |
tAxisType | m_eType |
css::uno::Reference< css::beans::XPropertySet > | m_xAxisTitle |
css::uno::Reference< css::beans::XPropertySet > | m_xMajorGrid |
css::uno::Reference< css::beans::XPropertySet > | m_xMinorGrid |
Definition at line 39 of file AxisWrapper.hxx.
Enumerator | |
---|---|
X_AXIS | |
Y_AXIS | |
Z_AXIS | |
SECOND_X_AXIS | |
SECOND_Y_AXIS |
Definition at line 50 of file AxisWrapper.hxx.
chart::wrapper::AxisWrapper::AxisWrapper | ( | tAxisType | eType, |
std::shared_ptr< Chart2ModelContact > | spChart2ModelContact | ||
) |
Definition at line 362 of file AxisWrapper.cxx.
References eType.
|
overridevirtual |
Definition at line 369 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 529 of file AxisWrapper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aEventListenerContainer, and m_aMutex.
|
overrideprotectedvirtual |
Definition at line 603 of file AxisWrapper.cxx.
References chart::wrapper::WrappedScaleProperty::addWrappedProperties(), chart::wrapper::WrappedScaleTextProperties::addWrappedProperties(), chart::wrapper::WrappedCharacterHeightProperty::addWrappedProperties(), getDimensionAndMainAxisBool(), m_eType, m_spChart2ModelContact, and chart::wrapper::WrappedBarPositionProperty_Base::setDimensionAndAxisIndex().
|
overridevirtual |
Definition at line 516 of file AxisWrapper.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), chart::DisposeHelper::DisposeAndClear(), m_aEventListenerContainer, m_aMutex, m_xAxisTitle, m_xMajorGrid, and m_xMinorGrid.
|
private |
Definition at line 567 of file AxisWrapper.cxx.
References chart::AxisHelper::createAxis(), DBG_UNHANDLED_EXCEPTION, chart::AxisHelper::getAxis(), getDimensionAndMainAxisBool(), m_eType, and m_spChart2ModelContact.
Referenced by getInnerPropertySet(), getPosition(), getReferenceSize(), getSize(), and updateReferenceSize().
|
overridevirtual |
Definition at line 374 of file AxisWrapper.cxx.
References m_eType, m_spChart2ModelContact, m_xAxisTitle, SECOND_X_AXIS, SECOND_Y_AXIS, chart::TitleHelper::SECONDARY_X_AXIS_TITLE, chart::TitleHelper::SECONDARY_Y_AXIS_TITLE, X_AXIS, chart::TitleHelper::X_AXIS_TITLE, Y_AXIS, chart::TitleHelper::Y_AXIS_TITLE, Z_AXIS, and chart::TitleHelper::Z_AXIS_TITLE.
|
overridevirtual |
Implements chart::wrapper::ReferenceSizePropertyProvider.
Definition at line 562 of file AxisWrapper.cxx.
References m_spChart2ModelContact.
|
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().
|
overridevirtual |
XServiceInfo declarations.
Definition at line 644 of file AxisWrapper.cxx.
|
overrideprotectedvirtual |
Definition at line 593 of file AxisWrapper.cxx.
References getAxis().
|
overridevirtual |
Definition at line 403 of file AxisWrapper.cxx.
References m_eType, m_spChart2ModelContact, m_xMajorGrid, X_AXIS, chart::wrapper::GridWrapper::X_MAJOR_GRID, Y_AXIS, chart::wrapper::GridWrapper::Y_MAJOR_GRID, Z_AXIS, and chart::wrapper::GridWrapper::Z_MAJOR_GRID.
|
overridevirtual |
Definition at line 426 of file AxisWrapper.cxx.
References m_eType, m_spChart2ModelContact, m_xMinorGrid, X_AXIS, chart::wrapper::GridWrapper::X_MAJOR_GRID, chart::wrapper::GridWrapper::X_MINOR_GRID, Y_AXIS, chart::wrapper::GridWrapper::Y_MINOR_GRID, Z_AXIS, and chart::wrapper::GridWrapper::Z_MINOR_GRID.
|
overridevirtual |
Definition at line 489 of file AxisWrapper.cxx.
References m_spChart2ModelContact.
|
overridevirtual |
Definition at line 480 of file AxisWrapper.cxx.
References m_spChart2ModelContact.
|
overridevirtual |
Definition at line 451 of file AxisWrapper.cxx.
References getAxis(), and m_spChart2ModelContact.
|
overrideprotectedvirtual |
Definition at line 598 of file AxisWrapper.cxx.
|
overridevirtual |
Implements chart::wrapper::ReferenceSizePropertyProvider.
Definition at line 554 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 474 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 462 of file AxisWrapper.cxx.
References getAxis(), and m_spChart2ModelContact.
|
overridevirtual |
Definition at line 654 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 536 of file AxisWrapper.cxx.
References m_aEventListenerContainer, m_aMutex, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 457 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 468 of file AxisWrapper.cxx.
|
overridevirtual |
Definition at line 649 of file AxisWrapper.cxx.
References cppu::supportsService().
|
overridevirtual |
Implements chart::wrapper::ReferenceSizePropertyProvider.
Definition at line 544 of file AxisWrapper.cxx.
References getAxis(), and m_spChart2ModelContact.
|
private |
Definition at line 112 of file AxisWrapper.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 114 of file AxisWrapper.hxx.
Referenced by createWrappedProperties(), getAxis(), getAxisTitle(), getMajorGrid(), and getMinorGrid().
|
private |
Definition at line 111 of file AxisWrapper.hxx.
Referenced by createWrappedProperties(), getAxis(), getAxisTitle(), getCurrentSizeForReference(), getMajorGrid(), getMinorGrid(), getNumberFormats(), getNumberFormatSettings(), getPosition(), getSize(), and updateReferenceSize().
|
private |
Definition at line 116 of file AxisWrapper.hxx.
Referenced by dispose(), and getAxisTitle().
|
private |
Definition at line 117 of file AxisWrapper.hxx.
Referenced by dispose(), and getMajorGrid().
|
private |
Definition at line 118 of file AxisWrapper.hxx.
Referenced by dispose(), and getMinorGrid().