21#include <svx/strings.hrc>
34 return std::make_unique<sdr::contact::ViewContactOfE3dCube>(*
this);
40 const E3dDefaultAttributes& rDefault,
57 const E3dDefaultAttributes aDefault;
66 const E3dDefaultAttributes aDefault;
81 aCubePos = rDefault.GetDefaultCubePos();
82 aCubeSize = rDefault.GetDefaultCubeSize();
139 if (!
aName.isEmpty())
150 return SvxResId(STR_ObjNamePluralCube3d);
void SetCubeSize(const basegfx::B3DVector &rNew)
virtual OUString TakeObjNamePlural() const override
virtual rtl::Reference< SdrObject > DoConvertToPolyObj(bool bBezier, bool bAddText) const override
virtual std::unique_ptr< sdr::contact::ViewContact > CreateObjectSpecificViewContact() override
virtual rtl::Reference< SdrObject > CloneSdrObject(SdrModel &rTargetModel) const override
void SetPosIsCenter(bool bNew)
basegfx::B3DVector aCubeSize
void SetDefaultAttributes(const E3dDefaultAttributes &rDefault)
void SetCubePos(const basegfx::B3DPoint &rNew)
virtual SdrObjKind GetObjIdentifier() const override
virtual ~E3dCubeObj() override
basegfx::B3DPoint aCubePos
virtual OUString TakeObjNameSingul() const override
E3dCubeObj(SdrModel &rSdrModel, const E3dDefaultAttributes &rDefault, const basegfx::B3DPoint &aPos, const basegfx::B3DVector &r3DSize)
void ActionChanged() const
virtual const OUString & GetName() const
OUString SvxResId(TranslateId aId)