LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScVbaAxis Class Reference

#include <vbaaxis.hxx>

Inheritance diagram for ScVbaAxis:
[legend]
Collaboration diagram for ScVbaAxis:
[legend]

Public Member Functions

 ScVbaAxis (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::beans::XPropertySet > _xPropertySet, sal_Int32 _nType, sal_Int32 _nGroup)
 
virtual void SAL_CALL Delete () override
 
virtual css::uno::Reference< ::ooo::vba::excel::XAxisTitle > SAL_CALL getAxisTitle () override
 
virtual void SAL_CALL setDisplayUnit (::sal_Int32 DisplayUnit) override
 
virtual ::sal_Int32 SAL_CALL getDisplayUnit () override
 
virtual void SAL_CALL setCrosses (::sal_Int32 Crosses) override
 
virtual ::sal_Int32 SAL_CALL getCrosses () override
 
virtual void SAL_CALL setCrossesAt (double CrossesAt) override
 
virtual double SAL_CALL getCrossesAt () override
 
virtual void SAL_CALL setType (::sal_Int32 Type) override
 
virtual ::sal_Int32 SAL_CALL getType () override
 
virtual void SAL_CALL setHasTitle (sal_Bool HasTitle) override
 
virtual sal_Bool SAL_CALL getHasTitle () override
 
virtual void SAL_CALL setMinorUnit (double MinorUnit) override
 
virtual double SAL_CALL getMinorUnit () override
 
virtual void SAL_CALL setMinorUnitIsAuto (sal_Bool MinorUnitIsAuto) override
 
virtual sal_Bool SAL_CALL getMinorUnitIsAuto () override
 
virtual void SAL_CALL setReversePlotOrder (sal_Bool ReversePlotOrder) override
 
virtual sal_Bool SAL_CALL getReversePlotOrder () override
 
virtual void SAL_CALL setMajorUnit (double MajorUnit) override
 
virtual double SAL_CALL getMajorUnit () override
 
virtual void SAL_CALL setMajorUnitIsAuto (sal_Bool MajorUnitIsAuto) override
 
virtual sal_Bool SAL_CALL getMajorUnitIsAuto () override
 
virtual void SAL_CALL setMaximumScale (double MaximumScale) override
 
virtual double SAL_CALL getMaximumScale () override
 
virtual void SAL_CALL setMaximumScaleIsAuto (sal_Bool MaximumScaleIsAuto) override
 
virtual sal_Bool SAL_CALL getMaximumScaleIsAuto () override
 
virtual void SAL_CALL setMinimumScale (double MinimumScale) override
 
virtual double SAL_CALL getMinimumScale () override
 
virtual void SAL_CALL setMinimumScaleIsAuto (sal_Bool MinimumScaleIsAuto) override
 
virtual sal_Bool SAL_CALL getMinimumScaleIsAuto () override
 
virtual ::sal_Int32 SAL_CALL getAxisGroup () override
 
virtual void SAL_CALL setScaleType (::sal_Int32 ScaleType) override
 
virtual ::sal_Int32 SAL_CALL getScaleType () override
 
virtual double SAL_CALL getHeight () override
 
virtual void SAL_CALL setHeight (double height) override
 
virtual double SAL_CALL getWidth () override
 
virtual void SAL_CALL setWidth (double width) override
 
virtual double SAL_CALL getTop () override
 
virtual void SAL_CALL setTop (double top) override
 
virtual double SAL_CALL getLeft () override
 
virtual void SAL_CALL setLeft (double left) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

ScVbaChartgetChartPtr ()
 
bool isValueAxis ()
 

Private Attributes

css::uno::Reference< ov::excel::XChart > moChartParent
 
css::uno::Reference< css::beans::XPropertySetmxPropertySet
 
sal_Int32 mnType
 
sal_Int32 mnGroup
 
ov::ShapeHelper maShapeHelper
 
bool bCrossesAreCustomized
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 27 of file vbaaxis.hxx.

Constructor & Destructor Documentation

◆ ScVbaAxis()

ScVbaAxis::ScVbaAxis ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::beans::XPropertySet _xPropertySet,
sal_Int32  _nType,
sal_Int32  _nGroup 
)

Definition at line 56 of file vbaaxis.cxx.

References _xPropertySet, moChartParent, Reference, setCrosses(), and setType().

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaAxis::Delete ( )
overridevirtual

Definition at line 72 of file vbaaxis.cxx.

References mxPropertySet.

◆ getAxisGroup()

sal_Int32 SAL_CALL ScVbaAxis::getAxisGroup ( )
override

