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

#include <vbacharacters.hxx>

Inheritance diagram for ScVbaCharacters:
Collaboration diagram for ScVbaCharacters:

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

Constructor & Destructor Documentation

◆ ScVbaCharacters()

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 

Definition at line 28 of file vbacharacters.cxx.

References m_xSimpleText, m_xTextRange, nLength, Replace, and Start.

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaCharacters::Delete ( )

Definition at line 111 of file vbacharacters.cxx.

References m_xSimpleText.

◆ getCaption()

OUString SAL_CALL ScVbaCharacters::getCaption ( )

Definition at line 63 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by getCount(), and getText().

◆ getCount()

sal_Int32 SAL_CALL ScVbaCharacters::getCount ( )

Definition at line 75 of file vbacharacters.cxx.

References getCaption().

◆ getFont()

uno::Reference< excel::XFont > SAL_CALL ScVbaCharacters::getFont ( )

◆ getServiceImplName()

OUString ScVbaCharacters::getServiceImplName ( )

◆ getServiceNames()

uno::Sequence< OUString > ScVbaCharacters::getServiceNames ( )

◆ getText()

OUString SAL_CALL ScVbaCharacters::getText ( )

Definition at line 81 of file vbacharacters.cxx.

References getCaption().

◆ Insert()

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

Definition at line 105 of file vbacharacters.cxx.

References bReplace, m_xSimpleText, and m_xTextRange.

◆ setCaption()

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

Definition at line 68 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by setText().

◆ setFont()

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

Definition at line 97 of file vbacharacters.cxx.

◆ setText()

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

Definition at line 86 of file vbacharacters.cxx.

References setCaption().

Member Data Documentation

◆ bReplace

bool ScVbaCharacters::bReplace

Definition at line 36 of file vbacharacters.hxx.

Referenced by Insert().

◆ m_aPalette

ScVbaPalette ScVbaCharacters::m_aPalette

Definition at line 34 of file vbacharacters.hxx.

Referenced by getFont().

◆ m_xSimpleText

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

Definition at line 33 of file vbacharacters.hxx.

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

◆ m_xTextRange

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

Definition at line 32 of file vbacharacters.hxx.

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

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