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, const 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< 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, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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
 
bool bCrossesAreCustomized
 
std::unique_ptr< ov::ShapeHelper > oShapeHelper
 

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 28 of file vbaaxis.hxx.

Constructor & Destructor Documentation

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

Definition at line 55 of file vbaaxis.cxx.

References moChartParent, mxPropertySet, oShapeHelper, setCrosses(), and setType().

Member Function Documentation

void SAL_CALL ScVbaAxis::Delete ( )
overridevirtual

Definition at line 64 of file vbaaxis.cxx.

References mxPropertySet.

sal_Int32 SAL_CALL ScVbaAxis::getAxisGroup ( )
override

Definition at line 550 of file vbaaxis.cxx.

References mnGroup.

uno::Reference<::ooo::vba::excel::XAxisTitle > SAL_CALL ScVbaAxis::getAxisTitle ( )
overridevirtual
ScVbaChart * ScVbaAxis::getChartPtr ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 37 of file vbaaxis.cxx.

References moChartParent.

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

sal_Int32 SAL_CALL ScVbaAxis::getCrosses ( )
override
double SAL_CALL ScVbaAxis::getCrossesAt ( )
overridevirtual

Definition at line 199 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, mxPropertySet, and ORIGIN().

sal_Int32 SAL_CALL ScVbaAxis::getDisplayUnit ( )
override

Definition at line 110 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

sal_Bool SAL_CALL ScVbaAxis::getHasTitle ( )
overridevirtual

Definition at line 252 of file vbaaxis.cxx.

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

Referenced by getAxisTitle().

double SAL_CALL ScVbaAxis::getHeight ( )
overridevirtual

Definition at line 606 of file vbaaxis.cxx.

References oShapeHelper.

double SAL_CALL ScVbaAxis::getLeft ( )
overridevirtual

Definition at line 631 of file vbaaxis.cxx.

References oShapeHelper.

double SAL_CALL ScVbaAxis::getMajorUnit ( )
overridevirtual

Definition at line 370 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

sal_Bool SAL_CALL ScVbaAxis::getMajorUnitIsAuto ( )
overridevirtual

Definition at line 402 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

double SAL_CALL ScVbaAxis::getMaximumScale ( )
overridevirtual

Definition at line 436 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

sal_Bool SAL_CALL ScVbaAxis::getMaximumScaleIsAuto ( )
overridevirtual

Definition at line 470 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

double SAL_CALL ScVbaAxis::getMinimumScale ( )
overridevirtual

Definition at line 500 of file vbaaxis.cxx.

References isValueAxis(), and mxPropertySet.

sal_Bool SAL_CALL ScVbaAxis::getMinimumScaleIsAuto ( )
overridevirtual

Definition at line 532 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

double SAL_CALL ScVbaAxis::getMinorUnit ( )
overridevirtual

Definition at line 293 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

sal_Bool SAL_CALL ScVbaAxis::getMinorUnitIsAuto ( )
overridevirtual

Definition at line 323 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

sal_Bool SAL_CALL ScVbaAxis::getReversePlotOrder ( )
overridevirtual

Definition at line 347 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

sal_Int32 SAL_CALL ScVbaAxis::getScaleType ( )
override

Definition at line 583 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

OUString ScVbaAxis::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaAxis::getServiceNames ( )
overridevirtual
double SAL_CALL ScVbaAxis::getTop ( )
overridevirtual

Definition at line 623 of file vbaaxis.cxx.

References oShapeHelper.

sal_Int32 SAL_CALL ScVbaAxis::getType ( )
override

Definition at line 220 of file vbaaxis.cxx.

References mnType.

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

double SAL_CALL ScVbaAxis::getWidth ( )
overridevirtual

Definition at line 615 of file vbaaxis.cxx.

References oShapeHelper.

bool ScVbaAxis::isValueAxis ( )
private
void SAL_CALL ScVbaAxis::setCrosses ( ::sal_Int32  Crosses)
overridevirtual
void SAL_CALL ScVbaAxis::setCrossesAt ( double  CrossesAt)
overridevirtual

Definition at line 184 of file vbaaxis.cxx.

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

Referenced by setCrosses().

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

Definition at line 104 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

void SAL_CALL ScVbaAxis::setHasTitle ( sal_Bool  HasTitle)
overridevirtual

Definition at line 226 of file vbaaxis.cxx.

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

void SAL_CALL ScVbaAxis::setHeight ( double  height)
overridevirtual

Definition at line 611 of file vbaaxis.cxx.

References oShapeHelper.

void SAL_CALL ScVbaAxis::setLeft ( double  left)
overridevirtual

Definition at line 635 of file vbaaxis.cxx.

References oShapeHelper.

void SAL_CALL ScVbaAxis::setMajorUnit ( double  MajorUnit)
overridevirtual

Definition at line 354 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setMajorUnitIsAuto ( sal_Bool  MajorUnitIsAuto)
overridevirtual

Definition at line 386 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setMaximumScale ( double  MaximumScale)
overridevirtual

Definition at line 420 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setMaximumScaleIsAuto ( sal_Bool  MaximumScaleIsAuto)
overridevirtual

Definition at line 455 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

Referenced by setCrossesAt().

void SAL_CALL ScVbaAxis::setMinimumScale ( double  MinimumScale)
overridevirtual

Definition at line 486 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setMinimumScaleIsAuto ( sal_Bool  MinimumScaleIsAuto)
overridevirtual

Definition at line 516 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

Referenced by setCrossesAt().

void SAL_CALL ScVbaAxis::setMinorUnit ( double  MinorUnit)
overridevirtual

Definition at line 279 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setMinorUnitIsAuto ( sal_Bool  MinorUnitIsAuto)
overridevirtual

Definition at line 309 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setReversePlotOrder ( sal_Bool  ReversePlotOrder)
overridevirtual

Definition at line 341 of file vbaaxis.cxx.

References ERRCODE_BASIC_NOT_IMPLEMENTED.

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

Definition at line 556 of file vbaaxis.cxx.

References ERRCODE_BASIC_METHOD_FAILED, isValueAxis(), and mxPropertySet.

void SAL_CALL ScVbaAxis::setTop ( double  top)
overridevirtual

Definition at line 627 of file vbaaxis.cxx.

References oShapeHelper.

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

Definition at line 214 of file vbaaxis.cxx.

References mnType.

Referenced by ScVbaAxis().

void SAL_CALL ScVbaAxis::setWidth ( double  width)
overridevirtual

Definition at line 619 of file vbaaxis.cxx.

References oShapeHelper.

Member Data Documentation

bool ScVbaAxis::bCrossesAreCustomized
private

Definition at line 34 of file vbaaxis.hxx.

Referenced by getCrosses(), and setCrosses().

sal_Int32 ScVbaAxis::mnGroup
private

Definition at line 33 of file vbaaxis.hxx.

Referenced by getAxisGroup().

sal_Int32 ScVbaAxis::mnType
private

Definition at line 32 of file vbaaxis.hxx.

Referenced by getType(), and setType().

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

Definition at line 30 of file vbaaxis.hxx.

Referenced by getChartPtr(), and ScVbaAxis().

css::uno::Reference< css::beans::XPropertySet > ScVbaAxis::mxPropertySet
private
std::unique_ptr<ov::ShapeHelper> ScVbaAxis::oShapeHelper
private

Definition at line 39 of file vbaaxis.hxx.

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


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