LibreOffice Module svx (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxShape Class Reference

#include <unoshape.hxx>

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

Public Member Functions

 SvxShape (SdrObject *pObj)
 
 SvxShape (SdrObject *pObject, o3tl::span< const SfxItemPropertyMapEntry > pEntries, const SvxItemPropertySet *pPropertySet)
 
virtual ~SvxShape () noexcept override
 
void ObtainSettingsFromPropertySet (const SvxItemPropertySet &rPropSet)
 
virtual void Create (SdrObject *pNewOpj, SvxDrawPage *pNewPage)
 
void InvalidateSdrObject ()
 
SdrObjectGetSdrObject () const
 
bool HasSdrObject () const
 
void SetShapeType (const OUString &ShapeType)
 
css::uno::Any GetBitmap (bool bMetaFile=false) const
 
void notifyPropertyChange (svx::ShapePropertyProviderId eProp)
 
void registerProvider (svx::ShapePropertyProviderId eProp, std::unique_ptr< svx::PropertyValueProvider > provider)
 
void setShapeKind (SdrObjKind nKind)
 
SdrObjKind getShapeKind () const
 
css::uno::Reference< css::beans::XPropertySetInfo > const & _getPropertySetInfo ()
 same as SetFillAttribute but for property names instead of which ids, and the property found is returned instead of set at the object directly. More...
 
void _setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue)
 
css::uno::Any _getPropertyValue (const OUString &PropertyName)
 
css::beans::PropertyState _getPropertyState (const OUString &PropertyName)
 
void _setPropertyToDefault (const OUString &PropertyName)
 
css::uno::Any _getPropertyDefault (const OUString &aPropertyName)
 
css::uno::Sequence< OUString > _getSupportedServiceNames ()
 
css::uno::Sequence< css::uno::Type > const & _getTypes ()
 
void setMaster (SvxShapeMaster *pMaster)
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) noexcept override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &aType) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getShapeType () override
 
virtual css::awt::Point SAL_CALL getPosition () override
 
virtual void SAL_CALL setPosition (const css::awt::Point &aPosition) override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual void SAL_CALL setSize (const css::awt::Size &aSize) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) 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 void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) 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 setAllPropertiesToDefault () override
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Reference< css::container::XIndexContainer > SAL_CALL getGluePoints () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual sal_Bool SAL_CALL isActionLocked () override
 
virtual void SAL_CALL addActionLock () override
 
virtual void SAL_CALL removeActionLock () override
 
virtual void SAL_CALL setActionLocks (sal_Int16 nLock) override
 
virtual sal_Int16 SAL_CALL resetActionLocks () override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Static Public Member Functions

static bool SetFillAttribute (sal_uInt16 nWID, const OUString &rName, SfxItemSet &rSet, SdrModel const *pModel)
 
static bool SetFillAttribute (sal_uInt16 nWID, const OUString &rName, SfxItemSet &rSet)
 

Protected Member Functions

void ForceMetricToItemPoolMetric (Pair &rPoint) const noexcept
 
void ForceMetricToItemPoolMetric (Point &rPoint) const noexcept
 
void ForceMetricToItemPoolMetric (Size &rPoint) const noexcept
 
void ForceMetricTo100th_mm (Pair &rPoint) const noexcept
 
void ForceMetricTo100th_mm (Point &rPoint) const noexcept
 
void ForceMetricTo100th_mm (Size &rPoint) const noexcept
 
void ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept
 
void ForceMetricTo100th_mm (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept
 
void ForceMetricToItemPoolMetric (basegfx::B2DHomMatrix &rB2DHomMatrix) const noexcept
 
void ForceMetricTo100th_mm (basegfx::B2DHomMatrix &rB2DHomMatrix) const noexcept
 
css::uno::Any GetAnyForItem (SfxItemSet const &aSet, const SfxItemPropertyMapEntry *pMap) const
 
bool SetFillAttribute (sal_uInt16 nWID, const OUString &rName)
 
virtual void lock ()
 called from the XActionLockable interface methods on initial locking More...
 
virtual void unlock ()
 called from the XActionLockable interface methods on final unlock More...
 
o3tl::span< const SfxItemPropertyMapEntrygetPropertyMapEntries () const
 
void updateShapeKind ()
 since polygon shapes can change their kind during editing, we have to recheck it here. More...
 
void endSetPropertyValues ()
 
virtual bool setPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, const css::uno::Any &rValue)
 
virtual bool getPropertyValueImpl (const OUString &rName, const SfxItemPropertyMapEntry *pProperty, css::uno::Any &rValue)
 
virtual bool getPropertyStateImpl (const SfxItemPropertyMapEntry *pProperty, css::beans::PropertyState &rState)
 
virtual bool setPropertyToDefaultImpl (const SfxItemPropertyMapEntry *pProperty)
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Private Member Functions

SVX_DLLPRIVATE void impl_initFromSdrObject ()
 initializes SdrObj-dependent members. More...
 
SVX_DLLPRIVATE void impl_construct ()
 CTOR-Impl. More...
 

