namespace sdr::properties
{ class GroupProperties final : public BaseProperties
{ // the to be used ItemSet mutable std::optional<SfxItemSet> moMergedItemSet; public: // basic constructor explicit GroupProperties(SdrObject& rObj);
// create a new object specific itemset with object specific ranges. virtual SfxItemSet CreateObjectSpecificItemSet(SfxItemPool& pPool) override;
// Clone() operator, normally just calls the local copy constructor virtual std::unique_ptr<BaseProperties> Clone(SdrObject& rObj) const override;
// get itemset virtualconst SfxItemSet& GetObjectItemSet() const override;
// get merged ItemSet. Normally, this maps directly to GetObjectItemSet(), but may // be overridden e.g for group objects to return a merged ItemSet of the object. // When using this method the returned ItemSet may contain items in the state // SfxItemState::INVALID which means there were several such items with different // values. virtualconst SfxItemSet& GetMergedItemSet() const override;
// Set merged ItemSet. Normally, this maps to SetObjectItemSet(). virtualvoid SetMergedItemSet(const SfxItemSet& rSet, bool bClearAllItems = false, bool bAdjustTextFrameWidthAndHeight = true) override;
// set single item virtualvoid SetObjectItem(const SfxPoolItem& rItem) override;
// set single item direct, do not do any notifies or things like that virtualvoid SetObjectItemDirect(const SfxPoolItem& rItem) override;
// clear single item direct, do not do any notifies or things like that. // Also supports complete deletion of items when default parameter 0 is used. virtualvoid ClearObjectItemDirect(const sal_uInt16 nWhich) override;
// Set a single item, iterate over hierarchies if necessary. virtualvoid SetMergedItem(const SfxPoolItem& rItem) override;
// Clear a single item, iterate over hierarchies if necessary. virtualvoid ClearMergedItem(const sal_uInt16 nWhich) override;
// set complete item set virtualvoid SetObjectItemSet(const SfxItemSet& rSet, bool bAdjustTextFrameWidthAndHeight = true) override;
// set a new StyleSheet virtualvoid SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast, bool bAdjustTextFrameWidthAndHeight = true) override;
// get the local StyleSheet virtual SfxStyleSheet* GetStyleSheet() const override;
// force all attributes which come from styles to hard attributes // to be able to live without the style. virtualvoid ForceStyleToHardAttributes() override;
};
} // end of namespace sdr::properties
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.