LibreOffice Module svx (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
sdr::properties::AttributeProperties Class Reference

#include <attributeproperties.hxx>

Inheritance diagram for sdr::properties::AttributeProperties:
[legend]
Collaboration diagram for sdr::properties::AttributeProperties:
[legend]

Public Member Functions

 AttributeProperties (SdrObject &rObj)
 
 AttributeProperties (const AttributeProperties &rProps, SdrObject &rObj)
 
virtual std::unique_ptr< BasePropertiesClone (SdrObject &rObj) const override
 
virtual const SfxItemSetGetObjectItemSet () const override
 
virtual ~AttributeProperties () override
 
virtual void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
 
virtual SfxStyleSheetGetStyleSheet () const override
 
virtual void ForceStyleToHardAttributes () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual bool isUsedByModel () const override
 
- Public Member Functions inherited from sdr::properties::DefaultProperties
 DefaultProperties (SdrObject &rObj)
 
 DefaultProperties (const DefaultProperties &rProps, SdrObject &rObj)
 
virtual ~DefaultProperties () override
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
virtual std::unique_ptr< BasePropertiesClone (SdrObject &rObj) const override
 
virtual const SfxItemSetGetObjectItemSet () const override
 
virtual void SetObjectItem (const SfxPoolItem &rItem) override
 
virtual void SetObjectItemDirect (const SfxPoolItem &rItem) override
 
virtual void ClearObjectItem (const sal_uInt16 nWhich=0) override
 
virtual void ClearObjectItemDirect (const sal_uInt16 nWhich) override
 
virtual void SetObjectItemSet (const SfxItemSet &rSet) override
 
virtual void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
 
virtual SfxStyleSheetGetStyleSheet () const override
 
virtual void ForceDefaultAttributes ()
 
- Public Member Functions inherited from sdr::properties::BaseProperties
 BaseProperties (SdrObject &rObj)
 
virtual ~BaseProperties ()
 
virtual SfxItemSet CreateObjectSpecificItemSet (SfxItemPool &pPool)=0
 
virtual std::unique_ptr< BasePropertiesClone (SdrObject &rObj) const =0
 
virtual const SfxItemSetGetObjectItemSet () const =0
 
virtual const SfxItemSetGetMergedItemSet () const
 
virtual void SetObjectItemSet (const SfxItemSet &rSet)=0
 
virtual void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
virtual void SetObjectItem (const SfxPoolItem &rItem)=0
 
virtual void SetObjectItemDirect (const SfxPoolItem &rItem)=0
 
virtual void ClearObjectItem (const sal_uInt16 nWhich=0)=0
 
virtual void SetMergedItem (const SfxPoolItem &rItem)
 
virtual void ClearMergedItem (const sal_uInt16 nWhich)
 
virtual void ClearObjectItemDirect (const sal_uInt16 nWhich)=0
 
virtual void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast)=0
 
virtual SfxStyleSheetGetStyleSheet () const =0
 
virtual void ForceStyleToHardAttributes ()
 
void SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetItem (TypedWhichId< T > nWhich) const
 
void BroadcastItemChange (const ItemChangeBroadcaster &rChange)
 
virtual sal_uInt32 getVersion () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- 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
 

Protected Member Functions

virtual SfxItemSet CreateObjectSpecificItemSet (SfxItemPool &pPool) override
 
virtual void ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override
 
virtual void ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override
 
virtual void applyDefaultStyleSheetFromSdrModel ()
 
- Protected Member Functions inherited from sdr::properties::DefaultProperties
virtual SfxItemSet CreateObjectSpecificItemSet (SfxItemPool &pPool) override
 
virtual bool AllowItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) const
 
virtual void ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr)
 
virtual void PostItemChange (const sal_uInt16 nWhich)
 
virtual void ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich)
 
bool HasSfxItemSet () const
 
- Protected Member Functions inherited from sdr::properties::BaseProperties
const SdrObjectGetSdrObject () const
 
SdrObjectGetSdrObject ()
 

Private Member Functions

void ImpSetParentAtSfxItemSet (bool bDontRemoveHardAttr)
 
void ImpAddStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
void ImpRemoveStyleSheet ()
 

Private Attributes

SfxStyleSheetmpStyleSheet
 

Additional Inherited Members

- Protected Attributes inherited from sdr::properties::DefaultProperties
std::optional< SfxItemSetmxItemSet
 

Detailed Description

Definition at line 30 of file attributeproperties.hxx.

Constructor & Destructor Documentation

◆ AttributeProperties() [1/2]

sdr::properties::AttributeProperties::AttributeProperties ( SdrObject rObj)
explicit

Definition at line 136 of file attributeproperties.cxx.

Referenced by Clone().

◆ AttributeProperties() [2/2]

sdr::properties::AttributeProperties::AttributeProperties ( const AttributeProperties rProps,
SdrObject rObj 
)

◆ ~AttributeProperties()

sdr::properties::AttributeProperties::~AttributeProperties ( )
overridevirtual

Definition at line 222 of file attributeproperties.cxx.

References ImpRemoveStyleSheet().

Member Function Documentation

◆ applyDefaultStyleSheetFromSdrModel()

void sdr::properties::AttributeProperties::applyDefaultStyleSheetFromSdrModel ( )
protectedvirtual

◆ Clone()

std::unique_ptr< BaseProperties > sdr::properties::AttributeProperties::Clone ( SdrObject rObj) const
overridevirtual

◆ CreateObjectSpecificItemSet()

SfxItemSet sdr::properties::AttributeProperties::CreateObjectSpecificItemSet ( SfxItemPool pPool)
overrideprotectedvirtual

◆ ForceStyleToHardAttributes()

void sdr::properties::AttributeProperties::ForceStyleToHardAttributes ( )
overridevirtual

◆ GetObjectItemSet()

const SfxItemSet & sdr::properties::AttributeProperties::GetObjectItemSet ( ) const
overridevirtual

◆ GetStyleSheet()

SfxStyleSheet * sdr::properties::AttributeProperties::GetStyleSheet ( ) const
overridevirtual

◆ ImpAddStyleSheet()

void sdr::properties::AttributeProperties::ImpAddStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)
private

◆ ImpRemoveStyleSheet()

void sdr::properties::AttributeProperties::ImpRemoveStyleSheet ( )
private

◆ ImpSetParentAtSfxItemSet()

void sdr::properties::AttributeProperties::ImpSetParentAtSfxItemSet ( bool  bDontRemoveHardAttr)
private

◆ isUsedByModel()

bool sdr::properties::AttributeProperties::isUsedByModel ( ) const
overridevirtual

◆ ItemChange()

void sdr::properties::AttributeProperties::ItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
)
overrideprotectedvirtual

◆ ItemSetChanged()

void sdr::properties::AttributeProperties::ItemSetChanged ( o3tl::span< const SfxPoolItem *const >  aChangedItems,
sal_uInt16  nDeletedWhich 
)
overrideprotectedvirtual

◆ Notify()

void sdr::properties::AttributeProperties::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

◆ SetStyleSheet()

void sdr::properties::AttributeProperties::SetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr,
bool  bBroadcast 
)
overridevirtual

Member Data Documentation

◆ mpStyleSheet

SfxStyleSheet* sdr::properties::AttributeProperties::mpStyleSheet
private

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