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

#include <vbacharacters.hxx>

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

Public Member Functions

 ScVbaCharacters (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const ScVbaPalette &dPalette, const css::uno::Reference< css::text::XSimpleText > &xRange, const css::uno::Any &Start, const css::uno::Any &Length, bool bReplace=false)
 
virtual OUString SAL_CALL getCaption () override
 
virtual void SAL_CALL setCaption (const OUString &_caption) override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual OUString SAL_CALL getText () override
 
virtual void SAL_CALL setText (const OUString &_text) override
 
virtual css::uno::Reference< ov::excel::XFont > SAL_CALL getFont () override
 
virtual void SAL_CALL setFont (const css::uno::Reference< ov::excel::XFont > &_font) override
 
virtual void SAL_CALL Insert (const OUString &String) override
 
virtual void SAL_CALL Delete () 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 Attributes

css::uno::Reference< css::text::XTextRange > m_xTextRange
 
css::uno::Reference< css::text::XSimpleText > m_xSimpleText
 
ScVbaPalette m_aPalette
 
bool bReplace
 

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 30 of file vbacharacters.hxx.

Constructor & Destructor Documentation

ScVbaCharacters::ScVbaCharacters ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const ScVbaPalette dPalette,
const css::uno::Reference< css::text::XSimpleText > &  xRange,
const css::uno::Any &  Start,
const css::uno::Any &  Length,
bool  bReplace = false 
)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 28 of file vbacharacters.cxx.

References m_xSimpleText, m_xTextRange, and nLength.

Member Function Documentation

void SAL_CALL ScVbaCharacters::Delete ( )
overridevirtual

Definition at line 111 of file vbacharacters.cxx.

References m_xSimpleText.

OUString SAL_CALL ScVbaCharacters::getCaption ( )
overridevirtual

Definition at line 63 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by getCount(), and getText().

sal_Int32 SAL_CALL ScVbaCharacters::getCount ( )
override

Definition at line 75 of file vbacharacters.cxx.

References getCaption().

uno::Reference< excel::XFont > SAL_CALL ScVbaCharacters::getFont ( )
overridevirtual
OUString ScVbaCharacters::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaCharacters::getServiceNames ( )
overridevirtual
OUString SAL_CALL ScVbaCharacters::getText ( )
overridevirtual

Definition at line 81 of file vbacharacters.cxx.

References getCaption().

void SAL_CALL ScVbaCharacters::Insert ( const OUString &  String)
overridevirtual

Definition at line 105 of file vbacharacters.cxx.

References bReplace, m_xSimpleText, and m_xTextRange.

void SAL_CALL ScVbaCharacters::setCaption ( const OUString &  _caption)
overridevirtual

Definition at line 68 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by setText().

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

Definition at line 97 of file vbacharacters.cxx.

void SAL_CALL ScVbaCharacters::setText ( const OUString &  _text)
overridevirtual

Definition at line 86 of file vbacharacters.cxx.

References setCaption().

Member Data Documentation

bool ScVbaCharacters::bReplace
private

Definition at line 37 of file vbacharacters.hxx.

Referenced by Insert().

ScVbaPalette ScVbaCharacters::m_aPalette
private

Definition at line 35 of file vbacharacters.hxx.

Referenced by getFont().

css::uno::Reference< css::text::XSimpleText > ScVbaCharacters::m_xSimpleText
private

Definition at line 34 of file vbacharacters.hxx.

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

css::uno::Reference< css::text::XTextRange > ScVbaCharacters::m_xTextRange
private

Definition at line 33 of file vbacharacters.hxx.

Referenced by getCaption(), getFont(), Insert(), ScVbaCharacters(), and setCaption().


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