Definition at line 558 of file vbaaxis.cxx.

References mnGroup.

◆ getAxisTitle()

uno::Reference<::ooo::vba::excel::XAxisTitle > SAL_CALL ScVbaAxis::getAxisTitle ( )
overridevirtual

◆ getChartPtr()

ScVbaChart * ScVbaAxis::getChartPtr ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 38 of file vbaaxis.cxx.

References moChartParent.

Referenced by getAxisTitle(), getHasTitle(), and setHasTitle().

◆ getCrosses()

sal_Int32 SAL_CALL ScVbaAxis::getCrosses ( )
override

◆ getCrossesAt()

double SAL_CALL ScVbaAxis::getCrossesAt ( )
overridevirtual

Definition at line 207 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, mxPropertySet, and ORIGIN().

◆ getDisplayUnit()

sal_Int32 SAL_CALL ScVbaAxis::getDisplayUnit ( )
override

Definition at line 118 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

◆ getHasTitle()

sal_Bool SAL_CALL ScVbaAxis::getHasTitle ( )
overridevirtual

Definition at line 260 of file vbaaxis.cxx.

References getChartPtr(), getType(), ScVbaChart::mxDiagramPropertySet, and nType.

Referenced by getAxisTitle().

◆ getHeight()

double SAL_CALL ScVbaAxis::getHeight ( )
overridevirtual

Definition at line 614 of file vbaaxis.cxx.

References maShapeHelper.

◆ getLeft()

double SAL_CALL ScVbaAxis::getLeft ( )
overridevirtual

Definition at line 639 of file vbaaxis.cxx.

References maShapeHelper.

◆ getMajorUnit()

double SAL_CALL ScVbaAxis::getMajorUnit ( )
overridevirtual

Definition at line 378 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMajorUnitIsAuto()

sal_Bool SAL_CALL ScVbaAxis::getMajorUnitIsAuto ( )
overridevirtual

Definition at line 410 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMaximumScale()

double SAL_CALL ScVbaAxis::getMaximumScale ( )
overridevirtual

Definition at line 444 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMaximumScaleIsAuto()

sal_Bool SAL_CALL ScVbaAxis::getMaximumScaleIsAuto ( )
overridevirtual

Definition at line 478 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMinimumScale()

double SAL_CALL ScVbaAxis::getMinimumScale ( )
overridevirtual

Definition at line 508 of file vbaaxis.cxx.

References isValueAxis(), and mxPropertySet.

◆ getMinimumScaleIsAuto()

sal_Bool SAL_CALL ScVbaAxis::getMinimumScaleIsAuto ( )
overridevirtual

Definition at line 540 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMinorUnit()

double SAL_CALL ScVbaAxis::getMinorUnit ( )
overridevirtual

Definition at line 301 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getMinorUnitIsAuto()

sal_Bool SAL_CALL ScVbaAxis::getMinorUnitIsAuto ( )
overridevirtual

Definition at line 331 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getReversePlotOrder()

sal_Bool SAL_CALL ScVbaAxis::getReversePlotOrder ( )
overridevirtual

Definition at line 355 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

◆ getScaleType()

sal_Int32 SAL_CALL ScVbaAxis::getScaleType ( )
override

Definition at line 591 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ getServiceImplName()

OUString ScVbaAxis::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > ScVbaAxis::getServiceNames ( )
overridevirtual

◆ getTop()

double SAL_CALL ScVbaAxis::getTop ( )
overridevirtual

Definition at line 631 of file vbaaxis.cxx.

References maShapeHelper.

◆ getType()

sal_Int32 SAL_CALL ScVbaAxis::getType ( )
override

Definition at line 228 of file vbaaxis.cxx.

References mnType.

Referenced by getAxisTitle(), getHasTitle(), isValueAxis(), and setHasTitle().

◆ getWidth()

double SAL_CALL ScVbaAxis::getWidth ( )
overridevirtual

Definition at line 623 of file vbaaxis.cxx.

References maShapeHelper.

◆ isValueAxis()

bool ScVbaAxis::isValueAxis ( )
private

◆ setCrosses()

void SAL_CALL ScVbaAxis::setCrosses ( ::sal_Int32  Crosses)
overridevirtual

◆ setCrossesAt()

void SAL_CALL ScVbaAxis::setCrossesAt ( double  CrossesAt)
overridevirtual

Definition at line 192 of file vbaaxis.cxx.

References mxPropertySet, ORIGIN(), setMaximumScaleIsAuto(), and setMinimumScaleIsAuto().

Referenced by setCrosses().

◆ setDisplayUnit()

