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

#include <properties.hxx>

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

Public Member Functions

 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

const SdrObjectGetSdrObject () const
 
SdrObjectGetSdrObject ()
 

Private Attributes

SdrObjectmrObject
 

Detailed Description

Definition at line 75 of file properties.hxx.

Constructor & Destructor Documentation

◆ BaseProperties()

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

Definition at line 34 of file properties.cxx.

◆ ~BaseProperties()

sdr::properties::BaseProperties::~BaseProperties ( )
virtual

Definition at line 39 of file properties.cxx.

Member Function Documentation

◆ BroadcastItemChange()

void sdr::properties::BaseProperties::BroadcastItemChange ( const ItemChangeBroadcaster rChange)

◆ ClearMergedItem()

void sdr::properties::BaseProperties::ClearMergedItem ( const sal_uInt16  nWhich)
virtual

◆ ClearObjectItem()

virtual void sdr::properties::BaseProperties::ClearObjectItem ( const sal_uInt16  nWhich = 0)
pure virtual

◆ ClearObjectItemDirect()

virtual void sdr::properties::BaseProperties::ClearObjectItemDirect ( const sal_uInt16  nWhich)
pure virtual

◆ Clone()

virtual std::unique_ptr< BaseProperties > sdr::properties::BaseProperties::Clone ( SdrObject rObj) const
pure virtual

◆ CreateObjectSpecificItemSet()

virtual SfxItemSet sdr::properties::BaseProperties::CreateObjectSpecificItemSet ( SfxItemPool pPool)
pure virtual

◆ dumpAsXml()

void sdr::properties::BaseProperties::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

Reimplemented in sdr::properties::DefaultProperties.

Definition at line 142 of file properties.cxx.

Referenced by sdr::properties::DefaultProperties::dumpAsXml().

◆ ForceStyleToHardAttributes()

void sdr::properties::BaseProperties::ForceStyleToHardAttributes ( )
virtual

◆ GetItem() [1/2]

const SfxPoolItem & sdr::properties::BaseProperties::GetItem ( const sal_uInt16  nWhich) const

◆ GetItem() [2/2]

template<class T >
const T & sdr::properties::BaseProperties::GetItem ( TypedWhichId< T >  nWhich) const
inline

Definition at line 165 of file properties.hxx.

References GetItem().

◆ GetMergedItemSet()

const SfxItemSet & sdr::properties::BaseProperties::GetMergedItemSet ( ) const
virtual

◆ GetObjectItemSet()

virtual const SfxItemSet & sdr::properties::BaseProperties::GetObjectItemSet ( ) const
pure virtual

◆ GetSdrObject() [1/2]

SdrObject & sdr::properties::BaseProperties::GetSdrObject ( )
protected

Definition at line 48 of file properties.cxx.

References mrObject.

◆ GetSdrObject() [2/2]

const SdrObject & sdr::properties::BaseProperties::GetSdrObject ( ) const
protected

Definition at line 43 of file properties.cxx.

References mrObject.

