LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ScShapeObj Class Referencefinal

#include <shapeuno.hxx>

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

Public Member Functions

 ScShapeObj (css::uno::Reference< css::drawing::XShape > &xShape)
 
virtual ~ScShapeObj () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override
 
virtual void SAL_CALL removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor () override
 
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
 
virtual void SAL_CALL insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override
 
virtual void SAL_CALL insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd () override
 
virtual OUString SAL_CALL getString () override
 
virtual void SAL_CALL setString (const OUString &aString) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &xParent) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents () 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
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Static Public Member Functions

static const SvEventDescriptionGetSupportedMacroItems ()
 

Private Member Functions

SdrObjectGetSdrObject () const noexcept
 
void GetShapePropertySet ()
 
void GetShapePropertyState ()
 

Private Attributes

css::uno::Reference< css::uno::XAggregation > mxShapeAgg
 
css::beans::XPropertySetpShapePropertySet
 
css::beans::XPropertyState * pShapePropertyState
 
css::uno::Reference< css::beans::XPropertySetInfo > mxPropSetInfo
 
bool bIsTextShape
 
bool bIsNoteCaption
 

Friends

class ShapeUnoEventAccessImpl
 
ScMacroInfoScShapeObj_getShapeHyperMacroInfo (const ScShapeObj *pShape, bool bCreate)
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 59 of file shapeuno.hxx.

Constructor & Destructor Documentation

◆ ScShapeObj()

ScShapeObj::ScShapeObj ( css::uno::Reference< css::drawing::XShape > &  xShape)

◆ ~ScShapeObj()

ScShapeObj::~ScShapeObj ( )
overridevirtual

Definition at line 118 of file shapeuno.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL ScShapeObj::acquire ( )
overridevirtualnoexcept

Definition at line 142 of file shapeuno.cxx.

◆ addEventListener()

void SAL_CALL ScShapeObj::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 1047 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

◆ addPropertyChangeListener()

void SAL_CALL ScShapeObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 858 of file shapeuno.cxx.

References GetShapePropertySet(), and pShapePropertySet.

◆ addVetoableChangeListener()

void SAL_CALL ScShapeObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 878 of file shapeuno.cxx.

References GetShapePropertySet(), and pShapePropertySet.

◆ attach()

void SAL_CALL ScShapeObj::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

Definition at line 996 of file shapeuno.cxx.

◆ createTextCursor()

uno::Reference< text::XTextCursor > SAL_CALL ScShapeObj::createTextCursor ( )
overridevirtual

Definition at line 1125 of file shapeuno.cxx.

References mxShapeAgg.

◆ createTextCursorByRange()

uno::Reference< text::XTextCursor > SAL_CALL ScShapeObj::createTextCursorByRange ( const css::uno::Reference< css::text::XTextRange > &  aTextPosition)
overridevirtual

Definition at line 1141 of file shapeuno.cxx.

References SvxUnoTextRangeBase::GetSelection(), and mxShapeAgg.

◆ dispose()

void SAL_CALL ScShapeObj::dispose ( void  )
overridevirtual

Definition at line 1038 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL ScShapeObj::getAnchor ( )
overridevirtual

◆ getEnd()

uno::Reference< text::XTextRange > SAL_CALL ScShapeObj::getEnd ( )
overridevirtual

Definition at line 1206 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

◆ getEvents()

uno::Reference< container::XNameReplace > SAL_CALL ScShapeObj::getEvents ( )
overridevirtual

Definition at line 1406 of file shapeuno.cxx.

References ShapeUnoEventAccessImpl.

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL ScShapeObj::getImplementationId ( )
overridevirtual

Reimplemented from cppu::ImplHelper1< class Ifc1 >.

Definition at line 1299 of file shapeuno.cxx.

◆ getImplementationName()

OUString SAL_CALL ScShapeObj::getImplementationName ( )
overridevirtual

Definition at line 1411 of file shapeuno.cxx.

◆ getParent()

uno::Reference< uno::XInterface > SAL_CALL ScShapeObj::getParent ( )
overridevirtual

◆ getPropertyDefault()

uno::Any SAL_CALL ScShapeObj::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScShapeObj::getPropertySetInfo ( )
overridevirtual

◆ getPropertyState()

beans::PropertyState SAL_CALL ScShapeObj::getPropertyState ( const OUString &  PropertyName)
overridevirtual

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SAL_CALL ScShapeObj::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

Definition at line 931 of file shapeuno.cxx.

◆ getPropertyValue()

uno::Any SAL_CALL ScShapeObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ GetSdrObject()

SdrObject * ScShapeObj::GetSdrObject ( ) const
privatenoexcept

◆ GetShapePropertySet()

void ScShapeObj::GetShapePropertySet ( )
private

◆ GetShapePropertyState()

void ScShapeObj::GetShapePropertyState ( )
private

Definition at line 166 of file shapeuno.cxx.

References mxShapeAgg, and pShapePropertyState.

