[Libreoffice-commits] core.git: include/svx
Daniel Sikeler
d.sikeler94 at gmail.com
Mon Dec 1 01:30:01 PST 2014
include/svx/sxmlhitm.hxx | 18 ++++++++----------
include/svx/sxmtritm.hxx | 7 +++----
include/svx/tabarea.hxx | 4 ++--
include/svx/unoshape.hxx | 2 +-
include/svx/xflasit.hxx | 7 +------
include/svx/xlnasit.hxx | 7 +------
6 files changed, 16 insertions(+), 29 deletions(-)
New commits:
commit ab515d82b75631e0cb7442ca6ab1369b4daa197e
Author: Daniel Sikeler <d.sikeler94 at gmail.com>
Date: Thu Nov 27 14:54:17 2014 +0000
fdo#39468: Translated some german comments
Change-Id: Ib09e5bca54d7176db544a7256f539a74f778d475
Reviewed-on: https://gerrit.libreoffice.org/13154
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/svx/sxmlhitm.hxx b/include/svx/sxmlhitm.hxx
index 6b5ca4e..141c37f 100644
--- a/include/svx/sxmlhitm.hxx
+++ b/include/svx/sxmlhitm.hxx
@@ -33,30 +33,28 @@
// #=============# |---
// # # | SdrMeasureHelpline1/2LenItem
// # #=========#---
-// # Zu bemassendes Objekt #
+// # dimensioned object #
// #=======================#
-// Abstand der Masslinie zur Bezugskante (Norm=8mm)
-// laesst sich auch draggen an den beiden Handles
-// die auf den Pfeilspitzen liegen
+// gab between dimension line and document reference edge (norm=8mm)
+// can be dragged on the handles of the arrowheads
inline SdrMetricItem makeSdrMeasureLineDistItem(long nVal) {
return SdrMetricItem(SDRATTR_MEASURELINEDIST, nVal);
}
-// Ueberhang der Masshilfslinien an der Masslinie (Norm=2mm)
+// overhang of dimension help line to dimension line (norm=2mm)
inline SdrMetricItem makeSdrMeasureHelplineOverhangItem(long nVal) {
return SdrMetricItem(SDRATTR_MEASUREHELPLINEOVERHANG, nVal);
}
-// Abstand der der Masshilfslinienenden zur Bezugskante
-// Damit die Masshilfslinien nicht das Objekt beruehren
+// gab between dimension line and document reference edge
+// dimension help lines shell not touch the object
inline SdrMetricItem makeSdrMeasureHelplineDistItem(long nVal) {
return SdrMetricItem(SDRATTR_MEASUREHELPLINEDIST, nVal);
}
-// Ueberlaenge der Hilfslinien ueber die Bezugskante
-// laesst sich auch draggen an den beiden runden Handles,
-// die sich default unter den beiden Referenzpunkten befinden
+// overlength of the help lines can be dragged at the round handles,
+// which are under the reference points by default
inline SdrMetricItem makeSdrMeasureHelpline1LenItem(long nVal) {
return SdrMetricItem(SDRATTR_MEASUREHELPLINE1LEN, nVal);
}
diff --git a/include/svx/sxmtritm.hxx b/include/svx/sxmtritm.hxx
index a331356..b032344 100644
--- a/include/svx/sxmtritm.hxx
+++ b/include/svx/sxmtritm.hxx
@@ -22,16 +22,15 @@
#include <svx/svddef.hxx>
#include <svx/sdynitm.hxx>
-// Den Text quer zur Masslinie (90deg Drehung nach links)
+// text across the dimension line (90deg counter-clockwise rotation)
class SdrMeasureTextRota90Item: public SdrYesNoItem {
public:
SdrMeasureTextRota90Item(bool bOn=false): SdrYesNoItem(SDRATTR_MEASURETEXTROTA90,bOn) {}
SdrMeasureTextRota90Item(SvStream& rIn): SdrYesNoItem(SDRATTR_MEASURETEXTROTA90,rIn) {}
};
-// Das von mir berechnete TextRect um 180 deg drehen
-// Der Text wird dann aber auch auf die andere Seite der
-// Masslinie gebracht (wenn nicht Rota90)
+// Turn the calculated TextRect through 180 deg
+// Text is also switched to the other side of the dimension line, if not Rota90
class SdrMeasureTextUpsideDownItem: public SdrYesNoItem {
public:
SdrMeasureTextUpsideDownItem(bool bOn=false): SdrYesNoItem(SDRATTR_MEASURETEXTUPSIDEDOWN,bOn) {}
diff --git a/include/svx/tabarea.hxx b/include/svx/tabarea.hxx
index ccbfbb0..46130c2 100644
--- a/include/svx/tabarea.hxx
+++ b/include/svx/tabarea.hxx
@@ -24,7 +24,7 @@
enum ColorModel
{
CM_RGB,
- CM_CMYK // kann um weitere Modelle, z.B. HSV erweitert werden
+ CM_CMYK // can be extend with more models, e.g. HSV
};
enum PageType
@@ -40,7 +40,7 @@ enum PageType
// define ----------------------------------------------------------------
-typedef sal_uInt16 ChangeType; // auch in tab_line.hxx (mitpflegen !!!)
+typedef sal_uInt16 ChangeType; // also in tab_line.hxx (care for it !!!)
#define CT_NONE ( (ChangeType) 0x0000 )
#define CT_MODIFIED ( (ChangeType) 0x0001 )
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index d56d87b..de130b5 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -134,7 +134,7 @@ protected:
::tools::WeakReference< SdrObject > mpObj;
SdrModel* mpModel;
- // Umrechnungen fuer den Writer, der in TWIPS arbeitet
+ // translations for writer, which works in TWIPS
void ForceMetricToItemPoolMetric(Pair& rPoint) const throw();
void ForceMetricTo100th_mm(Pair& rPoint) const throw();
// Dimension arrows change size/position on save/reload (#i59051#)
diff --git a/include/svx/xflasit.hxx b/include/svx/xflasit.hxx
index 0f0e9ae..c086bb2 100644
--- a/include/svx/xflasit.hxx
+++ b/include/svx/xflasit.hxx
@@ -23,12 +23,7 @@
#include <svl/poolitem.hxx>
#include <svx/svxdllapi.h>
-/*************************************************************************
-|*
-|* SetItem mit dem ItemSet aller Fuellattribute
-|*
-\************************************************************************/
-
+// SetItem with all ItemSets of fill-attributes
class SVX_DLLPUBLIC XFillAttrSetItem : public SfxSetItem
{
public:
diff --git a/include/svx/xlnasit.hxx b/include/svx/xlnasit.hxx
index 63d4f42..29baf4e 100644
--- a/include/svx/xlnasit.hxx
+++ b/include/svx/xlnasit.hxx
@@ -24,12 +24,7 @@
#include <svl/poolitem.hxx>
#include <svx/svxdllapi.h>
-/*************************************************************************
-|*
-|* SetItem mit dem ItemSet aller Linienattribute
-|*
-\************************************************************************/
-
+// SetItem with all ItemSets of line-attributes
class SVX_DLLPUBLIC XLineAttrSetItem : public SfxSetItem
{
public:
More information about the Libreoffice-commits
mailing list