Private Attributes

std::mutex m_aMutex
 
css::awt::Size maSize
 
css::awt::Point maPosition
 
OUString maShapeType
 
OUString maShapeName
 
std::unique_ptr< SvxShapeImplmpImpl
 these members are used to optimize XMultiProperty calls More...
 
bool mbIsMultiPropertyCall
 
css::uno::WeakReference< css::container::XIndexContainer > mxGluePoints
 
const SvxItemPropertySetmpPropSet
 
SvxItemPropertySetUsrAnys maUrsAnys
 
o3tl::span< const SfxItemPropertyMapEntrymaPropMapEntries
 
rtl::Reference< SdrObjectmxSdrObject
 
sal_uInt16 mnLockCount
 used from the XActionLockable interface More...
 

Friends

class SvxDrawPage
 
class SvxShapeConnector
 
class SdXShape
 

Additional Inherited Members

- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 99 of file unoshape.hxx.

Constructor & Destructor Documentation

◆ SvxShape() [1/2]

SvxShape::SvxShape ( SdrObject pObj)
Exceptions
css::uno::RuntimeException

Definition at line 195 of file unoshape.cxx.

References impl_construct(), maSize, and pObject.

◆ SvxShape() [2/2]

SvxShape::SvxShape ( SdrObject pObject,
o3tl::span< const SfxItemPropertyMapEntry pEntries,
const SvxItemPropertySet pPropertySet 
)
Exceptions
css::uno::RuntimeException

Definition at line 208 of file unoshape.cxx.

References impl_construct(), maSize, and pObject.

◆ ~SvxShape()

SvxShape::~SvxShape ( )
overridevirtualnoexcept

Member Function Documentation

◆ _getPropertyDefault()

uno::Any SvxShape::_getPropertyDefault ( const OUString &  aPropertyName)
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Definition at line 3075 of file unoshape.cxx.

References GetAnyForItem(), SvxItemPropertySet::getPropertyMapEntry(), getPropertyValue(), GetSdrObject(), HasSdrObject(), SfxItemPool::IsWhich(), mpPropSet, SfxItemPropertyMapEntry::nWID, SfxItemSet::Put(), SDRATTR_NOTPERSIST_FIRST(), and SDRATTR_NOTPERSIST_LAST().

Referenced by getPropertyDefault().

◆ _getPropertySetInfo()

Reference< beans::XPropertySetInfo > const & SvxShape::_getPropertySetInfo ( )

same as SetFillAttribute but for property names instead of which ids, and the property found is returned instead of set at the object directly.

Exceptions
css::uno::RuntimeException

Definition at line 1270 of file unoshape.cxx.

References SvxItemPropertySet::getPropertySetInfo(), and mpPropSet.

Referenced by getPropertySetInfo().

◆ _getPropertyState()

beans::PropertyState SvxShape::_getPropertyState ( const OUString &  PropertyName)

◆ _getPropertyValue()

uno::Any SvxShape::_getPropertyValue ( const OUString &  PropertyName)

◆ _getSupportedServiceNames()

uno::Sequence< OUString > SvxShape::_getSupportedServiceNames ( )
Exceptions
css::uno::RuntimeException

Definition at line 3213 of file unoshape.cxx.

References aSeq, Caption, CircleArc, CircleCut, CircleOrEllipse, CircleSection, CustomShape, Default, Edge, FmForm, FreehandFill, FreehandLine, SdrObject::GetObjIdentifier(), GetSdrObject(), Graphic, Group, HasSdrObject(), Line, Measure, Media, OLE2, OLEPluginFrame, OutlineText, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, sUNO_service_drawing_CaptionShape, sUNO_service_drawing_ClosedBezierShape, sUNO_service_drawing_ConnectorProperties, sUNO_service_drawing_ConnectorShape, sUNO_service_drawing_ControlShape, sUNO_service_drawing_CustomShape, sUNO_service_drawing_CustomShapeProperties, sUNO_service_drawing_EllipseShape, sUNO_service_drawing_FillProperties, sUNO_service_drawing_FrameShape, sUNO_service_drawing_GraphicObjectShape, sUNO_service_drawing_GroupShape, sUNO_service_drawing_LineProperties, sUNO_service_drawing_LineShape, sUNO_service_drawing_MeasureProperties, sUNO_service_drawing_MeasureShape, sUNO_service_drawing_MediaShape, sUNO_service_drawing_OLE2Shape, sUNO_service_drawing_OpenBezierShape, sUNO_service_drawing_PageShape, sUNO_service_drawing_PolyLineShape, sUNO_service_drawing_PolyPolygonBezierDescriptor, sUNO_service_drawing_PolyPolygonDescriptor, sUNO_service_drawing_PolyPolygonShape, sUNO_service_drawing_RectangleShape, sUNO_service_drawing_RotationDescriptor, sUNO_service_drawing_ShadowProperties, sUNO_service_drawing_Shape, sUNO_service_drawing_Text, sUNO_service_drawing_TextProperties, sUNO_service_drawing_TextShape, sUNO_service_style_CharacterProperties, sUNO_service_style_CharacterPropertiesAsian, sUNO_service_style_CharacterPropertiesComplex, sUNO_service_style_ParagraphProperties, sUNO_service_style_ParagraphPropertiesAsian, sUNO_service_style_ParagraphPropertiesComplex, Text, TitleText, and UNO.

