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
 
- Public Member Functions inherited from cppu::ImplHelper1< class >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) 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 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 59 of file shapeuno.hxx.

Constructor & Destructor Documentation

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

Definition at line 118 of file shapeuno.cxx.

Member Function Documentation

void SAL_CALL ScShapeObj::acquire ( )
overridevirtualnoexcept

Definition at line 142 of file shapeuno.cxx.

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

Definition at line 1049 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

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.

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.

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

Definition at line 996 of file shapeuno.cxx.

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

Definition at line 1128 of file shapeuno.cxx.

References mxShapeAgg.

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

Definition at line 1144 of file shapeuno.cxx.

References mxShapeAgg.

void SAL_CALL ScShapeObj::dispose ( void  )
overridevirtual

Definition at line 1040 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

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

Definition at line 1209 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

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

Definition at line 1411 of file shapeuno.cxx.

References ShapeUnoEventAccessImpl.

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

Reimplemented from cppu::ImplHelper1< class >.

Definition at line 1302 of file shapeuno.cxx.

OUString SAL_CALL ScShapeObj::getImplementationName ( )
overridevirtual

Definition at line 1416 of file shapeuno.cxx.

uno::Reference< uno::XInterface > SAL_CALL ScShapeObj::getParent ( )
overridevirtual
uno::Any SAL_CALL ScShapeObj::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL ScShapeObj::getPropertySetInfo ( )
overridevirtual
beans::PropertyState SAL_CALL ScShapeObj::getPropertyState ( const OUString &  PropertyName)
overridevirtual
uno::Sequence< beans::PropertyState > SAL_CALL ScShapeObj::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

Definition at line 931 of file shapeuno.cxx.

References getPropertyState().

uno::Any SAL_CALL ScShapeObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
SdrObject * ScShapeObj::GetSdrObject ( ) const
privatenoexcept
void ScShapeObj::GetShapePropertySet ( )
private
void ScShapeObj::GetShapePropertyState ( )
private

Definition at line 166 of file shapeuno.cxx.

References mxShapeAgg, and pShapePropertyState.

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

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

Definition at line 1198 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

OUString SAL_CALL ScShapeObj::getString ( )
overridevirtual

Definition at line 1220 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

const SvEventDescription * ScShapeObj::GetSupportedMacroItems ( )
static

Definition at line 67 of file shapeuno.cxx.

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

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

Definition at line 1426 of file shapeuno.cxx.

References bIsNoteCaption, and mxShapeAgg.

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

Definition at line 1193 of file shapeuno.cxx.

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

Reimplemented from cppu::ImplHelper1< class >.

Definition at line 1282 of file shapeuno.cxx.

References bIsTextShape, cppu::ImplHelper1< class >::getTypes(), and mxShapeAgg.

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

Definition at line 1178 of file shapeuno.cxx.

References lcl_GetSimpleText(), and mxShapeAgg.

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

Definition at line 1166 of file shapeuno.cxx.

References lcl_GetSimpleText(), and mxShapeAgg.

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
uno::Any SAL_CALL ScShapeObj::queryInterface ( const css::uno::Type &  rType)
overridevirtual
void SAL_CALL ScShapeObj::release ( )
overridevirtualnoexcept

Definition at line 147 of file shapeuno.cxx.

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

Definition at line 1059 of file shapeuno.cxx.

References lcl_GetComponent(), and mxShapeAgg.

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.

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

Definition at line 1114 of file shapeuno.cxx.

References lcl_GetText(), and mxShapeAgg.

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.

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

Definition at line 1275 of file shapeuno.cxx.

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

Definition at line 1231 of file shapeuno.cxx.

References lcl_GetTextRange(), and mxShapeAgg.

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

Definition at line 1421 of file shapeuno.cxx.

References cppu::supportsService().

Friends And Related Function Documentation

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

Definition at line 75 of file shapeuno.cxx.

friend class ShapeUnoEventAccessImpl
friend

Definition at line 78 of file shapeuno.hxx.

Referenced by getEvents().

Member Data Documentation

bool ScShapeObj::bIsNoteCaption
private

Definition at line 71 of file shapeuno.hxx.

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

bool ScShapeObj::bIsTextShape
private

Definition at line 70 of file shapeuno.hxx.

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

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

Definition at line 69 of file shapeuno.hxx.

Referenced by getPropertySetInfo().

css::uno::Reference< css::uno::XAggregation > ScShapeObj::mxShapeAgg
private
css::beans::XPropertySet* ScShapeObj::pShapePropertySet
private
css::beans::XPropertyState* ScShapeObj::pShapePropertyState
private

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