Kaydet (Commit) ff5d0dae authored tarafından Tobias Madl's avatar Tobias Madl Kaydeden (comit) Caolán McNamara

fdo#39468: Translated some german comments

Change-Id: I7fba5d4d91c85289f2be5c0338977bea2cce2b06
Reviewed-on: https://gerrit.libreoffice.org/13178Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst ab515d82
This diff is collapsed.
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
class SdrGluePoint; class SdrGluePoint;
// Editieren von Klebepunkten an den Objekten (Klebepunkte fuer Verbinder) // Edit GluePoints at the objects (GluePoints for connector)
class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView
{ {
void ImpClearVars(); void ImpClearVars();
// Markierte Klebepunkte kopieren und anstelle der alten markieren // copy marked GluePoints and mark instead of the old ones
void ImpCopyMarkedGluePoints(); void ImpCopyMarkedGluePoints();
typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*); typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*);
typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*); typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*);
...@@ -46,35 +46,35 @@ protected: ...@@ -46,35 +46,35 @@ protected:
virtual ~SdrGlueEditView(); virtual ~SdrGlueEditView();
public: public:
// Durch den Parameter nThisEsc uebergibt man die Richtung, die man // the parameter nThisEsc is used to hand over the direction,
// checken bzw. setzen/loeschen will. // which one wished to check,set or delete
// Moegliche Werte fuer nThisEsc sind z.Zt. // possible values for nThisEsc are:
// SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP und SDRESC_BOTTOM // SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP and SDRESC_BOTTOM
SDR_TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const; SDR_TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const;
void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, bool bOn); void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, bool bOn);
bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Checken/setzen, ob die Klebepunktpositionen relativ zur // check/set, if the GluePoints are relativ to the
// Objektgroesse sind (Percent=sal_True) oder nicht (Percent=sal_False) // object size (Percent=sal_True) or not (Percent=sal_False)
SDR_TRISTATE IsMarkedGluePointsPercent() const; SDR_TRISTATE IsMarkedGluePointsPercent() const;
void SetMarkedGluePointsPercent(bool bOn); void SetMarkedGluePointsPercent(bool bOn);
bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// bVert=FALSE: Horizontales Alignment checken/setzen // bVert=FALSE: check/set hotizontal alignment
// SDRHORZALIGN_CENTER // SDRHORZALIGN_CENTER
// SDRHORZALIGN_LEFT // SDRHORZALIGN_LEFT
// SDRHORZALIGN_RIGHT // SDRHORZALIGN_RIGHT
// SDRHORZALIGN_DONTCARE (nur bei Get()) // SDRHORZALIGN_DONTCARE (only at Get())
// bVert=TRUE: Vertikales Alignment checken/setzen // bVert=TRUE: check/set vertical alignment
// SDRVERTALIGN_CENTER // SDRVERTALIGN_CENTER
// SDRVERTALIGN_TOP // SDRVERTALIGN_TOP
// SDRVERTALIGN_BOTTOM // SDRVERTALIGN_BOTTOM
// SDRVERTALIGN_DONTCARE (nur bei Get()) // SDRVERTALIGN_DONTCARE (only at Get())
sal_uInt16 GetMarkedGluePointsAlign(bool bVert) const; sal_uInt16 GetMarkedGluePointsAlign(bool bVert) const;
void SetMarkedGluePointsAlign(bool bVert, sal_uInt16 nAlign); void SetMarkedGluePointsAlign(bool bVert, sal_uInt16 nAlign);
bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); } bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Alle merkierten Klebepunkte entfernen // delete all marked GluePoints
void DeleteMarkedGluePoints(); void DeleteMarkedGluePoints();
void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false); void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false);
......
...@@ -54,15 +54,15 @@ class SdrObject; ...@@ -54,15 +54,15 @@ class SdrObject;
#define SDRVERTALIGN_DONTCARE 0x1000 #define SDRVERTALIGN_DONTCARE 0x1000
class SVX_DLLPUBLIC SdrGluePoint { class SVX_DLLPUBLIC SdrGluePoint {
// Bezugspunkt ist SdrObject::GetSnapRect().Center() // Reference Point is SdrObject::GetSnapRect().Center()
// bNoPercent=false: Position ist -5000..5000 (1/100)% bzw. 0..10000 (je nach Align) // bNoPercent=false: position is -5000..5000 (1/100)% or 0..10000 (depending on align)
// bNoPercent=true : Position ist in log Einh, rel zum Bezugspunkt // bNoPercent=true : position is in log unit, relativ to the reference point
Point aPos; Point aPos;
sal_uInt16 nEscDir; sal_uInt16 nEscDir;
sal_uInt16 nId; sal_uInt16 nId;
sal_uInt16 nAlign; sal_uInt16 nAlign;
bool bNoPercent:1; bool bNoPercent:1;
bool bReallyAbsolute:1; // Temporaer zu setzen fuer Transformationen am Bezugsobjekt bool bReallyAbsolute:1; // temp for transformations on the reference object
bool bUserDefined:1; // #i38892# bool bUserDefined:1; // #i38892#
public: public:
SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {} SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {}
...@@ -77,7 +77,7 @@ public: ...@@ -77,7 +77,7 @@ public:
void SetId(sal_uInt16 nNewId) { nId=nNewId; } void SetId(sal_uInt16 nNewId) { nId=nNewId; }
bool IsPercent() const { return !bNoPercent; } bool IsPercent() const { return !bNoPercent; }
void SetPercent(bool bOn) { bNoPercent = !bOn; } void SetPercent(bool bOn) { bNoPercent = !bOn; }
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt // temp for transformations on the reference object
bool IsReallyAbsolute() const { return bReallyAbsolute; } bool IsReallyAbsolute() const { return bReallyAbsolute; }
void SetReallyAbsolute(bool bOn, const SdrObject& rObj); void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
...@@ -117,8 +117,8 @@ public: ...@@ -117,8 +117,8 @@ public:
void Clear(); void Clear();
void operator=(const SdrGluePointList& rSrcList); void operator=(const SdrGluePointList& rSrcList);
sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); } sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); }
// Beim Insert wird dem Objekt (also dem GluePoint) automatisch eine Id zugewiesen. // At insert, the object (GluePoint) automatically gets an ID assigned.
// ReturnCode ist der Index des neuen GluePoints in der Liste // Return value is the index of the new GluePoint in the list.
sal_uInt16 Insert(const SdrGluePoint& rGP); sal_uInt16 Insert(const SdrGluePoint& rGP);
void Delete(sal_uInt16 nPos) void Delete(sal_uInt16 nPos)
{ {
...@@ -131,7 +131,7 @@ public: ...@@ -131,7 +131,7 @@ public:
sal_uInt16 FindGluePoint(sal_uInt16 nId) const; sal_uInt16 FindGluePoint(sal_uInt16 nId) const;
sal_uInt16 HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack = false, bool bNext = false, sal_uInt16 nId0=0) const; sal_uInt16 HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack = false, bool bNext = false, sal_uInt16 nId0=0) const;
void Invalidate(vcl::Window& rWin, const SdrObject* pObj) const; void Invalidate(vcl::Window& rWin, const SdrObject* pObj) const;
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt // temp for transformations on the reference object
void SetReallyAbsolute(bool bOn, const SdrObject& rObj); void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
void Rotate(const Point& rRef, long nAngle, double sn, double cs, const SdrObject* pObj); void Rotate(const Point& rRef, long nAngle, double sn, double cs, const SdrObject* pObj);
void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj); void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment