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

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

Member Function Documentation

◆ Delete()

void SAL_CALL ScVbaCharacters::Delete ( )
overridevirtual

Definition at line 112 of file vbacharacters.cxx.

References m_xSimpleText.

◆ getCaption()

OUString SAL_CALL ScVbaCharacters::getCaption ( )
overridevirtual

Definition at line 64 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by getCount(), and getText().

◆ getCount()

sal_Int32 SAL_CALL ScVbaCharacters::getCount ( )
override

Definition at line 76 of file vbacharacters.cxx.

References getCaption().

◆ getFont()

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

◆ getServiceImplName()

OUString ScVbaCharacters::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getText()

OUString SAL_CALL ScVbaCharacters::getText ( )
overridevirtual

Definition at line 82 of file vbacharacters.cxx.

References getCaption().

◆ Insert()

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

Definition at line 106 of file vbacharacters.cxx.

References bReplace, m_xSimpleText, and m_xTextRange.

◆ setCaption()

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

Definition at line 69 of file vbacharacters.cxx.

References m_xTextRange.

Referenced by setText().

◆ setFont()

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

Definition at line 98 of file vbacharacters.cxx.

◆ setText()

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

Definition at line 87 of file vbacharacters.cxx.

References setCaption().

Member Data Documentation

◆ bReplace

bool ScVbaCharacters::bReplace
private

Definition at line 36 of file vbacharacters.hxx.

Referenced by Insert().

◆ m_aPalette

ScVbaPalette ScVbaCharacters::m_aPalette
private

Definition at line 34 of file vbacharacters.hxx.

Referenced by getFont().

◆ m_xSimpleText

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

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
private

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: