LibreOffice Module vbahelper (master) 1
Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScVbaPictureFormat Class Reference

#include <vbapictureformat.hxx>

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

Public Member Functions

 ScVbaPictureFormat (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::drawing::XShape > xShape)
 
virtual double SAL_CALL getBrightness () override
 
virtual void SAL_CALL setBrightness (double _brightness) override
 
virtual double SAL_CALL getContrast () override
 
virtual void SAL_CALL setContrast (double _contrast) override
 
virtual void SAL_CALL IncrementBrightness (double increment) override
 
virtual void SAL_CALL IncrementContrast (double increment) 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, 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
 

Protected Member Functions

virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Static Private Member Functions

static void checkParameterRangeInDouble (double nRange, double nMin, double nMax)
 

Private Attributes

css::uno::Reference< css::drawing::XShape > m_xShape
 
css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 

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 29 of file vbapictureformat.hxx.

Constructor & Destructor Documentation

◆ ScVbaPictureFormat()

ScVbaPictureFormat::ScVbaPictureFormat ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::drawing::XShape >  xShape 
)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 26 of file vbapictureformat.cxx.

References m_xPropertySet, and m_xShape.

Member Function Documentation

◆ checkParameterRangeInDouble()

void ScVbaPictureFormat::checkParameterRangeInDouble ( double  nRange,
double  nMin,
double  nMax 
)
staticprivate
Exceptions
css::uno::RuntimeException

Definition at line 35 of file vbapictureformat.cxx.

Referenced by setBrightness(), and setContrast().

◆ getBrightness()

double SAL_CALL ScVbaPictureFormat::getBrightness ( )
overridevirtual

Definition at line 49 of file vbapictureformat.cxx.

References m_xPropertySet.

Referenced by IncrementBrightness().

◆ getContrast()

double SAL_CALL ScVbaPictureFormat::getContrast ( )
overridevirtual

Definition at line 68 of file vbapictureformat.cxx.

References m_xPropertySet.

Referenced by IncrementContrast().

◆ getServiceImplName()

OUString ScVbaPictureFormat::getServiceImplName ( )
overrideprotectedvirtual

◆ getServiceNames()

uno::Sequence< OUString > ScVbaPictureFormat::getServiceNames ( )
overrideprotectedvirtual

◆ IncrementBrightness()

void SAL_CALL ScVbaPictureFormat::IncrementBrightness ( double  increment)
overridevirtual

Definition at line 89 of file vbapictureformat.cxx.

References getBrightness(), and setBrightness().

◆ IncrementContrast()

void SAL_CALL ScVbaPictureFormat::IncrementContrast ( double  increment)
overridevirtual

Definition at line 105 of file vbapictureformat.cxx.

References getContrast(), and setContrast().

◆ setBrightness()

void SAL_CALL ScVbaPictureFormat::setBrightness ( double  _brightness)
overridevirtual

Definition at line 59 of file vbapictureformat.cxx.

References checkParameterRangeInDouble(), and m_xPropertySet.

Referenced by IncrementBrightness().

◆ setContrast()

void SAL_CALL ScVbaPictureFormat::setContrast ( double  _contrast)
overridevirtual

Definition at line 78 of file vbapictureformat.cxx.

References checkParameterRangeInDouble(), and m_xPropertySet.

Referenced by IncrementContrast().

Member Data Documentation

◆ m_xPropertySet

css::uno::Reference< css::beans::XPropertySet > ScVbaPictureFormat::m_xPropertySet
private

◆ m_xShape

css::uno::Reference< css::drawing::XShape > ScVbaPictureFormat::m_xShape
private

Definition at line 32 of file vbapictureformat.hxx.

Referenced by ScVbaPictureFormat().


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