27#include <osl/diagnose.h>
53 assert(!
"GroupProperties::GetObjectItemSet() should never be called");
69 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
102 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
122 assert(!
"GroupProperties::SetObjectItem() should never be called");
127 assert(!
"GroupProperties::SetObjectItemDirect() should never be called");
134 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
150 assert(!
"GroupProperties::ClearObjectItemDirect() should never be called");
156 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
168 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
179 assert(!
"GroupProperties::SetObjectItemSet() should never be called");
187 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
196 if(pCandidate != pRetval)
204 pRetval = pCandidate;
215 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
230 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
virtual sdr::properties::BaseProperties & GetProperties() const
void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
void NbcSetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
SfxStyleSheet * GetStyleSheet() const
const SfxItemSet & GetMergedItemSet() const
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
virtual void ClearMergedItem(const sal_uInt16 nWhich)
const SdrObject & GetSdrObject() const
virtual void ForceStyleToHardAttributes()
virtual void SetMergedItem(const SfxPoolItem &rItem)
virtual void ClearObjectItem(const sal_uInt16 nWhich=0)=0
virtual const SfxItemSet & GetObjectItemSet() const override
virtual SfxStyleSheet * GetStyleSheet() const override
virtual void SetObjectItem(const SfxPoolItem &rItem) override
virtual SfxItemSet CreateObjectSpecificItemSet(SfxItemPool &pPool) override
virtual void SetObjectItemDirect(const SfxPoolItem &rItem) override
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false) override
virtual void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
virtual void SetMergedItem(const SfxPoolItem &rItem) override
virtual const SfxItemSet & GetMergedItemSet() const override
virtual void ClearMergedItem(const sal_uInt16 nWhich) override
virtual void SetObjectItemSet(const SfxItemSet &rSet) override
virtual ~GroupProperties() override
virtual void ClearObjectItem(const sal_uInt16 nWhich=0) override
virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override
virtual std::unique_ptr< BaseProperties > Clone(SdrObject &rObj) const override
GroupProperties(SdrObject &rObj)
std::optional< SfxItemSet > moMergedItemSet
virtual void ForceStyleToHardAttributes() override