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

Simple implementation of the Characters symbol for drawing button objects. More...

#include <vbasheetobject.hxx>

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

Public Member Functions

 ScVbaButtonCharacters (const css::uno::Reference< ov::XHelperInterface > &rxParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::beans::XPropertySet > &rxPropSet, const ScVbaPalette &rPalette, const css::uno::Any &rStart, const css::uno::Any &rLength)
 
virtual ~ScVbaButtonCharacters () override
 
virtual OUString SAL_CALL getCaption () override
 
virtual void SAL_CALL setCaption (const OUString &rCaption) override
 
virtual OUString SAL_CALL getText () override
 
virtual void SAL_CALL setText (const OUString &rText) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Reference< ov::excel::XFont > SAL_CALL getFont () override
 
virtual void SAL_CALL setFont (const css::uno::Reference< ov::excel::XFont > &rxFont) override
 
virtual void SAL_CALL Insert (const OUString &rString) override
 
virtual void SAL_CALL Delete () 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

OUString getFullString () const
 
void setFullString (const OUString &rString)
 

Private Attributes

ScVbaPalette maPalette
 
css::uno::Reference< css::beans::XPropertySetmxPropSet
 
sal_Int32 mnStart
 
sal_Int32 mnLength
 

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

Simple implementation of the Characters symbol for drawing button objects.

Definition at line 37 of file vbasheetobject.hxx.

Constructor & Destructor Documentation

◆ ScVbaButtonCharacters()

ScVbaButtonCharacters::ScVbaButtonCharacters ( const css::uno::Reference< ov::XHelperInterface > &  rxParent,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::beans::XPropertySet > &  rxPropSet,
const ScVbaPalette rPalette,
const css::uno::Any &  rStart,
const css::uno::Any &  rLength 
)
explicit
Exceptions
css::uno::RuntimeException

Definition at line 53 of file vbasheetobject.cxx.

References mnLength, mnStart, and SAL_MAX_INT32.

◆ ~ScVbaButtonCharacters()

ScVbaButtonCharacters::~ScVbaButtonCharacters ( )
overridevirtual

Definition at line 74 of file vbasheetobject.cxx.

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaButtonCharacters::Delete ( )
overridevirtual

Definition at line 142 of file vbasheetobject.cxx.

References setCaption().

◆ getCaption()

OUString SAL_CALL ScVbaButtonCharacters::getCaption ( )
overridevirtual

Definition at line 80 of file vbasheetobject.cxx.

References getFullString(), mnLength, mnStart, and nLength.

Referenced by getText().

◆ getCount()

sal_Int32 SAL_CALL ScVbaButtonCharacters::getCount ( )
overridevirtual

Definition at line 104 of file vbasheetobject.cxx.

References getFullString().

◆ getFont()

uno::Reference< excel::XFont > SAL_CALL ScVbaButtonCharacters::getFont ( )
overridevirtual

◆ getFullString()

OUString ScVbaButtonCharacters::getFullString ( ) const
private
Exceptions
css::uno::RuntimeException

Definition at line 157 of file vbasheetobject.cxx.

Referenced by getCaption(), getCount(), and setCaption().

◆ getText()

OUString SAL_CALL ScVbaButtonCharacters::getText ( )
overridevirtual

Definition at line 110 of file vbasheetobject.cxx.

References getCaption().

◆ Insert()

void SAL_CALL ScVbaButtonCharacters::Insert ( const OUString &  rString)
overridevirtual

Definition at line 134 of file vbasheetobject.cxx.

References setCaption().

◆ setCaption()

void SAL_CALL ScVbaButtonCharacters::setCaption ( const OUString &  rCaption)
overridevirtual

Definition at line 89 of file vbasheetobject.cxx.

References getFullString(), mnLength, mnStart, nLength, and setFullString().

Referenced by Delete(), Insert(), and setText().

◆ setFont()

void SAL_CALL ScVbaButtonCharacters::setFont ( const css::uno::Reference< ov::excel::XFont > &  rxFont)
overridevirtual

Definition at line 127 of file vbasheetobject.cxx.

◆ setFullString()

void ScVbaButtonCharacters::setFullString ( const OUString &  rString)
private
Exceptions
css::uno::RuntimeException

Definition at line 162 of file vbasheetobject.cxx.

References mxPropSet.

Referenced by setCaption().

◆ setText()

void SAL_CALL ScVbaButtonCharacters::setText ( const OUString &  rText)
overridevirtual

Definition at line 116 of file vbasheetobject.cxx.

References setCaption().

Member Data Documentation

◆ maPalette

ScVbaPalette ScVbaButtonCharacters::maPalette
private

Definition at line 73 of file vbasheetobject.hxx.

Referenced by getFont().

◆ mnLength

sal_Int32 ScVbaButtonCharacters::mnLength
private

Definition at line 76 of file vbasheetobject.hxx.

Referenced by getCaption(), ScVbaButtonCharacters(), and setCaption().

◆ mnStart

sal_Int32 ScVbaButtonCharacters::mnStart
private

Definition at line 75 of file vbasheetobject.hxx.

Referenced by getCaption(), ScVbaButtonCharacters(), and setCaption().

◆ mxPropSet

css::uno::Reference< css::beans::XPropertySet > ScVbaButtonCharacters::mxPropSet
private

Definition at line 74 of file vbasheetobject.hxx.

Referenced by getFont(), and setFullString().


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