Referenced by sdr::properties::AttributeProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::GraphicProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::OleProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::AttributeProperties::AttributeProperties(), BroadcastItemChange(), sdr::properties::E3dSceneProperties::ClearMergedItem(), sdr::properties::GroupProperties::ClearMergedItem(), sdr::properties::GroupProperties::ClearObjectItem(), sdr::properties::DefaultProperties::DefaultProperties(), sdr::properties::CaptionProperties::ForceDefaultAttributes(), sdr::properties::CircleProperties::ForceDefaultAttributes(), sdr::properties::TextProperties::ForceDefaultAttributes(), sdr::properties::AttributeProperties::ForceStyleToHardAttributes(), sdr::properties::GroupProperties::ForceStyleToHardAttributes(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), sdr::properties::E3dSceneProperties::GetMergedItemSet(), sdr::properties::GroupProperties::GetMergedItemSet(), sdr::properties::DefaultProperties::GetObjectItemSet(), sdr::properties::PageProperties::GetObjectItemSet(), sdr::properties::E3dSceneProperties::GetStyleSheet(), sdr::properties::GroupProperties::GetStyleSheet(), sdr::properties::TextProperties::getTextProvider(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), sdr::properties::AttributeProperties::isUsedByModel(), sdr::properties::AttributeProperties::ItemChange(), sdr::properties::CellProperties::ItemChange(), sdr::properties::TextProperties::ItemChange(), sdr::properties::AttributeProperties::ItemSetChanged(), sdr::properties::CaptionProperties::ItemSetChanged(), sdr::properties::CellProperties::ItemSetChanged(), sdr::properties::CircleProperties::ItemSetChanged(), sdr::properties::ConnectorProperties::ItemSetChanged(), sdr::properties::E3dProperties::ItemSetChanged(), sdr::properties::GraphicProperties::ItemSetChanged(), sdr::properties::MeasureProperties::ItemSetChanged(), sdr::properties::RectangleProperties::ItemSetChanged(), sdr::properties::TextProperties::ItemSetChanged(), sdr::properties::AttributeProperties::Notify(), sdr::properties::TextProperties::Notify(), sdr::properties::E3dCompoundProperties::PostItemChange(), sdr::properties::E3dExtrudeProperties::PostItemChange(), sdr::properties::E3dLatheProperties::PostItemChange(), sdr::properties::E3dSceneProperties::PostItemChange(), sdr::properties::E3dSphereProperties::PostItemChange(), sdr::properties::E3dSceneProperties::SetMergedItem(), sdr::properties::GroupProperties::SetMergedItem(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), sdr::properties::E3dSceneProperties::SetMergedItemSet(), sdr::properties::GroupProperties::SetMergedItemSet(), SetMergedItemSetAndBroadcast(), sdr::properties::DefaultProperties::SetObjectItemSet(), sdr::properties::E3dSceneProperties::SetSceneItemsFromCamera(), sdr::properties::AttributeProperties::SetStyleSheet(), sdr::properties::CaptionProperties::SetStyleSheet(), sdr::properties::CircleProperties::SetStyleSheet(), sdr::properties::ConnectorProperties::SetStyleSheet(), sdr::properties::E3dSceneProperties::SetStyleSheet(), sdr::properties::GraphicProperties::SetStyleSheet(), sdr::properties::GroupProperties::SetStyleSheet(), sdr::properties::MeasureProperties::SetStyleSheet(), sdr::properties::RectangleProperties::SetStyleSheet(), sdr::properties::TextProperties::SetStyleSheet(), and sdr::properties::CustomShapeProperties::UpdateTextFrameStatus().

◆ GetStyleSheet()

virtual SfxStyleSheet * sdr::properties::BaseProperties::GetStyleSheet ( ) const
pure virtual

◆ getVersion()

sal_uInt32 sdr::properties::BaseProperties::getVersion ( ) const
virtual

◆ SetMergedItem()

void sdr::properties::BaseProperties::SetMergedItem ( const SfxPoolItem rItem)
virtual

◆ SetMergedItemSet()

void sdr::properties::BaseProperties::SetMergedItemSet ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)
virtual

◆ SetMergedItemSetAndBroadcast()

void sdr::properties::BaseProperties::SetMergedItemSetAndBroadcast ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)

◆ SetObjectItem()

virtual void sdr::properties::BaseProperties::SetObjectItem ( const SfxPoolItem rItem)
pure virtual

◆ SetObjectItemDirect()

virtual void sdr::properties::BaseProperties::SetObjectItemDirect ( const SfxPoolItem rItem)
pure virtual

◆ SetObjectItemSet()

virtual void sdr::properties::BaseProperties::SetObjectItemSet ( const SfxItemSet rSet)
pure virtual

◆ SetStyleSheet()

virtual void sdr::properties::BaseProperties::SetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr,
bool  bBroadcast 
)
pure virtual

Member Data Documentation

◆ mrObject

SdrObject& sdr::properties::BaseProperties::mrObject
private

Definition at line 80 of file properties.hxx.

Referenced by GetSdrObject().


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