Referenced by getSupportedServiceNames().

◆ _getTypes()

uno::Sequence< uno::Type > const & SvxShape::_getTypes ( )

◆ _setPropertyToDefault()

void SvxShape::_setPropertyToDefault ( const OUString &  PropertyName)

◆ _setPropertyValue()

void SvxShape::_setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)

◆ addActionLock()

void SAL_CALL SvxShape::addActionLock ( )
overridevirtual

Definition at line 3707 of file unoshape.cxx.

References DBG_ASSERT, lock(), and mnLockCount.

◆ addEventListener()

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

Definition at line 1240 of file unoshape.cxx.

References m_aMutex, and mpImpl.

◆ addPropertiesChangeListener()

void SAL_CALL SvxShape::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 1797 of file unoshape.cxx.

◆ addPropertyChangeListener()

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

Definition at line 1276 of file unoshape.cxx.

References m_aMutex, and mpImpl.

◆ addVetoableChangeListener()

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

Definition at line 1290 of file unoshape.cxx.

◆ Create()

void SvxShape::Create ( SdrObject pNewOpj,
SvxDrawPage pNewPage 
)
virtual

◆ dispose()

void SAL_CALL SvxShape::dispose ( void  )
overridevirtual

◆ endSetPropertyValues()

void SvxShape::endSetPropertyValues ( )
protected

Definition at line 1747 of file unoshape.cxx.

References mbIsMultiPropertyCall, and mpImpl.

Referenced by setPropertyValues().

◆ firePropertiesChangeEvent()

void SAL_CALL SvxShape::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 1805 of file unoshape.cxx.

◆ ForceMetricTo100th_mm() [1/5]

void SvxShape::ForceMetricTo100th_mm ( basegfx::B2DHomMatrix rB2DHomMatrix) const
protectednoexcept

◆ ForceMetricTo100th_mm() [2/5]

void SvxShape::ForceMetricTo100th_mm ( basegfx::B2DPolyPolygon rPolyPolygon) const
protectednoexcept

◆ ForceMetricTo100th_mm() [3/5]

void SvxShape::ForceMetricTo100th_mm ( Pair rPoint) const
protectednoexcept

◆ ForceMetricTo100th_mm() [4/5]

void SvxShape::ForceMetricTo100th_mm ( Point rPoint) const
inlineprotectednoexcept

Definition at line 113 of file unoshape.hxx.

References ForceMetricTo100th_mm().

Referenced by ForceMetricTo100th_mm().

◆ ForceMetricTo100th_mm() [5/5]

void SvxShape::ForceMetricTo100th_mm ( Size rPoint) const
inlineprotectednoexcept

Definition at line 114 of file unoshape.hxx.

References ForceMetricTo100th_mm().

Referenced by ForceMetricTo100th_mm().

◆ ForceMetricToItemPoolMetric() [1/5]

void SvxShape::ForceMetricToItemPoolMetric ( basegfx::B2DHomMatrix rB2DHomMatrix) const
protectednoexcept

◆ ForceMetricToItemPoolMetric() [2/5]

void SvxShape::ForceMetricToItemPoolMetric ( basegfx::B2DPolyPolygon rPolyPolygon) const
protectednoexcept

Definition at line 439 of file unoshape.cxx.

References DBG_TESTSOLARMUTEX.

◆ ForceMetricToItemPoolMetric() [3/5]

void SvxShape::ForceMetricToItemPoolMetric ( Pair rPoint) const
protectednoexcept

◆ ForceMetricToItemPoolMetric() [4/5]

void SvxShape::ForceMetricToItemPoolMetric ( Point rPoint) const
inlineprotectednoexcept

Definition at line 110 of file unoshape.hxx.

References ForceMetricToItemPoolMetric().

Referenced by ForceMetricToItemPoolMetric().

◆ ForceMetricToItemPoolMetric() [5/5]

void SvxShape::ForceMetricToItemPoolMetric ( Size rPoint) const
inlineprotectednoexcept

Definition at line 111 of file unoshape.hxx.

References ForceMetricToItemPoolMetric().

Referenced by ForceMetricToItemPoolMetric().

◆ GetAnyForItem()

uno::Any SvxShape::GetAnyForItem ( SfxItemSet const &  aSet,
const SfxItemPropertyMapEntry pMap 
) const
protected

◆ GetBitmap()

uno::Any SvxShape::GetBitmap ( bool  bMetaFile = false) const

◆ getGluePoints()

uno::Reference< container::XIndexContainer > SAL_CALL SvxShape::getGluePoints ( )
overridevirtual

◆ getImplementationId()

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

◆ getImplementationName()

OUString SAL_CALL SvxShape::getImplementationName ( )
overridevirtual

