LibreOffice Module svx (master) 1
|
#include <defaultproperties.hxx>
Public Member Functions | |
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 |
Protected Member Functions | |
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 | |
std::optional< SfxItemSet > | mxItemSet |
Definition at line 37 of file defaultproperties.hxx.
|
explicit |
Definition at line 43 of file defaultproperties.cxx.
Referenced by Clone().
sdr::properties::DefaultProperties::DefaultProperties | ( | const DefaultProperties & | rProps, |
SdrObject & | rObj | ||
) |
Definition at line 48 of file defaultproperties.cxx.
References SdrModel::GetItemPool(), GetMapFactor(), SdrModel::GetScaleUnit(), SdrObject::getSdrModelFromSdrObject(), sdr::properties::BaseProperties::GetSdrObject(), mxItemSet, sdr::properties::ScaleItemSet(), and X.
|
overridevirtual |
Definition at line 94 of file defaultproperties.cxx.
|
protectedvirtual |
Reimplemented in sdr::properties::CustomShapeProperties.
Definition at line 208 of file defaultproperties.cxx.
Referenced by sdr::properties::CustomShapeProperties::AllowItemChange(), ClearObjectItem(), ClearObjectItemDirect(), SetObjectItem(), SetObjectItemDirect(), and SetObjectItemSet().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::CustomShapeProperties.
Definition at line 133 of file defaultproperties.cxx.
References AllowItemChange(), ItemChange(), ItemSetChanged(), and PostItemChange().
Referenced by sdr::properties::CustomShapeProperties::ClearObjectItem().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::CustomShapeProperties.
Definition at line 147 of file defaultproperties.cxx.
References AllowItemChange(), and ItemChange().
Referenced by sdr::properties::CustomShapeProperties::ClearObjectItem(), and sdr::properties::CustomShapeProperties::ClearObjectItemDirect().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::CaptionProperties, sdr::properties::CellProperties, sdr::properties::CircleProperties, sdr::properties::ConnectorProperties, sdr::properties::CustomShapeProperties, sdr::properties::E3dCompoundProperties, sdr::properties::E3dExtrudeProperties, sdr::properties::E3dLatheProperties, sdr::properties::E3dProperties, sdr::properties::E3dSceneProperties, sdr::properties::E3dSphereProperties, sdr::properties::GraphicProperties, sdr::properties::MeasureProperties, sdr::properties::OleProperties, sdr::properties::RectangleProperties, and sdr::properties::TextProperties.
Definition at line 89 of file defaultproperties.cxx.
References DefaultProperties().
|
overrideprotectedvirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::CaptionProperties, sdr::properties::CellProperties, sdr::properties::CircleProperties, sdr::properties::ConnectorProperties, sdr::properties::CustomShapeProperties, sdr::properties::E3dProperties, sdr::properties::GraphicProperties, sdr::properties::MeasureProperties, and sdr::properties::TextProperties.
Definition at line 37 of file defaultproperties.cxx.
Referenced by GetObjectItemSet().
|
overridevirtual |
Reimplemented from sdr::properties::BaseProperties.
Definition at line 239 of file defaultproperties.cxx.
References sdr::properties::BaseProperties::dumpAsXml(), and mxItemSet.
|
virtual |
Reimplemented in sdr::properties::CaptionProperties, sdr::properties::CellProperties, sdr::properties::CircleProperties, sdr::properties::CustomShapeProperties, sdr::properties::GraphicProperties, sdr::properties::MeasureProperties, and sdr::properties::TextProperties.
Definition at line 235 of file defaultproperties.cxx.
Referenced by GetObjectItemSet().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::AttributeProperties.
Definition at line 96 of file defaultproperties.cxx.
References CreateObjectSpecificItemSet(), ForceDefaultAttributes(), sdr::properties::BaseProperties::GetSdrObject(), and mxItemSet.
Referenced by sdr::properties::AttributeProperties::GetObjectItemSet().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::AttributeProperties, and sdr::properties::E3dSceneProperties.
Definition at line 229 of file defaultproperties.cxx.
|
inlineprotected |
Definition at line 63 of file defaultproperties.hxx.
Referenced by sdr::properties::AttributeProperties::AttributeProperties(), sdr::properties::AttributeProperties::GetObjectItemSet(), sdr::properties::AttributeProperties::ImpAddStyleSheet(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), sdr::properties::AttributeProperties::ImpSetParentAtSfxItemSet(), and sdr::properties::AttributeProperties::ItemChange().
|
protectedvirtual |
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::CellProperties, sdr::properties::CustomShapeProperties, and sdr::properties::TextProperties.
Definition at line 213 of file defaultproperties.cxx.
Referenced by ClearObjectItem(), ClearObjectItemDirect(), SetObjectItem(), SetObjectItemDirect(), and SetObjectItemSet().
|
protectedvirtual |
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::CaptionProperties, sdr::properties::CellProperties, sdr::properties::CircleProperties, sdr::properties::ConnectorProperties, sdr::properties::CustomShapeProperties, sdr::properties::E3dProperties, sdr::properties::GraphicProperties, sdr::properties::MeasureProperties, sdr::properties::RectangleProperties, and sdr::properties::TextProperties.
Definition at line 204 of file defaultproperties.cxx.
Referenced by ClearObjectItem(), SetObjectItem(), and SetObjectItemSet().
|
protectedvirtual |
Reimplemented in sdr::properties::CustomShapeProperties, sdr::properties::E3dCompoundProperties, sdr::properties::E3dExtrudeProperties, sdr::properties::E3dLatheProperties, sdr::properties::E3dSceneProperties, and sdr::properties::E3dSphereProperties.
Definition at line 217 of file defaultproperties.cxx.
References sdr::properties::CleanupFillProperties(), mxItemSet, and XATTR_FILLSTYLE().
Referenced by ClearObjectItem(), sdr::properties::CustomShapeProperties::PostItemChange(), sdr::properties::E3dCompoundProperties::PostItemChange(), sdr::properties::E3dSceneProperties::PostItemChange(), SetObjectItem(), and SetObjectItemSet().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Definition at line 109 of file defaultproperties.cxx.
References AllowItemChange(), ItemChange(), ItemSetChanged(), PostItemChange(), and SfxPoolItem::Which().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Definition at line 123 of file defaultproperties.cxx.
References AllowItemChange(), ItemChange(), and SfxPoolItem::Which().
Referenced by sdr::properties::TextProperties::ItemChange().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Definition at line 155 of file defaultproperties.cxx.
References AllowItemChange(), SfxItemSet::Count(), SfxWhichIter::FirstWhich(), GraphicObject::GetGraphic(), XFillBitmapItem::GetGraphicObject(), SfxItemSet::GetItem(), SfxWhichIter::GetItemState(), sdr::properties::BaseProperties::GetSdrObject(), Graphic::getVectorGraphicData(), SfxItemSet::HasItem(), ItemChange(), ItemSetChanged(), SfxWhichIter::NextWhich(), PostItemChange(), rSet, basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), and XATTR_FILLBITMAP().
|
overridevirtual |
Implements sdr::properties::BaseProperties.
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::CaptionProperties, sdr::properties::CircleProperties, sdr::properties::ConnectorProperties, sdr::properties::CustomShapeProperties, sdr::properties::E3dSceneProperties, sdr::properties::GraphicProperties, sdr::properties::MeasureProperties, sdr::properties::RectangleProperties, and sdr::properties::TextProperties.
Definition at line 223 of file defaultproperties.cxx.
|
mutableprotected |
Definition at line 41 of file defaultproperties.hxx.
Referenced by sdr::properties::CustomShapeProperties::ClearObjectItem(), sdr::properties::CustomShapeProperties::ClearObjectItemDirect(), DefaultProperties(), dumpAsXml(), sdr::properties::CaptionProperties::ForceDefaultAttributes(), sdr::properties::CircleProperties::ForceDefaultAttributes(), sdr::properties::GraphicProperties::ForceDefaultAttributes(), sdr::properties::MeasureProperties::ForceDefaultAttributes(), sdr::properties::TextProperties::ForceDefaultAttributes(), sdr::properties::AttributeProperties::ForceStyleToHardAttributes(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), sdr::properties::E3dSceneProperties::GetMergedItemSet(), GetObjectItemSet(), sdr::properties::AttributeProperties::GetObjectItemSet(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), sdr::properties::AttributeProperties::ImpSetParentAtSfxItemSet(), sdr::properties::AttributeProperties::ItemChange(), sdr::properties::CellProperties::ItemSetChanged(), sdr::properties::TextProperties::ItemSetChanged(), PostItemChange(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), sdr::properties::TextProperties::SetObjectItemNoBroadcast(), and sdr::properties::E3dSceneProperties::SetSceneItemsFromCamera().