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< 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 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 38 of file vbasheetobject.hxx.

Constructor & Destructor Documentation

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 43 of file vbasheetobject.cxx.

References mnLength, mnStart, and SAL_MAX_INT32.

ScVbaButtonCharacters::~ScVbaButtonCharacters ( )
overridevirtual

Definition at line 64 of file vbasheetobject.cxx.

Member Function Documentation

void SAL_CALL ScVbaButtonCharacters::Delete ( )
overridevirtual

Definition at line 132 of file vbasheetobject.cxx.

References setCaption().

OUString SAL_CALL ScVbaButtonCharacters::getCaption ( )
overridevirtual

Definition at line 70 of file vbasheetobject.cxx.

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

Referenced by getText().

sal_Int32 SAL_CALL ScVbaButtonCharacters::getCount ( )
overridevirtual

Definition at line 94 of file vbasheetobject.cxx.

References getFullString().

uno::Reference< excel::XFont > SAL_CALL ScVbaButtonCharacters::getFont ( )
overridevirtual
OUString ScVbaButtonCharacters::getFullString ( ) const
private
Exceptions
css::uno::RuntimeException

Definition at line 147 of file vbasheetobject.cxx.

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

OUString SAL_CALL ScVbaButtonCharacters::getText ( )
overridevirtual

Definition at line 100 of file vbasheetobject.cxx.

References getCaption().

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

Definition at line 124 of file vbasheetobject.cxx.

References setCaption().

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

Definition at line 79 of file vbasheetobject.cxx.

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

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

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

Definition at line 117 of file vbasheetobject.cxx.

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

Definition at line 152 of file vbasheetobject.cxx.

References mxPropSet.

Referenced by setCaption().

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

Definition at line 106 of file vbasheetobject.cxx.

References setCaption().

Member Data Documentation

ScVbaPalette ScVbaButtonCharacters::maPalette
private

Definition at line 74 of file vbasheetobject.hxx.

Referenced by getFont().

sal_Int32 ScVbaButtonCharacters::mnLength
private

Definition at line 77 of file vbasheetobject.hxx.

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

sal_Int32 ScVbaButtonCharacters::mnStart
private

Definition at line 76 of file vbasheetobject.hxx.

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

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

Definition at line 75 of file vbasheetobject.hxx.

Referenced by getFont(), and setFullString().


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