LibreOffice Module svx (master) 1
|
#include <customshapeproperties.hxx>
Public Member Functions | |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual void | ForceDefaultAttributes () override |
CustomShapeProperties (SdrObject &rObj) | |
CustomShapeProperties (const CustomShapeProperties &rProps, SdrObject &rObj) | |
virtual | ~CustomShapeProperties () override |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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< BaseProperties > | Clone (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< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual const SfxItemSet & | GetObjectItemSet () const override |
virtual | ~AttributeProperties () override |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual SfxStyleSheet * | GetStyleSheet () 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< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual const SfxItemSet & | GetObjectItemSet () 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 SfxStyleSheet * | GetStyleSheet () 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< BaseProperties > | Clone (SdrObject &rObj) const =0 |
virtual const SfxItemSet & | GetObjectItemSet () const =0 |
virtual const SfxItemSet & | GetMergedItemSet () 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 SfxStyleSheet * | GetStyleSheet () const =0 |
virtual void | ForceStyleToHardAttributes () |
void | SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetItem (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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
void | UpdateTextFrameStatus (bool bInvalidateRenderGeometry) |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &rPool) override |
virtual bool | AllowItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) const override |
virtual void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override |
virtual void | ItemChange (const sal_uInt16 nWhich, const SfxPoolItem *pNewItem=nullptr) override |
virtual void | PostItemChange (const sal_uInt16 nWhich) override |
virtual void | ClearObjectItem (const sal_uInt16 nWhich=0) override |
virtual void | ClearObjectItemDirect (const sal_uInt16 nWhich) override |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::properties::TextProperties | |
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::ITextProvider & | getTextProvider () 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 SdrObject & | GetSdrObject () const |
SdrObject & | GetSdrObject () |
Protected Attributes inherited from sdr::properties::DefaultProperties | |
std::optional< SfxItemSet > | mxItemSet |
Definition at line 28 of file customshapeproperties.hxx.
|
explicit |
Definition at line 184 of file customshapeproperties.cxx.
Referenced by Clone().
sdr::properties::CustomShapeProperties::CustomShapeProperties | ( | const CustomShapeProperties & | rProps, |
SdrObject & | rObj | ||
) |
Definition at line 189 of file customshapeproperties.cxx.
|
overridevirtual |
Definition at line 194 of file customshapeproperties.cxx.
|
overrideprivatevirtual |
Reimplemented from sdr::properties::DefaultProperties.
Definition at line 81 of file customshapeproperties.cxx.
References sdr::properties::DefaultProperties::AllowItemChange(), SDRATTR_CUSTOMSHAPE_FIRST(), and SDRATTR_CUSTOMSHAPE_LAST().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::DefaultProperties.
Definition at line 94 of file customshapeproperties.cxx.
References sdr::properties::DefaultProperties::ClearObjectItem(), sdr::properties::DefaultProperties::ClearObjectItemDirect(), SfxWhichIter::FirstWhich(), ItemSetChanged(), sdr::properties::DefaultProperties::mxItemSet, and SfxWhichIter::NextWhich().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::DefaultProperties.
Definition at line 111 of file customshapeproperties.cxx.
References sdr::properties::DefaultProperties::ClearObjectItemDirect(), SfxWhichIter::FirstWhich(), sdr::properties::DefaultProperties::mxItemSet, and SfxWhichIter::NextWhich().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 198 of file customshapeproperties.cxx.
References CustomShapeProperties().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 62 of file customshapeproperties.cxx.
References EE_ITEMS_END(), EE_ITEMS_START(), svl::Items, SDRATTR_CUSTOMSHAPE_LAST(), SDRATTR_GLOW_FIRST(), SDRATTR_GRAF_FIRST(), SDRATTR_MISC_FIRST(), SDRATTR_MISC_LAST(), SDRATTR_SHADOW_LAST(), SDRATTR_SOFTEDGE_LAST(), SDRATTR_START(), SDRATTR_TEXTCOLUMNS_FIRST(), SDRATTR_TEXTCOLUMNS_LAST(), SDRATTR_TEXTDIRECTION(), and SDRATTR_WRITINGMODE2().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 175 of file customshapeproperties.cxx.
References UpdateTextFrameStatus().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 156 of file customshapeproperties.cxx.
References sdr::properties::TextProperties::ItemChange(), and UpdateTextFrameStatus().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 127 of file customshapeproperties.cxx.
References sdr::properties::TextProperties::ItemSetChanged(), and UpdateTextFrameStatus().
Referenced by ClearObjectItem().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 203 of file customshapeproperties.cxx.
References SfxHint::GetId(), SfxStyleSheetHint::GetStyleSheet(), sdr::properties::AttributeProperties::GetStyleSheet(), sdr::properties::TextProperties::Notify(), and UpdateTextFrameStatus().
|
overrideprivatevirtual |
Reimplemented from sdr::properties::DefaultProperties.
Definition at line 136 of file customshapeproperties.cxx.
References sdr::properties::DefaultProperties::PostItemChange(), SDRATTR_TEXT_AUTOGROWHEIGHT(), and UpdateTextFrameStatus().
|
overridevirtual |
Reimplemented from sdr::properties::TextProperties.
Definition at line 165 of file customshapeproperties.cxx.
References sdr::properties::TextProperties::SetStyleSheet(), and UpdateTextFrameStatus().
|
private |
Definition at line 34 of file customshapeproperties.cxx.
References SdrObjCustomShape::AdaptTextMinSize(), SfxItemSet::Get(), sdr::properties::AttributeProperties::GetObjectItemSet(), sdr::properties::BaseProperties::GetSdrObject(), SdrObjCustomShape::InvalidateRenderGeometry(), SdrTextObj::mbTextFrame, and SDRATTR_TEXT_AUTOGROWHEIGHT().
Referenced by ForceDefaultAttributes(), ItemChange(), ItemSetChanged(), Notify(), PostItemChange(), and SetStyleSheet().