Reimplemented in SvxShapeText.

Definition at line 3151 of file unoshape.cxx.

◆ getName()

OUString SAL_CALL SvxShape::getName ( )
overridevirtual

Definition at line 1159 of file unoshape.cxx.

References SdrObject::GetName(), GetSdrObject(), HasSdrObject(), and maShapeName.

◆ getParent()

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

◆ getPosition()

awt::Point SAL_CALL SvxShape::getPosition ( )
overridevirtual

◆ getPropertyDefault()

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

Reimplemented in SvxShapeControl.

Definition at line 3063 of file unoshape.cxx.

References _getPropertyDefault(), and mpImpl.

Referenced by SvxShapeControl::getPropertyDefault().

◆ getPropertyDefaults()

uno::Sequence< uno::Any > SvxShape::getPropertyDefaults ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 3138 of file unoshape.cxx.

◆ getPropertyMapEntries()

o3tl::span< const SfxItemPropertyMapEntry > SvxShape::getPropertyMapEntries ( ) const
inlineprotected

Definition at line 134 of file unoshape.hxx.

◆ getPropertySetInfo()

Reference< beans::XPropertySetInfo > SAL_CALL SvxShape::getPropertySetInfo ( )
overridevirtual

Definition at line 1257 of file unoshape.cxx.

References _getPropertySetInfo(), and mpImpl.

◆ getPropertyState()

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

Reimplemented in SvxShapeControl.

Definition at line 1891 of file unoshape.cxx.

References _getPropertyState(), and mpImpl.

Referenced by SvxShapeControl::getPropertyState().

◆ getPropertyStateImpl()

bool SvxShape::getPropertyStateImpl ( const SfxItemPropertyMapEntry pProperty,
css::beans::PropertyState &  rState 
)
protectedvirtual

◆ getPropertyStates()

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

Definition at line 3021 of file unoshape.cxx.

References nCount.

◆ getPropertyValue()

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

◆ getPropertyValueImpl()

bool SvxShape::getPropertyValueImpl ( const OUString &  rName,
const SfxItemPropertyMapEntry pProperty,
css::uno::Any &  rValue 
)
protectedvirtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented in SvxTableShape, SvxShapeText, SvxOle2Shape, SvxShapePolyPolygon, SvxGraphicObject, Svx3DSceneObject, Svx3DCubeObject, Svx3DSphereObject, Svx3DLatheObject, Svx3DExtrudeObject, Svx3DPolygonObject, SvxCustomShape, SvxMediaShape, SvxPluginShape, SvxAppletShape, and SvxFrameShape.

Definition at line 2542 of file unoshape.cxx.

