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

#include <defaultproperties.hxx>

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

Public Member Functions

 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
 

Protected Member Functions

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 ()
 

Protected Attributes

std::optional< SfxItemSetmxItemSet
 

Detailed Description

Definition at line 37 of file defaultproperties.hxx.

Constructor & Destructor Documentation

◆ DefaultProperties() [1/2]

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

Definition at line 43 of file defaultproperties.cxx.

Referenced by Clone().

◆ DefaultProperties() [2/2]

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

◆ ~DefaultProperties()

sdr::properties::DefaultProperties::~DefaultProperties ( )
overridevirtual

Definition at line 94 of file defaultproperties.cxx.

Member Function Documentation

◆ AllowItemChange()

bool sdr::properties::DefaultProperties::AllowItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
) const
protectedvirtual

◆ ClearObjectItem()

void sdr::properties::DefaultProperties::ClearObjectItem ( const sal_uInt16  nWhich = 0)
overridevirtual

◆ ClearObjectItemDirect()

void sdr::properties::DefaultProperties::ClearObjectItemDirect ( const sal_uInt16  nWhich)
overridevirtual

◆ Clone()

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

◆ CreateObjectSpecificItemSet()

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

◆ dumpAsXml()

void sdr::properties::DefaultProperties::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

◆ ForceDefaultAttributes()

void sdr::properties::DefaultProperties::ForceDefaultAttributes ( )
virtual

◆ GetObjectItemSet()

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

◆ GetStyleSheet()

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

◆ HasSfxItemSet()

bool sdr::properties::DefaultProperties::HasSfxItemSet ( ) const
inlineprotected

◆ ItemChange()

void sdr::properties::DefaultProperties::ItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
)
protectedvirtual

◆ ItemSetChanged()

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

◆ PostItemChange()

void sdr::properties::DefaultProperties::PostItemChange ( const sal_uInt16  nWhich)
protectedvirtual

◆ SetObjectItem()

void sdr::properties::DefaultProperties::SetObjectItem ( const SfxPoolItem rItem)
overridevirtual

◆ SetObjectItemDirect()

void sdr::properties::DefaultProperties::SetObjectItemDirect ( const SfxPoolItem rItem)
overridevirtual

◆ SetObjectItemSet()

void sdr::properties::DefaultProperties::SetObjectItemSet ( const SfxItemSet rSet)
overridevirtual

◆ SetStyleSheet()

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

Member Data Documentation

◆ mxItemSet

std::optional<SfxItemSet> sdr::properties::DefaultProperties::mxItemSet
mutableprotected

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