23 #include <svx/svxids.hrc>
24 #include <svx/strings.hrc>
33 #include <com/sun/star/drawing/LineStyle.hpp>
45 auto pScene =
dynamic_cast< const E3dScene*
>(pObj);
67 if(dynamic_cast< const E3dLatheObj* >(pObj) !=
nullptr)
71 else if(dynamic_cast< const E3dExtrudeObj* >(pObj) !=
nullptr)
75 else if(dynamic_cast< const E3dSphereObj* >(pObj) !=
nullptr)
79 else if(dynamic_cast< const E3dCubeObj* >(pObj) !=
nullptr)
97 SID_ATTR_3D_INTERN, SID_ATTR_3D_INTERN>{});
99 sal_uInt32 nSelectedItems(0);
108 for(
size_t a = 0;
a < nMarkCnt; ++
a)
123 aSet.Put(aDefaultSet);
139 sal_uInt32 nSelectedItems(0);
151 for(
size_t a = 0;
a < nMarkCnt; ++
a)
162 aDefaultSet.Put(rAttr);
size_t GetMarkCount() const
void ReplaceObjectAtView(SdrObject *pOldObj, SdrPageView &rPV, SdrObject *pNewObj, bool bMark=true)
static void Imp_E3dView_InorderRun3DObjects(const SdrObject *pObj, sal_uInt32 &rMask)
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
void Set3DAttributes(const SfxItemSet &rAttr)
void MergeAttrFromMarked(SfxItemSet &rAttr, bool bOnlyHardAttr) const
virtual SdrObjList * GetSubList() const
constexpr sal_uInt16 SDRATTR_START(XATTR_START)
SfxItemSet Get3DAttributes() const
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_DISTANCE(SDRATTR_3DSCENE_FIRST+1)
void SetAttrToMarked(const SfxItemSet &rAttr, bool bReplaceAll)
double GetDefaultCamPosZ()
OUString SvxResId(const char *pId)
void ConvertMarkedToPolyObj()
SfxUInt32Item makeSvx3DFocalLengthItem(sal_uInt32 nVal)
size_t GetMarkedObjectCount() const
class UNLESS_MERGELIBS(SVXCORE_DLLPUBLIC) Svx3DPerspectiveItem SfxUInt32Item makeSvx3DDistanceItem(sal_uInt32 nVal)
const SdrMarkList & GetMarkedObjectList() const
bool SetAttributes(const SfxItemSet &rSet, bool bReplaceAll=false)
double GetDefaultCamFocal()
bool IsGroupObject() const
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
constexpr sal_uInt16 SDRATTR_END(SDRATTR_SOFTEDGE_LAST)
SdrObjectUniquePtr ConvertToPolyObj(bool bBezier, bool bLineToArea) const
constexpr TypedWhichId< SfxUInt32Item > SDRATTR_3DSCENE_FOCAL_LENGTH(SDRATTR_3DSCENE_FIRST+2)
void ConvertMarkedToPolyObj()
void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const
SdrObject * GetMarkedObjectByIndex(size_t nNum) const
SdrPageView * GetSdrPageView() const
const SfxItemPool & GetItemPool() const