References Point::AdjustX(), Point::AdjustY(), aName, aSeq, basegfx::utils::B2DPolyPolygonToUnoPolyPolygonBezierCoords(), ConvertGDIMetaFileToWMF(), VCLUnoHelper::CreateBitmap(), basegfx::utils::createTranslateB2DHomMatrix(), Default, DynCastSdrTextObj(), ForceMetricTo100th_mm(), basegfx::fround(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), basegfx::B2DHomMatrix::get(), SfxItemSet::Get(), SdrObject::GetAnchorPos(), GetBitmap(), SdrEdgeObj::GetConnectedNode(), SvMemoryStream::GetData(), GfxLink::GetData(), GfxLink::GetDataSize(), GetDescription(), SdrEdgeObj::GetEdgeTrackPath(), SvMemoryStream::GetEndOfData(), Graphic::GetGDIMetaFile(), Graphic::GetGfxLink(), SdrEdgeObj::getGluePointIndex(), SdrObject::GetGrabBagItem(), SdrOle2Obj::GetGraphic(), tools::Rectangle::GetHeight(), Size::getHeight(), SdrObject::getHyperlink(), SdrObject::GetLayer(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrObject::GetMergedItemSet(), SdrLayer::GetName(), GetName(), SdrPage::GetPageNum(), SdrMeasureObj::GetPoint(), SdrPageObj::GetReferencedPage(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrEdgeObj::GetTailPoint(), SdrTextObj::GetTextColumnsNumber(), SdrTextObj::GetTextColumnsSpacing(), GetTitle(), GfxLink::GetType(), tools::Rectangle::GetWidth(), Size::getWidth(), GetXShapeForSdrObject(), Graphic, HasSdrObject(), SdrTextObj::HasTextColumnsNumber(), SdrTextObj::HasTextColumnsSpacing(), IsDecorative(), SdrTextObj::IsFontwork(), Graphic::IsGfxLink(), SdrObject::IsMoveProtect(), SdrObject::IsPrintable(), SdrObject::IsResizeProtect(), SdrObject::IsVisible(), SdrModel::IsWriter(), SfxItemPropertyMapEntry::nWID, OLE2, OWN_ATTR_BITMAP, OWN_ATTR_BOUNDRECT, OWN_ATTR_CAPTION_POINT, OWN_ATTR_EDGE_END_OBJ, OWN_ATTR_EDGE_END_POS, OWN_ATTR_EDGE_POLYPOLYGONBEZIER, OWN_ATTR_EDGE_START_OBJ, OWN_ATTR_EDGE_START_POS, OWN_ATTR_FILLBMP_MODE, OWN_ATTR_FRAMERECT, OWN_ATTR_GLUEID_HEAD, OWN_ATTR_GLUEID_TAIL, OWN_ATTR_HYPERLINK, OWN_ATTR_INTEROPGRABBAG, OWN_ATTR_ISFONTWORK, OWN_ATTR_LDBITMAP, OWN_ATTR_LDNAME, OWN_ATTR_MEASURE_END_POS, OWN_ATTR_MEASURE_START_POS, OWN_ATTR_METAFILE, OWN_ATTR_MIRRORED, OWN_ATTR_MISC_OBJ_DECORATIVE, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTCOLUMNS, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_UINAME_PLURAL, OWN_ATTR_UINAME_SINGULAR, OWN_ATTR_ZORDER, SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), sId, SvxXTextColumns_createInstance(), SdrObject::TakeObjNamePlural(), SdrObject::TakeObjNameSingul(), tools::Rectangle::TopLeft(), basegfx::B2DPolyPolygon::transform(), SdrObject::TRGetBaseGeometry(), Point::X(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), and Point::Y().

Referenced by _getPropertyValue(), SvxTableShape::getPropertyValueImpl(), SvxShapeText::getPropertyValueImpl(), Svx3DSceneObject::getPropertyValueImpl(), Svx3DCubeObject::getPropertyValueImpl(), Svx3DSphereObject::getPropertyValueImpl(), Svx3DLatheObject::getPropertyValueImpl(), Svx3DExtrudeObject::getPropertyValueImpl(), Svx3DPolygonObject::getPropertyValueImpl(), SvxCustomShape::getPropertyValueImpl(), and SvxMediaShape::getPropertyValueImpl().

◆ getPropertyValues()

css::uno::Sequence< css::uno::Any > SAL_CALL SvxShape::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

◆ GetSdrObject()

SdrObject * SvxShape::GetSdrObject ( ) const
inline

Definition at line 172 of file unoshape.hxx.

Referenced by _getPropertyDefault(), _getPropertyState(), _getPropertyValue(), _getSupportedServiceNames(), _setPropertyToDefault(), _setPropertyValue(), SvxDrawPage::add(), Svx3DSceneObject::add(), SvxDrawPage::addBottom(), Svx3DSceneObject::addShape(), SvxShapeGroup::addShape(), SvxShapeConnector::connectEnd(), SvxShapeConnector::connectStart(), Create(), SvxCustomShape::createCustomShapeDefaults(), SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxShapeConnector::disconnectBegin(), SvxShapeConnector::disconnectEnd(), GetAnyForItem(), GetBitmap(), SvxShapeGroup::getByIndex(), Svx3DSceneObject::getByIndex(), SvxOle2Shape::GetClassName_Impl(), SvxShapeControl::getControl(), SvxShapeGroup::getCount(), Svx3DSceneObject::getCount(), getGluePoints(), getName(), getParent(), SvxShapePolyPolygon::GetPolygon(), SvxShapePolyPolygon::GetPolygonKind(), getPosition(), SvxCustomShape::getPosition(), getPropertyStateImpl(), SvxMediaShape::getPropertyStateImpl(), getPropertyValueImpl(), SvxTableShape::getPropertyValueImpl(), SvxShapeText::getPropertyValueImpl(), SvxOle2Shape::getPropertyValueImpl(), SvxShapePolyPolygon::getPropertyValueImpl(), SvxGraphicObject::getPropertyValueImpl(), Svx3DSceneObject::getPropertyValueImpl(), Svx3DCubeObject::getPropertyValueImpl(), Svx3DSphereObject::getPropertyValueImpl(), Svx3DLatheObject::getPropertyValueImpl(), Svx3DExtrudeObject::getPropertyValueImpl(), Svx3DPolygonObject::getPropertyValueImpl(), SvxCustomShape::getPropertyValueImpl(), SvxMediaShape::getPropertyValueImpl(), SvxPluginShape::getPropertyValueImpl(), SvxAppletShape::getPropertyValueImpl(), SvxFrameShape::getPropertyValueImpl(), SdrObject::getSdrObjectFromXShape(), getSize(), SvxShapeGroup::hasElements(), Svx3DSceneObject::hasElements(), impl_construct(), impl_initFromSdrObject(), SvxTableShape::lock(), ObtainSettingsFromPropertySet(), SvxShapeGroup::remove(), Svx3DSceneObject::remove(), SvxOle2Shape::resetModifiedState(), setAllPropertiesToDefault(), SvxShapeControl::setControl(), SetFillAttribute(), setName(), SvxShapePolyPolygon::SetPolygon(), setPosition(), setPropertyToDefaultImpl(), SvxCustomShape::setPropertyValue(), setPropertyValueImpl(), SvxTableShape::setPropertyValueImpl(), SvxShapeText::setPropertyValueImpl(), SvxOle2Shape::setPropertyValueImpl(), SvxShapePolyPolygon::setPropertyValueImpl(), SvxGraphicObject::setPropertyValueImpl(), Svx3DSceneObject::setPropertyValueImpl(), Svx3DCubeObject::setPropertyValueImpl(), Svx3DSphereObject::setPropertyValueImpl(), Svx3DLatheObject::setPropertyValueImpl(), Svx3DExtrudeObject::setPropertyValueImpl(), Svx3DPolygonObject::setPropertyValueImpl(), SvxMediaShape::setPropertyValueImpl(), SvxPluginShape::setPropertyValueImpl(), SvxAppletShape::setPropertyValueImpl(), SvxFrameShape::setPropertyValueImpl(), setPropertyValues(), setSize(), SvxTableShape::unlock(), and updateShapeKind().

◆ getShapeKind()

SdrObjKind SvxShape::getShapeKind ( ) const

Definition at line 256 of file unoshape.cxx.

◆ getShapeType()

OUString SAL_CALL SvxShape::getShapeType ( )
overridevirtual

◆ getSize()

awt::Size SAL_CALL SvxShape::getSize ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ getTypes()

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

◆ HasSdrObject()

bool SvxShape::HasSdrObject ( ) const
inline

◆ impl_construct()

void SvxShape::impl_construct ( )
private

◆ impl_initFromSdrObject()

void SvxShape::impl_initFromSdrObject ( )
private

◆ InvalidateSdrObject()

void SvxShape::InvalidateSdrObject ( )

Definition at line 241 of file unoshape.cxx.

References SfxListener::EndListening(), and mxSdrObject.

Referenced by SdrObject::setUnoShape().

◆ isActionLocked()

sal_Bool SAL_CALL SvxShape::isActionLocked ( )
overridevirtual

Definition at line 3699 of file unoshape.cxx.

References mnLockCount.

◆ lock()

void SvxShape::lock ( )
protectedvirtual

called from the XActionLockable interface methods on initial locking

Reimplemented in SvxTableShape, and SvxShapeText.

Definition at line 3687 of file unoshape.cxx.

Referenced by addActionLock(), SvxTableShape::lock(), and setActionLocks().

◆ Notify()

void SvxShape::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtualnoexcept

Reimplemented from SfxListener.

Definition at line 946 of file unoshape.cxx.

References DBG_TESTSOLARMUTEX, dispose(), SdrHint::GetKind(), SdrHint::GetObject(), ModelCleared, and ObjectChange.

◆ notifyPropertyChange()

void SvxShape::notifyPropertyChange ( svx::ShapePropertyProviderId  eProp)

Definition at line 292 of file unoshape.cxx.

References m_aMutex, and mpImpl.

Referenced by SdrObject::notifyShapePropertyChange().

◆ ObtainSettingsFromPropertySet()

void SvxShape::ObtainSettingsFromPropertySet ( const SvxItemPropertySet rPropSet)

◆ queryAggregation()

uno::Any SAL_CALL SvxShape::queryAggregation ( const css::uno::Type &  aType)
overridevirtual

◆ registerProvider()

void SvxShape::registerProvider ( svx::ShapePropertyProviderId  eProp,
std::unique_ptr< svx::PropertyValueProvider provider 
)

Definition at line 298 of file unoshape.cxx.

References mpImpl.

Referenced by SdrObject::registerProvider().

◆ removeActionLock()

void SAL_CALL SvxShape::removeActionLock ( )
overridevirtual

Definition at line 3719 of file unoshape.cxx.

References DBG_ASSERT, mnLockCount, and unlock().

◆ removeEventListener()

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

Definition at line 1247 of file unoshape.cxx.

References m_aMutex, and mpImpl.

◆ removePropertiesChangeListener()

void SAL_CALL SvxShape::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 1801 of file unoshape.cxx.

◆ removePropertyChangeListener()

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

Definition at line 1283 of file unoshape.cxx.

References m_aMutex, and mpImpl.

◆ removeVetoableChangeListener()

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

Definition at line 1296 of file unoshape.cxx.

◆ resetActionLocks()

sal_Int16 SAL_CALL SvxShape::resetActionLocks ( )
overridevirtual

Definition at line 3745 of file unoshape.cxx.

References mnLockCount, and unlock().

◆ setActionLocks()

void SAL_CALL SvxShape::setActionLocks ( sal_Int16  nLock)
overridevirtual

Definition at line 3731 of file unoshape.cxx.

References lock(), mnLockCount, and unlock().

◆ setAllPropertiesToDefault()

void SvxShape::setAllPropertiesToDefault ( )
overridevirtual

◆ SetFillAttribute() [1/3]

bool SvxShape::SetFillAttribute ( sal_uInt16  nWID,
const OUString &  rName 
)
protected

◆ SetFillAttribute() [2/3]

bool SvxShape::SetFillAttribute ( sal_uInt16  nWID,
const OUString &  rName,
SfxItemSet rSet 
)
static

◆ SetFillAttribute() [3/3]

bool SvxShape::SetFillAttribute ( sal_uInt16  nWID,
const OUString &  rName,
SfxItemSet rSet,
SdrModel const *  pModel 
)
static

◆ setMaster()

void SvxShape::setMaster ( SvxShapeMaster pMaster)

Definition at line 262 of file unoshape.cxx.

References mpImpl.

◆ setName()

void SAL_CALL SvxShape::setName ( const OUString &  aName)
overridevirtual

Definition at line 1173 of file unoshape.cxx.

References aName, GetSdrObject(), HasSdrObject(), maShapeName, and SdrObject::SetName().

◆ setParent()

void SAL_CALL SvxShape::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 3680 of file unoshape.cxx.

◆ setPosition()

void SAL_CALL SvxShape::setPosition ( const css::awt::Point &  aPosition)
overridevirtual

◆ setPropertiesToDefault()

void SvxShape::setPropertiesToDefault ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 3131 of file unoshape.cxx.

References setPropertyToDefault().

◆ setPropertyToDefault()

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

Reimplemented in SvxShapeControl.

Definition at line 3033 of file unoshape.cxx.

References _setPropertyToDefault(), and mpImpl.

Referenced by setPropertiesToDefault(), and SvxShapeControl::setPropertyToDefault().

◆ setPropertyToDefaultImpl()

bool SvxShape::setPropertyToDefaultImpl ( const SfxItemPropertyMapEntry pProperty)
protectedvirtual

◆ setPropertyValue()

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

◆ setPropertyValueImpl()

bool SvxShape::setPropertyValueImpl ( const OUString &  rName,
const SfxItemPropertyMapEntry pProperty,
const css::uno::Any &  rValue 
)
protectedvirtual
Exceptions
css::beans::UnknownPropertyException
css::beans::PropertyVetoException
css::lang::IllegalArgumentException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented in SvxTableShape, SvxShapeText, SvxOle2Shape, SvxShapePolyPolygon, SvxGraphicObject, Svx3DSceneObject, Svx3DCubeObject, Svx3DSphereObject, Svx3DLatheObject, Svx3DExtrudeObject, Svx3DPolygonObject, SvxMediaShape, SvxPluginShape, SvxAppletShape, and SvxFrameShape.

Definition at line 2026 of file unoshape.cxx.

References Point::AdjustX(), Point::AdjustY(), aName, SfxItemPropertyMapEntry::aName, SfxItemPropertyMapEntry::aType, SdrObject::BroadcastObjectChange(), bVisible, SdrEdgeObj::ConnectToNode(), basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), DynCastSdrTextObj(), eMode, ForceMetricToItemPoolMetric(), basegfx::fround(), basegfx::B2DHomMatrix::get(), SdrLayer::GetID(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrObject::getSdrModelFromSdrObject(), GetSdrObject(), SdrObject::getSdrObjectFromXShape(), MID_NAME, SdrMeasureObj::NbcSetPoint(), nId, SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, OWN_ATTR_CAPTION_POINT, OWN_ATTR_EDGE_END_OBJ, OWN_ATTR_EDGE_END_POS, OWN_ATTR_EDGE_POLYPOLYGONBEZIER, OWN_ATTR_EDGE_START_OBJ, OWN_ATTR_EDGE_START_POS, OWN_ATTR_FILLBMP_MODE, OWN_ATTR_FRAMERECT, OWN_ATTR_GLUEID_HEAD, OWN_ATTR_GLUEID_TAIL, OWN_ATTR_HYPERLINK, OWN_ATTR_INTEROPGRABBAG, OWN_ATTR_MEASURE_END_POS, OWN_ATTR_MEASURE_START_POS, OWN_ATTR_MIRRORED, OWN_ATTR_MISC_OBJ_DECORATIVE, OWN_ATTR_MISC_OBJ_DESCRIPTION, OWN_ATTR_MISC_OBJ_TITLE, OWN_ATTR_PAGE_NUMBER, OWN_ATTR_TEXTCOLUMNS, OWN_ATTR_TEXTFITTOSIZESCALE, OWN_ATTR_TRANSFORMATION, OWN_ATTR_ZORDER, SvxFrameDirectionItem::PutValue(), SDRATTR_LAYERID(), SDRATTR_LAYERNAME(), SDRATTR_OBJECTNAME(), SDRATTR_OBJMOVEPROTECT(), SDRATTR_OBJPRINTABLE(), SDRATTR_OBJSIZEPROTECT(), SDRATTR_OBJVISIBLE(), SDRATTR_ROTATEANGLE(), SDRATTR_SHEARANGLE(), SDRATTR_TEXT_FITTOSIZE(), SDRATTR_WRITINGMODE2(), basegfx::B2DHomMatrix::set(), SdrObject::SetChanged(), SdrEdgeObj::SetEdgeTrackPath(), SdrObjList::SetExistingObjectOrdNum(), SetFillAttribute(), SdrEdgeObj::setGluePointIndex(), SdrTextFitToSizeTypeItem::SetMaxScale(), SdrObject::SetMergedItem(), SdrGrafObj::SetMirrored(), SdrPageObj::SetReferencedPage(), SdrEdgeObj::SetTailPoint(), SdrTextObj::SetTextColumnsNumber(), SdrTextObj::SetTextColumnsSpacing(), toRadians(), basegfx::B2DPolyPolygon::transform(), basegfx::utils::UnoPointSequenceSequenceToB2DPolyPolygon(), basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon(), Point::X(), XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINESTART(), and Point::Y().

Referenced by _setPropertyValue(), SvxTableShape::setPropertyValueImpl(), SvxShapeText::setPropertyValueImpl(), Svx3DSceneObject::setPropertyValueImpl(), Svx3DCubeObject::setPropertyValueImpl(), Svx3DSphereObject::setPropertyValueImpl(), Svx3DLatheObject::setPropertyValueImpl(), Svx3DExtrudeObject::setPropertyValueImpl(), Svx3DPolygonObject::setPropertyValueImpl(), and SvxMediaShape::setPropertyValueImpl().

◆ setPropertyValues()

void SAL_CALL SvxShape::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual

◆ setShapeKind()

void SvxShape::setShapeKind ( SdrObjKind  nKind)

Definition at line 250 of file unoshape.cxx.

References mpImpl.

Referenced by SvxShapeControl::SvxShapeControl().

◆ SetShapeType()

void SvxShape::SetShapeType ( const OUString &  ShapeType)
inline

◆ setSize()

void SAL_CALL SvxShape::setSize ( const css::awt::Size &  aSize)
overridevirtual

◆ supportsService()

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

Reimplemented in SvxShapeText.

Definition at line 3612 of file unoshape.cxx.

References ServiceName, and cppu::supportsService().

◆ unlock()

void SvxShape::unlock ( )
protectedvirtual

called from the XActionLockable interface methods on final unlock

Reimplemented in SvxTableShape, and SvxShapeText.

Definition at line 3693 of file unoshape.cxx.

Referenced by removeActionLock(), resetActionLocks(), setActionLocks(), and SvxTableShape::unlock().

◆ updateShapeKind()

void SvxShape::updateShapeKind ( )
protected

since polygon shapes can change their kind during editing, we have to recheck it here.

Circle shapes also change their kind, but they are all treated equal so no update is necessary.

Definition at line 3764 of file unoshape.cxx.

References FreehandFill, FreehandLine, SdrObject::GetObjIdentifier(), GetSdrObject(), Line, mpImpl, nId, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, and PolyLine.

Friends And Related Function Documentation

◆ SdXShape

friend class SdXShape
friend

Definition at line 106 of file unoshape.hxx.

◆ SvxDrawPage

friend class SvxDrawPage
friend

Definition at line 104 of file unoshape.hxx.

◆ SvxShapeConnector

friend class SvxShapeConnector
friend

Definition at line 105 of file unoshape.hxx.

Member Data Documentation

◆ m_aMutex

std::mutex SvxShape::m_aMutex
private

◆ maPosition

css::awt::Point SvxShape::maPosition
private

Definition at line 317 of file unoshape.hxx.

Referenced by Create(), getPosition(), and setPosition().

◆ maPropMapEntries

o3tl::span<const SfxItemPropertyMapEntry> SvxShape::maPropMapEntries
private

Definition at line 327 of file unoshape.hxx.

◆ maShapeName

OUString SvxShape::maShapeName
private

Definition at line 319 of file unoshape.hxx.

Referenced by Create(), getName(), and setName().

◆ maShapeType

OUString SvxShape::maShapeType
private

Definition at line 318 of file unoshape.hxx.

Referenced by getShapeType().

◆ maSize

css::awt::Size SvxShape::maSize
private

Definition at line 316 of file unoshape.hxx.

Referenced by Create(), getSize(), and setSize().

◆ maUrsAnys

SvxItemPropertySetUsrAnys SvxShape::maUrsAnys
private

◆ mbIsMultiPropertyCall

bool SvxShape::mbIsMultiPropertyCall
private

Definition at line 322 of file unoshape.hxx.

Referenced by _setPropertyValue(), Create(), endSetPropertyValues(), and setPropertyValues().

◆ mnLockCount

sal_uInt16 SvxShape::mnLockCount
private

used from the XActionLockable interface

Definition at line 330 of file unoshape.hxx.

Referenced by addActionLock(), isActionLocked(), removeActionLock(), resetActionLocks(), setActionLocks(), and ~SvxShape().

◆ mpImpl

std::unique_ptr<SvxShapeImpl> SvxShape::mpImpl
private

◆ mpPropSet

const SvxItemPropertySet* SvxShape::mpPropSet
private

◆ mxGluePoints

css::uno::WeakReference< css::container::XIndexContainer > SvxShape::mxGluePoints
private

Definition at line 324 of file unoshape.hxx.

Referenced by getGluePoints().

◆ mxSdrObject

rtl::Reference< SdrObject > SvxShape::mxSdrObject
private

Definition at line 328 of file unoshape.hxx.

Referenced by Create(), dispose(), InvalidateSdrObject(), and ~SvxShape().


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