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 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)=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 void applyDefaultStyleSheetFromSdrModel ()
 
virtual std::unique_ptr< SfxItemSetCreateObjectSpecificItemSet (SfxItemPool &pPool)=0
 
const SdrObjectGetSdrObject () const
 
SdrObjectGetSdrObject ()
 
virtual bool AllowItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) const =0
 
virtual void ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr)=0
 
virtual void PostItemChange (const sal_uInt16 nWhich)=0
 
virtual void ItemSetChanged (const SfxItemSet &rSet)=0
 

Private Attributes

SdrObjectmrObject
 

Detailed Description

Definition at line 79 of file properties.hxx.

Constructor & Destructor Documentation

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

Definition at line 38 of file properties.cxx.

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

Definition at line 43 of file properties.cxx.

Member Function Documentation

virtual bool sdr::properties::BaseProperties::AllowItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
) const
protectedpure virtual
void sdr::properties::BaseProperties::applyDefaultStyleSheetFromSdrModel ( )
protectedvirtual
void sdr::properties::BaseProperties::BroadcastItemChange ( const ItemChangeBroadcaster rChange)
void sdr::properties::BaseProperties::ClearMergedItem ( const sal_uInt16  nWhich)
virtual
virtual void sdr::properties::BaseProperties::ClearObjectItem ( const sal_uInt16  nWhich = 0)
pure virtual
virtual void sdr::properties::BaseProperties::ClearObjectItemDirect ( const sal_uInt16  nWhich)
pure virtual
virtual std::unique_ptr<BaseProperties> sdr::properties::BaseProperties::Clone ( SdrObject rObj) const
pure virtual
virtual std::unique_ptr<SfxItemSet> sdr::properties::BaseProperties::CreateObjectSpecificItemSet ( SfxItemPool pPool)
protectedpure virtual
void sdr::properties::BaseProperties::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

Reimplemented in sdr::properties::DefaultProperties.

Definition at line 159 of file properties.cxx.

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

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

Definition at line 122 of file properties.cxx.

References SfxItemSet::Get(), and GetObjectItemSet().

Referenced by sdr::properties::TextProperties::ItemChange().

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

Definition at line 187 of file properties.hxx.

References GetItem().

const SfxItemSet & sdr::properties::BaseProperties::GetMergedItemSet ( ) const
virtual
virtual const SfxItemSet& sdr::properties::BaseProperties::GetObjectItemSet ( ) const
pure virtual
const SdrObject & sdr::properties::BaseProperties::GetSdrObject ( ) const
protected

Definition at line 62 of file properties.cxx.

References mrObject.

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

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

Definition at line 67 of file properties.cxx.

References mrObject.

virtual SfxStyleSheet* sdr::properties::BaseProperties::GetStyleSheet ( ) const
pure virtual
sal_uInt32 sdr::properties::BaseProperties::getVersion ( ) const
virtual
virtual void sdr::properties::BaseProperties::ItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
)
protectedpure virtual
virtual void sdr::properties::BaseProperties::ItemSetChanged ( const SfxItemSet rSet)
protectedpure virtual
virtual void sdr::properties::BaseProperties::PostItemChange ( const sal_uInt16  nWhich)
protectedpure virtual
void sdr::properties::BaseProperties::SetMergedItem ( const SfxPoolItem rItem)
virtual
void sdr::properties::BaseProperties::SetMergedItemSet ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)
virtual
void sdr::properties::BaseProperties::SetMergedItemSetAndBroadcast ( const SfxItemSet rSet,
bool  bClearAllItems = false 
)
virtual void sdr::properties::BaseProperties::SetObjectItem ( const SfxPoolItem rItem)
pure virtual
virtual void sdr::properties::BaseProperties::SetObjectItemDirect ( const SfxPoolItem rItem)
pure virtual
virtual void sdr::properties::BaseProperties::SetObjectItemSet ( const SfxItemSet rSet)
pure virtual
virtual void sdr::properties::BaseProperties::SetStyleSheet ( SfxStyleSheet pNewStyleSheet,
bool  bDontRemoveHardAttr 
)
pure virtual

Member Data Documentation

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

Definition at line 84 of file properties.hxx.

Referenced by GetSdrObject().


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