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 @@
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
{
void ImpClearVars();
// Markierte Klebepunkte kopieren und anstelle der alten markieren
// copy marked GluePoints and mark instead of the old ones
void ImpCopyMarkedGluePoints();
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*);
......@@ -46,35 +46,35 @@ protected:
virtual ~SdrGlueEditView();
public:
// Durch den Parameter nThisEsc uebergibt man die Richtung, die man
// checken bzw. setzen/loeschen will.
// Moegliche Werte fuer nThisEsc sind z.Zt.
// SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP und SDRESC_BOTTOM
// the parameter nThisEsc is used to hand over the direction,
// which one wished to check,set or delete
// possible values for nThisEsc are:
// SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP and SDRESC_BOTTOM
SDR_TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const;
void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, bool bOn);
bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Checken/setzen, ob die Klebepunktpositionen relativ zur
// Objektgroesse sind (Percent=sal_True) oder nicht (Percent=sal_False)
// check/set, if the GluePoints are relativ to the
// object size (Percent=sal_True) or not (Percent=sal_False)
SDR_TRISTATE IsMarkedGluePointsPercent() const;
void SetMarkedGluePointsPercent(bool bOn);
bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// bVert=FALSE: Horizontales Alignment checken/setzen
// bVert=FALSE: check/set hotizontal alignment
// SDRHORZALIGN_CENTER
// SDRHORZALIGN_LEFT
// SDRHORZALIGN_RIGHT
// SDRHORZALIGN_DONTCARE (nur bei Get())
// bVert=TRUE: Vertikales Alignment checken/setzen
// SDRHORZALIGN_DONTCARE (only at Get())
// bVert=TRUE: check/set vertical alignment
// SDRVERTALIGN_CENTER
// SDRVERTALIGN_TOP
// SDRVERTALIGN_BOTTOM
// SDRVERTALIGN_DONTCARE (nur bei Get())
// SDRVERTALIGN_DONTCARE (only at Get())
sal_uInt16 GetMarkedGluePointsAlign(bool bVert) const;
void SetMarkedGluePointsAlign(bool bVert, sal_uInt16 nAlign);
bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Alle merkierten Klebepunkte entfernen
// delete all marked GluePoints
void DeleteMarkedGluePoints();
void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false);
......
......@@ -54,15 +54,15 @@ class SdrObject;
#define SDRVERTALIGN_DONTCARE 0x1000
class SVX_DLLPUBLIC SdrGluePoint {
// Bezugspunkt ist SdrObject::GetSnapRect().Center()
// bNoPercent=false: Position ist -5000..5000 (1/100)% bzw. 0..10000 (je nach Align)
// bNoPercent=true : Position ist in log Einh, rel zum Bezugspunkt
// Reference Point is SdrObject::GetSnapRect().Center()
// bNoPercent=false: position is -5000..5000 (1/100)% or 0..10000 (depending on align)
// bNoPercent=true : position is in log unit, relativ to the reference point
Point aPos;
sal_uInt16 nEscDir;
sal_uInt16 nId;
sal_uInt16 nAlign;
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#
public:
SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0),bNoPercent(false),bReallyAbsolute(false),bUserDefined(true) {}
......@@ -77,7 +77,7 @@ public:
void SetId(sal_uInt16 nNewId) { nId=nNewId; }
bool IsPercent() const { return !bNoPercent; }
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; }
void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
......@@ -117,8 +117,8 @@ public:
void Clear();
void operator=(const SdrGluePointList& rSrcList);
sal_uInt16 GetCount() const { return sal_uInt16(aList.size()); }
// Beim Insert wird dem Objekt (also dem GluePoint) automatisch eine Id zugewiesen.
// ReturnCode ist der Index des neuen GluePoints in der Liste
// At insert, the object (GluePoint) automatically gets an ID assigned.
// Return value is the index of the new GluePoint in the list.
sal_uInt16 Insert(const SdrGluePoint& rGP);
void Delete(sal_uInt16 nPos)
{
......@@ -131,7 +131,7 @@ public:
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;
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 Rotate(const Point& rRef, long nAngle, double sn, double cs, 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