LibreOffice Module svx (master) 1
|
#include <e3dsceneproperties.hxx>
Public Member Functions | |
E3dSceneProperties (SdrObject &rObj) | |
E3dSceneProperties (const E3dSceneProperties &rProps, SdrObject &rObj) | |
virtual | ~E3dSceneProperties () override |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
virtual const SfxItemSet & | GetMergedItemSet () const override |
virtual void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) override |
virtual void | SetMergedItem (const SfxPoolItem &rItem) override |
virtual void | ClearMergedItem (const sal_uInt16 nWhich) override |
virtual void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override |
virtual SfxStyleSheet * | GetStyleSheet () const override |
void | SetSceneItemsFromCamera () |
Public Member Functions inherited from sdr::properties::E3dProperties | |
E3dProperties (SdrObject &rObj) | |
E3dProperties (const E3dProperties &rProps, SdrObject &rObj) | |
virtual | ~E3dProperties () override |
virtual std::unique_ptr< BaseProperties > | Clone (SdrObject &rObj) const override |
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 | |
virtual void | PostItemChange (const sal_uInt16 nWhich) override |
Additional Inherited Members | |
Protected Member Functions inherited from sdr::properties::E3dProperties | |
virtual SfxItemSet | CreateObjectSpecificItemSet (SfxItemPool &rPool) override |
virtual void | ItemSetChanged (o3tl::span< const SfxPoolItem *const > aChangedItems, sal_uInt16 nDeletedWhich) override |
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 e3dsceneproperties.hxx.
|
explicit |
Definition at line 31 of file e3dsceneproperties.cxx.
Referenced by Clone().
sdr::properties::E3dSceneProperties::E3dSceneProperties | ( | const E3dSceneProperties & | rProps, |
SdrObject & | rObj | ||
) |
Definition at line 36 of file e3dsceneproperties.cxx.
|
overridevirtual |
Definition at line 41 of file e3dsceneproperties.cxx.
|
overridevirtual |
Reimplemented from sdr::properties::BaseProperties.
Definition at line 159 of file e3dsceneproperties.cxx.
References a, sdr::properties::BaseProperties::ClearMergedItem(), SdrObject::ClearMergedItem(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::BaseProperties::GetSdrObject(), and nCount.
|
overridevirtual |
Reimplemented from sdr::properties::E3dProperties.
Definition at line 45 of file e3dsceneproperties.cxx.
References E3dSceneProperties().
|
overridevirtual |
Reimplemented from sdr::properties::BaseProperties.
Definition at line 50 of file e3dsceneproperties.cxx.
References a, SfxWhichIter::FirstWhich(), SfxItemSet::Get(), SfxWhichIter::GetItemState(), sdr::properties::BaseProperties::GetMergedItemSet(), SdrObject::GetMergedItemSet(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::AttributeProperties::GetObjectItemSet(), sdr::properties::BaseProperties::GetSdrObject(), sdr::properties::DefaultProperties::mxItemSet, nCount, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, and SDRATTR_3DSCENE_LAST().
|
overridevirtual |
Reimplemented from sdr::properties::AttributeProperties.
Definition at line 248 of file e3dsceneproperties.cxx.
References a, SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::BaseProperties::GetSdrObject(), SdrObject::GetStyleSheet(), and nCount.
|
overrideprivatevirtual |
Reimplemented from sdr::properties::DefaultProperties.
Definition at line 174 of file e3dsceneproperties.cxx.
References E3dScene::GetCamera(), E3dScene::GetDistance(), Camera3D::GetFocalLength(), E3dScene::GetFocalLength(), E3dScene::GetPerspective(), Camera3D::GetPosition(), Viewport3D::GetProjection(), sdr::properties::BaseProperties::GetSdrObject(), basegfx::Tuple3D< typename TYPE >::getX(), basegfx::Tuple3D< typename TYPE >::getY(), basegfx::Tuple3D< typename TYPE >::getZ(), sdr::properties::DefaultProperties::PostItemChange(), SDRATTR_3DSCENE_DISTANCE(), SDRATTR_3DSCENE_FOCAL_LENGTH(), SDRATTR_3DSCENE_PERSPECTIVE(), E3dScene::SetCamera(), Camera3D::SetFocalLength(), Camera3D::SetPosition(), Viewport3D::SetProjection(), and E3dScene::StructureChanged().
|
overridevirtual |
Reimplemented from sdr::properties::BaseProperties.
Definition at line 144 of file e3dsceneproperties.cxx.
References a, SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::BaseProperties::GetSdrObject(), nCount, sdr::properties::BaseProperties::SetMergedItem(), and SdrObject::SetMergedItem().
|
overridevirtual |
Reimplemented from sdr::properties::BaseProperties.
Definition at line 107 of file e3dsceneproperties.cxx.
References a, SfxItemSet::Clone(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::BaseProperties::GetSdrObject(), nCount, rSet, SDRATTR_3DSCENE_FIRST(), SDRATTR_3DSCENE_LAST(), sdr::properties::BaseProperties::SetMergedItemSet(), and SdrObject::SetMergedItemSet().
void sdr::properties::E3dSceneProperties::SetSceneItemsFromCamera | ( | ) |
Definition at line 277 of file e3dsceneproperties.cxx.
References E3dScene::GetCamera(), Camera3D::GetFocalLength(), sdr::properties::AttributeProperties::GetObjectItemSet(), Camera3D::GetPosition(), Viewport3D::GetProjection(), sdr::properties::BaseProperties::GetSdrObject(), basegfx::Tuple3D< typename TYPE >::getZ(), makeSvx3DDistanceItem(), makeSvx3DFocalLengthItem(), and sdr::properties::DefaultProperties::mxItemSet.
|
overridevirtual |
Reimplemented from sdr::properties::AttributeProperties.
Definition at line 232 of file e3dsceneproperties.cxx.
References a, SdrObjList::GetObj(), SdrObjList::GetObjCount(), sdr::properties::BaseProperties::GetSdrObject(), SdrObject::NbcSetStyleSheet(), nCount, and SdrObject::SetStyleSheet().