LibreOffice Module svx (master) 1
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
sdr::properties::CellProperties Class Reference
Inheritance diagram for sdr::properties::CellProperties:
[legend]
Collaboration diagram for sdr::properties::CellProperties:
[legend]

Public Member Functions

 CellProperties (SdrObject &rObj, sdr::table::Cell *pCell)
 
 CellProperties (const CellProperties &rProps, SdrObject &rObj, sdr::table::Cell *pCell)
 
std::unique_ptr< BasePropertiesClone (SdrObject &rObj) const override
 
void ForceDefaultAttributes () override
 
void ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override
 
void ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override
 
- Public Member Functions inherited from sdr::properties::TextProperties
 TextProperties (SdrObject &rObj)
 
 TextProperties (const TextProperties &rProps, SdrObject &rObj)
 
virtual ~TextProperties () override
 
virtual std::unique_ptr< BasePropertiesClone (SdrObject &rObj) const override
 
virtual void SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
 
virtual void ForceDefaultAttributes () override
 
virtual void ForceStyleToHardAttributes () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void SetObjectItemNoBroadcast (const SfxPoolItem &rItem)
 
virtual sal_uInt32 getVersion () const override
 
void increaseVersion ()
 
- Public Member Functions inherited from sdr::properties::AttributeProperties
 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
 

Public Attributes

sdr::table::CellRef mxCell
 

Protected Member Functions

SfxItemSet CreateObjectSpecificItemSet (SfxItemPool &rPool) override
 
const svx::ITextProvidergetTextProvider () const override
 Get the TextProvider related to our SdrObject. More...
 
virtual SfxItemSet CreateObjectSpecificItemSet (SfxItemPool &rPool) 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 const svx::ITextProvidergetTextProvider () const
 Get the TextProvider related to our SdrObject. More...
 
- Protected Member Functions inherited from sdr::properties::AttributeProperties
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 Attributes

const CellTextProvider maTextProvider
 

Additional Inherited Members

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

Detailed Description

Definition at line 150 of file cell.cxx.

Constructor & Destructor Documentation

◆ CellProperties() [1/2]

sdr::properties::CellProperties::CellProperties ( SdrObject rObj,
sdr::table::Cell *  pCell 
)

Definition at line 202 of file cell.cxx.

Referenced by Clone().

◆ CellProperties() [2/2]

sdr::properties::CellProperties::CellProperties ( const CellProperties rProps,
SdrObject rObj,
sdr::table::Cell *  pCell 
)

Definition at line 209 of file cell.cxx.

Member Function Documentation

◆ Clone()

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

Reimplemented from sdr::properties::TextProperties.

Definition at line 216 of file cell.cxx.

References CellProperties().

◆ CreateObjectSpecificItemSet()

SfxItemSet sdr::properties::CellProperties::CreateObjectSpecificItemSet ( SfxItemPool rPool)
overrideprotectedvirtual

◆ ForceDefaultAttributes()

void sdr::properties::CellProperties::ForceDefaultAttributes ( )
overridevirtual

Reimplemented from sdr::properties::TextProperties.

Definition at line 222 of file cell.cxx.

◆ getTextProvider()

const svx::ITextProvider & sdr::properties::CellProperties::getTextProvider ( ) const
overrideprotectedvirtual

Get the TextProvider related to our SdrObject.

Reimplemented from sdr::properties::TextProperties.

Definition at line 197 of file cell.cxx.

References maTextProvider.

◆ ItemChange()

void sdr::properties::CellProperties::ItemChange ( const sal_uInt16  nWhich,
const SfxPoolItem pNewItem = nullptr 
)
overridevirtual

◆ ItemSetChanged()

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

Member Data Documentation

◆ maTextProvider

const CellTextProvider sdr::properties::CellProperties::maTextProvider
private

Definition at line 177 of file cell.cxx.

Referenced by getTextProvider().

◆ mxCell

sdr::table::CellRef sdr::properties::CellProperties::mxCell

Definition at line 174 of file cell.cxx.

Referenced by ItemChange(), and ItemSetChanged().


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