25#include <osl/diagnose.h>
69 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
111 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
118 std::unique_ptr<SfxItemSet> xNewSet(
rSet.
Clone());
122 xNewSet->ClearItem(b);
147 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
162 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
206 if(fNew != aActualPosition.
getZ())
236 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
253 OSL_ENSURE(
nullptr != pSub,
"Children of SdrObject expected (!)");
262 if(pCandidate != pRetval)
270 pRetval = pCandidate;
void SetPosition(const basegfx::B3DPoint &rNewPos)
void SetFocalLength(double fLen)
const basegfx::B3DPoint & GetPosition() const
double GetFocalLength() const
virtual void StructureChanged() override
double GetFocalLength() const
ProjectionType GetPerspective() const
double GetDistance() const
void SetCamera(const Camera3D &rNewCamera)
const Camera3D & GetCamera() const
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
void NbcSetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
SfxStyleSheet * GetStyleSheet() const
const SfxItemSet & GetMergedItemSet() const
void ClearMergedItem(const sal_uInt16 nWhich=0)
void SetMergedItem(const SfxPoolItem &rItem)
virtual std::unique_ptr< SfxItemSet > Clone(bool bItems=true, SfxItemPool *pToPool=nullptr) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
void SetProjection(ProjectionType ePrj)
ProjectionType GetProjection() const
virtual const SfxItemSet & GetObjectItemSet() const override
virtual void ClearMergedItem(const sal_uInt16 nWhich)
const SdrObject & GetSdrObject() const
virtual const SfxItemSet & GetMergedItemSet() const
virtual void SetMergedItem(const SfxPoolItem &rItem)
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
std::optional< SfxItemSet > mxItemSet
virtual void PostItemChange(const sal_uInt16 nWhich)
virtual ~E3dSceneProperties() override
virtual void PostItemChange(const sal_uInt16 nWhich) override
void SetSceneItemsFromCamera()
virtual SfxStyleSheet * GetStyleSheet() const override
virtual void SetMergedItem(const SfxPoolItem &rItem) override
E3dSceneProperties(SdrObject &rObj)
virtual const SfxItemSet & GetMergedItemSet() const override
virtual void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false) override
virtual void SetStyleSheet(SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override
virtual void ClearMergedItem(const sal_uInt16 nWhich) override
virtual std::unique_ptr< BaseProperties > Clone(SdrObject &rObj) const override
constexpr TypedWhichId< Svx3DPerspectiveItem > SDRATTR_3DSCENE_PERSPECTIVE(SDRATTR_3DSCENE_FIRST+0)
constexpr sal_uInt16 SDRATTR_3DSCENE_FIRST(SDRATTR_3DOBJ_LAST+1)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_FOCAL_LENGTH(SDRATTR_3DSCENE_FIRST+2)
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_DISTANCE(SDRATTR_3DSCENE_FIRST+1)
constexpr sal_uInt16 SDRATTR_3DSCENE_LAST(SDRATTR_3DSCENE_SHADE_MODE)
class UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) Svx3DPerspectiveItem final SfxUInt32Item makeSvx3DDistanceItem(sal_uInt32 nVal)
SfxUInt32Item makeSvx3DFocalLengthItem(sal_uInt32 nVal)