LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SdXShape Class Reference

#include <unoobj.hxx>

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

Public Member Functions

 SdXShape (SvxShape *pShape, SdXImpressDocument *pModel)
 
virtual ~SdXShape () noexcept
 
virtual bool queryAggregation (const css::uno::Type &rType, css::uno::Any &aAny) override
 
virtual void dispose () 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::Sequence< OUString > SAL_CALL getSupportedServiceNames () 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 css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents () override
 
virtual bool queryAggregation (const css::uno::Type &rType, css::uno::Any &aAny)=0
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo ()=0
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue)=0
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName)=0
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName)=0
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName)=0
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName)=0
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes ()=0
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames ()=0
 
virtual void dispose ()=0
 

Private Member Functions

void SetStyleSheet (const css::uno::Any &rAny)
 
css::uno::Any GetStyleSheet () const
 
SdAnimationInfoGetAnimationInfo (bool bCreate=false) const
 
bool IsPresObj () const
 checks if this is a presentation object More...
 
bool IsEmptyPresObj () const
 checks if this presentation object is empty More...
 
void SetEmptyPresObj (bool bEmpty)
 sets/reset the empty status of a presentation object More...
 
bool IsMasterDepend () const noexcept
 
void SetMasterDepend (bool bDepend) noexcept
 
OUString GetPlaceholderText () const
 

Private Attributes

SvxShapempShape
 
const SvxItemPropertySetmpPropSet
 
o3tl::span< const SfxItemPropertyMapEntrympMap
 
SdXImpressDocumentmpModel
 

Friends

class SdUnoEventsAccess
 

Additional Inherited Members

- Protected Member Functions inherited from SvxShapeMaster
 ~SvxShapeMaster ()
 

Detailed Description

Definition at line 33 of file unoobj.hxx.

Constructor & Destructor Documentation

◆ SdXShape()

SdXShape::SdXShape ( SvxShape pShape,
SdXImpressDocument pModel 
)

Definition at line 247 of file unoobj.cxx.

References mpShape, and SvxShape::setMaster().

◆ ~SdXShape()

SdXShape::~SdXShape ( )
virtualnoexcept

Definition at line 261 of file unoobj.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL SdXShape::acquire ( )
overridevirtualnoexcept

Definition at line 276 of file unoobj.cxx.

References mpShape.

◆ dispose()

void SdXShape::dispose ( void  )
overridevirtual

Implements SvxShapeMaster.

Definition at line 265 of file unoobj.cxx.

References mpShape, and SvxShape::setMaster().

◆ GetAnimationInfo()

SdAnimationInfo * SdXShape::GetAnimationInfo ( bool  bCreate = false) const
private

◆ getEvents()

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

Definition at line 1048 of file unoobj.cxx.

References SdUnoEventsAccess.

◆ GetPlaceholderText()

OUString SdXShape::GetPlaceholderText ( ) const
private

◆ getPropertyDefault()

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

◆ getPropertySetInfo()

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

◆ getPropertyState()

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

◆ getPropertyValue()

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

◆ GetStyleSheet()

uno::Any SdXShape::GetStyleSheet ( ) const
private
Exceptions
css::beans::UnknownPropertyException

Definition at line 1006 of file unoobj.cxx.

References Any, SfxStyleSheetBase::GetFamily(), SvxShape::GetSdrObject(), SdrObject::GetStyleSheet(), SdXImpressDocument::IsImpressDocument(), mpModel, and mpShape.

Referenced by getPropertyValue().

◆ getSupportedServiceNames()

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

◆ getTypes()

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

◆ IsEmptyPresObj()

bool SdXShape::IsEmptyPresObj ( ) const
private

checks if this presentation object is empty

Definition at line 836 of file unoobj.cxx.

References SdrTextObj::CanCreateEditOutlinerParaObject(), DynCastSdrTextObj(), SvxShape::GetSdrObject(), SdrObject::IsEmptyPresObj(), and mpShape.

Referenced by getPropertyValue().

◆ IsMasterDepend()

bool SdXShape::IsMasterDepend ( ) const
privatenoexcept

Definition at line 951 of file unoobj.cxx.

References SvxShape::GetSdrObject(), SdrObject::GetUserCall(), and mpShape.

Referenced by getPropertyValue().

◆ IsPresObj()

bool SdXShape::IsPresObj ( ) const
private

checks if this is a presentation object

Exceptions
std::exception

Definition at line 822 of file unoobj.cxx.

References SdPage::GetPresObjKind(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), mpShape, and NONE.

Referenced by GetPlaceholderText(), getPropertyValue(), and SetEmptyPresObj().

◆ queryAggregation()

bool SdXShape::queryAggregation ( const css::uno::Type &  rType,
css::uno::Any &  aAny 
)
overridevirtual

Implements SvxShapeMaster.

Definition at line 286 of file unoobj.cxx.

References mpModel.

◆ queryInterface()

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

Definition at line 271 of file unoobj.cxx.

References mpShape.

◆ release()

void SAL_CALL SdXShape::release ( )
overridevirtualnoexcept

Definition at line 281 of file unoobj.cxx.

References mpShape.

◆ SetEmptyPresObj()

void SdXShape::SetEmptyPresObj ( bool  bEmpty)
private

◆ SetMasterDepend()

void SdXShape::SetMasterDepend ( bool  bDepend)
privatenoexcept

Definition at line 957 of file unoobj.cxx.

References SdrObject::getSdrPageFromSdrObject(), mpShape, and SdrObject::SetUserCall().

Referenced by setPropertyValue().

◆ setPropertyToDefault()

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

◆ setPropertyValue()

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

◆ SetStyleSheet()

void SdXShape::SetStyleSheet ( const css::uno::Any &  rAny)
private

Friends And Related Function Documentation

◆ SdUnoEventsAccess

friend class SdUnoEventsAccess
friend

Definition at line 36 of file unoobj.hxx.

Referenced by getEvents().

Member Data Documentation

◆ mpMap

o3tl::span<const SfxItemPropertyMapEntry> SdXShape::mpMap
private

Definition at line 41 of file unoobj.hxx.

Referenced by getPropertySetInfo().

◆ mpModel

SdXImpressDocument* SdXShape::mpModel
private

◆ mpPropSet

const SvxItemPropertySet* SdXShape::mpPropSet
private

◆ mpShape

SvxShape* SdXShape::mpShape
private

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