void SAL_CALL ScVbaAxis::setDisplayUnit ( ::sal_Int32  DisplayUnit)
overridevirtual

Definition at line 112 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

◆ setHasTitle()

void SAL_CALL ScVbaAxis::setHasTitle ( sal_Bool  HasTitle)
overridevirtual

Definition at line 234 of file vbaaxis.cxx.

References getChartPtr(), getType(), ScVbaChart::mxDiagramPropertySet, and nType.

◆ setHeight()

void SAL_CALL ScVbaAxis::setHeight ( double  height)
overridevirtual

Definition at line 619 of file vbaaxis.cxx.

References maShapeHelper.

◆ setLeft()

void SAL_CALL ScVbaAxis::setLeft ( double  left)
overridevirtual

Definition at line 643 of file vbaaxis.cxx.

References left, and maShapeHelper.

◆ setMajorUnit()

void SAL_CALL ScVbaAxis::setMajorUnit ( double  MajorUnit)
overridevirtual

Definition at line 362 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setMajorUnitIsAuto()

void SAL_CALL ScVbaAxis::setMajorUnitIsAuto ( sal_Bool  MajorUnitIsAuto)
overridevirtual

Definition at line 394 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setMaximumScale()

void SAL_CALL ScVbaAxis::setMaximumScale ( double  MaximumScale)
overridevirtual

Definition at line 428 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setMaximumScaleIsAuto()

void SAL_CALL ScVbaAxis::setMaximumScaleIsAuto ( sal_Bool  MaximumScaleIsAuto)
overridevirtual

Definition at line 463 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

Referenced by setCrossesAt().

◆ setMinimumScale()

void SAL_CALL ScVbaAxis::setMinimumScale ( double  MinimumScale)
overridevirtual

Definition at line 494 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setMinimumScaleIsAuto()

void SAL_CALL ScVbaAxis::setMinimumScaleIsAuto ( sal_Bool  MinimumScaleIsAuto)
overridevirtual

Definition at line 524 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

Referenced by setCrossesAt().

◆ setMinorUnit()

void SAL_CALL ScVbaAxis::setMinorUnit ( double  MinorUnit)
overridevirtual

Definition at line 287 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setMinorUnitIsAuto()

void SAL_CALL ScVbaAxis::setMinorUnitIsAuto ( sal_Bool  MinorUnitIsAuto)
overridevirtual

Definition at line 317 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setReversePlotOrder()

void SAL_CALL ScVbaAxis::setReversePlotOrder ( sal_Bool  ReversePlotOrder)
overridevirtual

Definition at line 349 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

◆ setScaleType()

void SAL_CALL ScVbaAxis::setScaleType ( ::sal_Int32  ScaleType)
overridevirtual

Definition at line 564 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

◆ setTop()

void SAL_CALL ScVbaAxis::setTop ( double  top)
overridevirtual

Definition at line 635 of file vbaaxis.cxx.

References maShapeHelper, and top.

◆ setType()

void SAL_CALL ScVbaAxis::setType ( ::sal_Int32  Type)
overridevirtual

Definition at line 222 of file vbaaxis.cxx.

References mnType.

Referenced by ScVbaAxis().

◆ setWidth()

void SAL_CALL ScVbaAxis::setWidth ( double  width)
overridevirtual

Definition at line 627 of file vbaaxis.cxx.

References maShapeHelper.

Member Data Documentation

◆ bCrossesAreCustomized

bool ScVbaAxis::bCrossesAreCustomized
private

Definition at line 35 of file vbaaxis.hxx.

Referenced by getCrosses(), and setCrosses().

◆ maShapeHelper

ov::ShapeHelper ScVbaAxis::maShapeHelper
private

Definition at line 33 of file vbaaxis.hxx.

Referenced by getHeight(), getLeft(), getTop(), getWidth(), setHeight(), setLeft(), setTop(), and setWidth().

◆ mnGroup

sal_Int32 ScVbaAxis::mnGroup
private

Definition at line 32 of file vbaaxis.hxx.

Referenced by getAxisGroup().

◆ mnType

sal_Int32 ScVbaAxis::mnType
private

Definition at line 31 of file vbaaxis.hxx.

Referenced by getType(), and setType().

◆ moChartParent

css::uno::Reference< ov::excel::XChart > ScVbaAxis::moChartParent
private

Definition at line 29 of file vbaaxis.hxx.

Referenced by getChartPtr(), and ScVbaAxis().

◆ mxPropertySet

css::uno::Reference< css::beans::XPropertySet > ScVbaAxis::mxPropertySet
private

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