LibreOffice Module svx (master) 1
|
#include <properties.hxx>
Public Member Functions | |
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 | |
const SdrObject & | GetSdrObject () const |
SdrObject & | GetSdrObject () |
Private Attributes | |
SdrObject & | mrObject |
Definition at line 75 of file properties.hxx.
|
explicit |
Definition at line 34 of file properties.cxx.
|
virtual |
Definition at line 39 of file properties.cxx.
void sdr::properties::BaseProperties::BroadcastItemChange | ( | const ItemChangeBroadcaster & | rChange | ) |
Definition at line 108 of file properties.cxx.
References a, SdrObject::BroadcastObjectChange(), ChangeAttr, DeepNoGroups, SdrObject::GetObjIdentifier(), sdr::properties::ItemChangeBroadcaster::GetRectangle(), sdr::properties::ItemChangeBroadcaster::GetRectangleCount(), GetSdrObject(), Group, SdrObjListIter::IsMore(), nCount, SdrObjListIter::Next(), and SdrObject::SendUserCall().
Referenced by SetMergedItemSetAndBroadcast().
|
virtual |
Reimplemented in sdr::properties::E3dSceneProperties, and sdr::properties::GroupProperties.
Definition at line 77 of file properties.cxx.
References ClearObjectItem().
Referenced by sdr::properties::E3dSceneProperties::ClearMergedItem(), sdr::properties::GroupProperties::ClearMergedItem(), and SdrObject::ClearMergedItem().
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::CustomShapeProperties, sdr::properties::EmptyProperties, sdr::properties::GroupProperties, and sdr::properties::PageProperties.
Referenced by ClearMergedItem(), sdr::properties::GroupProperties::ClearObjectItem(), SetMergedItemSet(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), and SetMergedItemSetAndBroadcast().
|
pure virtual |
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, 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::EmptyProperties, sdr::properties::GraphicProperties, sdr::properties::GroupProperties, sdr::properties::MeasureProperties, sdr::properties::OleProperties, sdr::properties::PageProperties, sdr::properties::RectangleProperties, and sdr::properties::TextProperties.
Referenced by SdrObject::SdrObject().
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::AttributeProperties, sdr::properties::EmptyProperties, sdr::properties::GroupProperties, sdr::properties::PageProperties, 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.
|
virtual |
Reimplemented in sdr::properties::DefaultProperties.
Definition at line 142 of file properties.cxx.
Referenced by sdr::properties::DefaultProperties::dumpAsXml().
|
virtual |
Reimplemented in sdr::properties::AttributeProperties, sdr::properties::GroupProperties, and sdr::properties::TextProperties.
Definition at line 83 of file properties.cxx.
Referenced by SdrObject::BurnInStyleSheetAttributes(), and sdr::properties::GroupProperties::ForceStyleToHardAttributes().
const SfxPoolItem & sdr::properties::BaseProperties::GetItem | ( | const sal_uInt16 | nWhich | ) | const |
Definition at line 103 of file properties.cxx.
References SfxItemSet::Get(), and GetObjectItemSet().
Referenced by EnhancedCustomShape3d::Create3DObject(), and sdr::properties::TextProperties::ItemChange().
|
inline |
Definition at line 165 of file properties.hxx.
References GetItem().
|
virtual |
Reimplemented in sdr::properties::E3dCompoundProperties, sdr::properties::E3dSceneProperties, and sdr::properties::GroupProperties.
Definition at line 53 of file properties.cxx.
References GetObjectItemSet().
Referenced by SdrObject::GetMergedItemSet(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), and sdr::properties::E3dSceneProperties::GetMergedItemSet().
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::AttributeProperties, sdr::properties::EmptyProperties, sdr::properties::GroupProperties, and sdr::properties::PageProperties.
Referenced by GetItem(), GetMergedItemSet(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), SdrObject::GetObjectItemSet(), SdrAttrObj::HasFill(), and SdrAttrObj::HasLine().
|
protected |
Definition at line 48 of file properties.cxx.
References mrObject.
|
protected |
Definition at line 43 of file properties.cxx.
References mrObject.
Referenced by sdr::properties::AttributeProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::GraphicProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::OleProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::AttributeProperties::AttributeProperties(), BroadcastItemChange(), sdr::properties::E3dSceneProperties::ClearMergedItem(), sdr::properties::GroupProperties::ClearMergedItem(), sdr::properties::GroupProperties::ClearObjectItem(), sdr::properties::DefaultProperties::DefaultProperties(), sdr::properties::CaptionProperties::ForceDefaultAttributes(), sdr::properties::CircleProperties::ForceDefaultAttributes(), sdr::properties::TextProperties::ForceDefaultAttributes(), sdr::properties::AttributeProperties::ForceStyleToHardAttributes(), sdr::properties::GroupProperties::ForceStyleToHardAttributes(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), sdr::properties::E3dCompoundProperties::GetMergedItemSet(), sdr::properties::E3dSceneProperties::GetMergedItemSet(), sdr::properties::GroupProperties::GetMergedItemSet(), sdr::properties::DefaultProperties::GetObjectItemSet(), sdr::properties::PageProperties::GetObjectItemSet(), sdr::properties::E3dSceneProperties::GetStyleSheet(), sdr::properties::GroupProperties::GetStyleSheet(), sdr::properties::TextProperties::getTextProvider(), sdr::properties::AttributeProperties::ImpRemoveStyleSheet(), sdr::properties::AttributeProperties::isUsedByModel(), sdr::properties::AttributeProperties::ItemChange(), sdr::properties::CellProperties::ItemChange(), sdr::properties::TextProperties::ItemChange(), sdr::properties::AttributeProperties::ItemSetChanged(), sdr::properties::CaptionProperties::ItemSetChanged(), sdr::properties::CellProperties::ItemSetChanged(), sdr::properties::CircleProperties::ItemSetChanged(), sdr::properties::ConnectorProperties::ItemSetChanged(), sdr::properties::E3dProperties::ItemSetChanged(), sdr::properties::GraphicProperties::ItemSetChanged(), sdr::properties::MeasureProperties::ItemSetChanged(), sdr::properties::RectangleProperties::ItemSetChanged(), sdr::properties::TextProperties::ItemSetChanged(), sdr::properties::AttributeProperties::Notify(), sdr::properties::TextProperties::Notify(), sdr::properties::E3dCompoundProperties::PostItemChange(), sdr::properties::E3dExtrudeProperties::PostItemChange(), sdr::properties::E3dLatheProperties::PostItemChange(), sdr::properties::E3dSceneProperties::PostItemChange(), sdr::properties::E3dSphereProperties::PostItemChange(), sdr::properties::E3dSceneProperties::SetMergedItem(), sdr::properties::GroupProperties::SetMergedItem(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), sdr::properties::E3dSceneProperties::SetMergedItemSet(), sdr::properties::GroupProperties::SetMergedItemSet(), SetMergedItemSetAndBroadcast(), sdr::properties::DefaultProperties::SetObjectItemSet(), sdr::properties::E3dSceneProperties::SetSceneItemsFromCamera(), sdr::properties::AttributeProperties::SetStyleSheet(), sdr::properties::CaptionProperties::SetStyleSheet(), sdr::properties::CircleProperties::SetStyleSheet(), sdr::properties::ConnectorProperties::SetStyleSheet(), sdr::properties::E3dSceneProperties::SetStyleSheet(), sdr::properties::GraphicProperties::SetStyleSheet(), sdr::properties::GroupProperties::SetStyleSheet(), sdr::properties::MeasureProperties::SetStyleSheet(), sdr::properties::RectangleProperties::SetStyleSheet(), sdr::properties::TextProperties::SetStyleSheet(), and sdr::properties::CustomShapeProperties::UpdateTextFrameStatus().
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::AttributeProperties, sdr::properties::E3dSceneProperties, sdr::properties::EmptyProperties, sdr::properties::GroupProperties, and sdr::properties::PageProperties.
References GetItem().
Referenced by SdrObject::GetStyleSheet().
|
virtual |
Reimplemented in sdr::properties::TextProperties.
Definition at line 137 of file properties.cxx.
Referenced by drawinglayer::attribute::ImpSdrTextAttribute::ImpSdrTextAttribute().
|
virtual |
Reimplemented in sdr::properties::E3dSceneProperties, and sdr::properties::GroupProperties.
Definition at line 71 of file properties.cxx.
References SetObjectItem().
Referenced by sdr::properties::GraphicProperties::applyDefaultStyleSheetFromSdrModel(), sdr::properties::OleProperties::applyDefaultStyleSheetFromSdrModel(), SdrObject::SetMergedItem(), sdr::properties::E3dSceneProperties::SetMergedItem(), and sdr::properties::GroupProperties::SetMergedItem().
|
virtual |
Reimplemented in sdr::properties::E3dCompoundProperties, sdr::properties::E3dSceneProperties, and sdr::properties::GroupProperties.
Definition at line 59 of file properties.cxx.
References ClearObjectItem(), rSet, and SetObjectItemSet().
Referenced by SdrObject::SetMergedItemSet(), sdr::properties::E3dCompoundProperties::SetMergedItemSet(), sdr::properties::E3dSceneProperties::SetMergedItemSet(), and SetMergedItemSetAndBroadcast().
void sdr::properties::BaseProperties::SetMergedItemSetAndBroadcast | ( | const SfxItemSet & | rSet, |
bool | bClearAllItems = false |
||
) |
Definition at line 90 of file properties.cxx.
References BroadcastItemChange(), ClearObjectItem(), GetSdrObject(), rSet, and SetMergedItemSet().
Referenced by SdrObject::SetMergedItemSetAndBroadcast().
|
pure virtual |
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::EmptyProperties, sdr::properties::GroupProperties, and sdr::properties::PageProperties.
Referenced by E3dLatheObj::E3dLatheObj(), SdrCircObj::ImpSetCircInfoToAttr(), SdrEdgeObj::ImpSetEdgeInfoToAttr(), SdrTextObj::NbcSetOutlinerParaObjectForText(), E3dLatheObj::SetDefaultAttributes(), and E3dLatheObj::SetPolyPoly2D().
|
pure virtual |
|
pure virtual |
Implemented in sdr::properties::DefaultProperties, sdr::properties::AttributeProperties, sdr::properties::CaptionProperties, sdr::properties::CircleProperties, sdr::properties::ConnectorProperties, sdr::properties::CustomShapeProperties, sdr::properties::E3dSceneProperties, sdr::properties::EmptyProperties, sdr::properties::GraphicProperties, sdr::properties::GroupProperties, sdr::properties::MeasureProperties, sdr::properties::RectangleProperties, sdr::properties::TextProperties, and sdr::properties::PageProperties.
Referenced by SdrObject::InternalSetStyleSheet().
|
private |
Definition at line 80 of file properties.hxx.
Referenced by GetSdrObject().