summaryrefslogtreecommitdiff
path: root/include/svx/svdorect.hxx
diff options
context:
space:
mode:
authorPhilipp Weissenbacher <p.weissenbacher@gmail.com>2015-11-29 21:11:21 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-06 15:06:46 +0100
commitda952d821dcc08b017bdef8f7b06f60befd2effa (patch)
tree723ec9139bc0a4023e7aeee3c7f1c7b15216a22f /include/svx/svdorect.hxx
parent33455023a9c1e33591d97116ac2e400362f87fbb (diff)
tdf#39468 Translate German comments - include/svx
Change-Id: I5344af095e52efb1f1569d2b67ee3cc6b449dd22 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/svx/svdorect.hxx')
-rw-r--r--include/svx/svdorect.hxx27
1 files changed, 12 insertions, 15 deletions
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx
index 1fc0a5a32663..e7e4c734715a 100644
--- a/include/svx/svdorect.hxx
+++ b/include/svx/svdorect.hxx
@@ -24,9 +24,7 @@
#include <svx/svxdllapi.h>
-// Vorausdeklarationen
-
-
+// Forward declaration
class XPolygon;
namespace sdr { namespace properties {
@@ -36,22 +34,19 @@ namespace sdr { namespace properties {
// SdrRectObj
-// Rechteck-Objekte (Rechteck,Kreis,...)
-
-
-
+/// Rectangle objects (rectangle, circle, ...)
class SVX_DLLPUBLIC SdrRectObj : public SdrTextObj
{
private:
// to allow sdr::properties::RectangleProperties access to SetXPolyDirty()
friend class sdr::properties::RectangleProperties;
- friend class SdrTextObj; // wg SetXPolyDirty bei GrowAdjust
+ friend class SdrTextObj; // Due to SetXPolyDirty for GrowAdjust
protected:
virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() override;
virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override;
- XPolygon* mpXPoly;
+ XPolygon* mpXPoly;
protected:
XPolygon ImpCalcXPoly(const Rectangle& rRect1, long nRad1) const;
@@ -64,16 +59,18 @@ protected:
virtual void RestGeoData(const SdrObjGeoData& rGeo) override;
public:
- // Der Eckenradius-Parameter fliegt irgendwann raus. Der Eckenradius
- // ist dann (spaeter) ueber SfxItems einzustellen (SetAttributes()).
- // Konstruktion eines Rechteck-Zeichenobjekts
-
+ /**
+ * The corner radius parameter is dropped at some point.
+ * We need to set the corner radius via SfxItems later on, using SetAttributes()
+ *
+ * Constructor of a rectangular drawing object
+ */
SdrRectObj();
SdrRectObj(const Rectangle& rRect);
SdrRectObj& operator=(const SdrRectObj& rCopy);
- // Konstruktion eines Textrahmens
+ // Constructor of a text frame
SdrRectObj(SdrObjKind eNewTextKind);
SdrRectObj(SdrObjKind eNewTextKind, const Rectangle& rRect);
virtual ~SdrRectObj();
@@ -94,7 +91,7 @@ public:
virtual sal_uInt32 GetHdlCount() const override;
virtual SdrHdl* GetHdl(sal_uInt32 nHdlNum) const override;
- // special drag methods
+ // Special drag methods
virtual bool hasSpecialDrag() const override;
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const override;
virtual bool applySpecialDrag(SdrDragStat& rDrag) override;