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

#include <vbacolorformat.hxx>

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

Public Member Functions

 ScVbaColorFormat (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< ov::XHelperInterface > &xInternalParent, const css::uno::Reference< css::drawing::XShape > &xShape, const sal_Int16 nColorFormatType)
 
virtual sal_Int32 SAL_CALL getRGB () override
 
virtual void SAL_CALL setRGB (sal_Int32 _rgb) override
 
virtual sal_Int32 SAL_CALL getSchemeColor () override
 
virtual void SAL_CALL setSchemeColor (sal_Int32 _schemecolor) 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
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetm_xPropertySet
 
ScVbaFillFormatm_pFillFormat
 
sal_Int16 m_nColorFormatType
 
sal_Int32 m_nFillFormatBackColor
 

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 92 of file vbacolorformat.hxx.

Constructor & Destructor Documentation

◆ ScVbaColorFormat()

ScVbaColorFormat::ScVbaColorFormat ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< ov::XHelperInterface > &  xInternalParent,
const css::uno::Reference< css::drawing::XShape > &  xShape,
const sal_Int16  nColorFormatType 
)

Definition at line 42 of file vbacolorformat.cxx.

References m_nFillFormatBackColor, m_pFillFormat, and m_xPropertySet.

Member Function Documentation

◆ getRGB()

sal_Int32 SAL_CALL ScVbaColorFormat::getRGB ( )
overridevirtual

◆ getSchemeColor()

sal_Int32 SAL_CALL ScVbaColorFormat::getSchemeColor ( )
overridevirtual

Definition at line 115 of file vbacolorformat.cxx.

References MsoColorIndices::getColorIndex(), getRGB(), and i.

◆ getServiceImplName()

OUString ScVbaColorFormat::getServiceImplName ( )
overrideprotectedvirtual

◆ getServiceNames()

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

◆ setRGB()

void SAL_CALL ScVbaColorFormat::setRGB ( sal_Int32  _rgb)
overridevirtual

◆ setSchemeColor()

void SAL_CALL ScVbaColorFormat::setSchemeColor ( sal_Int32  _schemecolor)
overridevirtual

Definition at line 145 of file vbacolorformat.cxx.

References MsoColorIndices::getColorIndex(), and setRGB().

Member Data Documentation

◆ m_nColorFormatType

sal_Int16 ScVbaColorFormat::m_nColorFormatType
private

Definition at line 97 of file vbacolorformat.hxx.

Referenced by getRGB(), and setRGB().

◆ m_nFillFormatBackColor

sal_Int32 ScVbaColorFormat::m_nFillFormatBackColor
private

Definition at line 98 of file vbacolorformat.hxx.

Referenced by getRGB(), ScVbaColorFormat(), and setRGB().

◆ m_pFillFormat

ScVbaFillFormat* ScVbaColorFormat::m_pFillFormat
private

Definition at line 96 of file vbacolorformat.hxx.

Referenced by ScVbaColorFormat(), and setRGB().

◆ m_xPropertySet

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

Definition at line 95 of file vbacolorformat.hxx.

Referenced by getRGB(), ScVbaColorFormat(), and setRGB().


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