sphere3d.hxx (cdf0e10c) sphere3d.hxx (a5258243)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 54 unchanged lines hidden (view full) ---

63 sal_uInt32 GetHorizontalSegments() const
64 { return ((const Svx3DHorizontalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
65
66 // VerticalSegments:
67 sal_uInt32 GetVerticalSegments() const
68 { return ((const Svx3DVerticalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
69
70 virtual sal_uInt16 GetObjIdentifier() const;
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *

--- 54 unchanged lines hidden (view full) ---

63 sal_uInt32 GetHorizontalSegments() const
64 { return ((const Svx3DHorizontalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
65
66 // VerticalSegments:
67 sal_uInt32 GetVerticalSegments() const
68 { return ((const Svx3DVerticalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
69
70 virtual sal_uInt16 GetObjIdentifier() const;
71 virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
71 virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier, bool bAddText) const;
72
73 virtual void operator=(const SdrObject&);
74
75 void ReSegment(sal_uInt32 nHorzSegments, sal_uInt32 nVertSegments);
76 const basegfx::B3DPoint& Center() const { return aCenter; }
77 const basegfx::B3DVector& Size() const { return aSize; }
78
79 // Lokale Parameter setzen mit Geometrieneuerzeugung
80 void SetCenter(const basegfx::B3DPoint& rNew);
81 void SetSize(const basegfx::B3DVector& rNew);
82
83 // TakeObjName...() ist fuer die Anzeige in der UI, z.B. "3 Rahmen selektiert".
84 virtual void TakeObjNameSingul(String& rName) const;
85 virtual void TakeObjNamePlural(String& rName) const;
86};
87
88#endif // _E3D_SPHERE3D_HXX
72
73 virtual void operator=(const SdrObject&);
74
75 void ReSegment(sal_uInt32 nHorzSegments, sal_uInt32 nVertSegments);
76 const basegfx::B3DPoint& Center() const { return aCenter; }
77 const basegfx::B3DVector& Size() const { return aSize; }
78
79 // Lokale Parameter setzen mit Geometrieneuerzeugung
80 void SetCenter(const basegfx::B3DPoint& rNew);
81 void SetSize(const basegfx::B3DVector& rNew);
82
83 // TakeObjName...() ist fuer die Anzeige in der UI, z.B. "3 Rahmen selektiert".
84 virtual void TakeObjNameSingul(String& rName) const;
85 virtual void TakeObjNamePlural(String& rName) const;
86};
87
88#endif // _E3D_SPHERE3D_HXX