Referenced by getPropertyDefault(), getPropertyState(), and setPropertyToDefault().

◆ getStart()

uno::Reference< text::XTextRange > SAL_CALL ScShapeObj::getStart ( )
overridevirtual

Definition at line 1195 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

◆ getString()

OUString SAL_CALL ScShapeObj::getString ( )
overridevirtual

Definition at line 1217 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

◆ GetSupportedMacroItems()

const SvEventDescription * ScShapeObj::GetSupportedMacroItems ( )
static

Definition at line 67 of file shapeuno.cxx.

Referenced by getPropertyValue(), and ScServiceProvider::MakeInstance().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScShapeObj::getSupportedServiceNames ( )
overridevirtual

Definition at line 1421 of file shapeuno.cxx.

References bIsNoteCaption, and mxShapeAgg.

◆ getText()

uno::Reference< text::XText > SAL_CALL ScShapeObj::getText ( )
overridevirtual

Definition at line 1190 of file shapeuno.cxx.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL ScShapeObj::getTypes ( )
overridevirtual

◆ insertControlCharacter()

void SAL_CALL ScShapeObj::insertControlCharacter ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Int16  nControlCharacter,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 1175 of file shapeuno.cxx.

References lcl_GetSimpleText(), and mxShapeAgg.

◆ insertString()

void SAL_CALL ScShapeObj::insertString ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const OUString &  aString,
sal_Bool  bAbsorb 
)
overridevirtual

Definition at line 1163 of file shapeuno.cxx.

References lcl_GetSimpleText(), and mxShapeAgg.

◆ insertTextContent()

void SAL_CALL ScShapeObj::insertTextContent ( const css::uno::Reference< css::text::XTextRange > &  xRange,
const css::uno::Reference< css::text::XTextContent > &  xContent,
sal_Bool  bAbsorb 
)
overridevirtual

◆ queryInterface()

uno::Any SAL_CALL ScShapeObj::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ release()

void SAL_CALL ScShapeObj::release ( )
overridevirtualnoexcept

Definition at line 147 of file shapeuno.cxx.

◆ removeEventListener()

void SAL_CALL ScShapeObj::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

Definition at line 1057 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

◆ removePropertyChangeListener()

void SAL_CALL ScShapeObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 868 of file shapeuno.cxx.

References GetShapePropertySet(), and pShapePropertySet.

◆ removeTextContent()

void SAL_CALL ScShapeObj::removeTextContent ( const css::uno::Reference< css::text::XTextContent > &  xContent)
overridevirtual

Definition at line 1111 of file shapeuno.cxx.

References lcl_GetText(), mxShapeAgg, and xContent.

◆ removeVetoableChangeListener()

void SAL_CALL ScShapeObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 888 of file shapeuno.cxx.

References GetShapePropertySet(), and pShapePropertySet.

◆ setParent()

void SAL_CALL ScShapeObj::setParent ( const css::uno::Reference< css::uno::XInterface > &  xParent)
overridevirtual

Definition at line 1272 of file shapeuno.cxx.

◆ setPropertyToDefault()

void SAL_CALL ScShapeObj::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScShapeObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setString()

void SAL_CALL ScShapeObj::setString ( const OUString &  aString)
overridevirtual

Definition at line 1228 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

◆ supportsService()

sal_Bool SAL_CALL ScShapeObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1416 of file shapeuno.cxx.

References ServiceName, and cppu::supportsService().

Friends And Related Function Documentation

◆ ScShapeObj_getShapeHyperMacroInfo

ScMacroInfo * ScShapeObj_getShapeHyperMacroInfo ( const ScShapeObj pShape,
bool  bCreate = false 
)
friend

Definition at line 75 of file shapeuno.cxx.

◆ ShapeUnoEventAccessImpl

friend class ShapeUnoEventAccessImpl
friend

Definition at line 78 of file shapeuno.hxx.

Referenced by getEvents().

Member Data Documentation

◆ bIsNoteCaption

bool ScShapeObj::bIsNoteCaption
private

Definition at line 71 of file shapeuno.hxx.

Referenced by getSupportedServiceNames(), queryInterface(), and ScShapeObj().

◆ bIsTextShape

bool ScShapeObj::bIsTextShape
private

Definition at line 70 of file shapeuno.hxx.

Referenced by getTypes(), queryInterface(), and ScShapeObj().

◆ mxPropSetInfo

css::uno::Reference< css::beans::XPropertySetInfo > ScShapeObj::mxPropSetInfo
private

Definition at line 69 of file shapeuno.hxx.

Referenced by getPropertySetInfo().

◆ mxShapeAgg

css::uno::Reference< css::uno::XAggregation > ScShapeObj::mxShapeAgg
private

◆ pShapePropertySet

css::beans::XPropertySet* ScShapeObj::pShapePropertySet
private

◆ pShapePropertyState

css::beans::XPropertyState* ScShapeObj::pShapePropertyState
private

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