27 #include <osl/diagnose.h>
53 assert(!
"GroupProperties::GetObjectItemSet() should never be called");
69 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
80 if(SfxItemState::DONTCARE == rSet.
GetItemState(nWhich,
false))
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 (!)");
virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override
virtual const SfxItemSet & GetObjectItemSet() const override
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false) override
void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
virtual void SetObjectItemSet(const SfxItemSet &rSet) override
GroupProperties(SdrObject &rObj)
virtual SfxItemSet CreateObjectSpecificItemSet(SfxItemPool &pPool) override
virtual sdr::properties::BaseProperties & GetProperties() const
virtual const SfxItemSet & GetMergedItemSet() const override
virtual void SetMergedItem(const SfxPoolItem &rItem) override
virtual void ForceStyleToHardAttributes()
virtual void ClearMergedItem(const sal_uInt16 nWhich) override
virtual void ClearObjectItem(const sal_uInt16 nWhich=0)=0
std::optional< SfxItemSet > mxItemSet
virtual void ClearObjectItem(const sal_uInt16 nWhich=0) override
SfxStyleSheet * GetStyleSheet() const
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
virtual void SetObjectItemDirect(const SfxPoolItem &rItem) override
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
virtual void SetObjectItem(const SfxPoolItem &rItem) override
virtual SfxStyleSheet * GetStyleSheet() const override
virtual ~GroupProperties() override
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
const SfxItemSet & GetMergedItemSet() const
virtual void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
virtual std::unique_ptr< BaseProperties > Clone(SdrObject &rObj) const override
virtual void SetMergedItem(const SfxPoolItem &rItem)
const SdrObject & GetSdrObject() const
void NbcSetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
virtual void ClearMergedItem(const sal_uInt16 nWhich)
virtual void ForceStyleToHardAttributes() override