Kaydet (Commit) 06c5c7f0 authored tarafından Philipp Weissenbacher's avatar Philipp Weissenbacher Kaydeden (comit) Thorsten Behrens

Translate German comments, fix some WS

Change-Id: I5dcf6a911275e9fcb07d21b810591237a0f1ab9f
Reviewed-on: https://gerrit.libreoffice.org/4747Reviewed-by: 's avatarThorsten Behrens <tbehrens@suse.com>
Tested-by: 's avatarThorsten Behrens <tbehrens@suse.com>
üst 9a15f297
......@@ -21,12 +21,9 @@
#include <sfx2/childwin.hxx>
#include "svx/svxdllapi.h"
/*************************************************************************
|*
|* Ableitung vom SfxChildWindow als "Behaelter" fuer Controller
|*
\************************************************************************/
/**
* Child of SfxChildWindow as a "container" for Controller
*/
class SVX_DLLPUBLIC SvxColorChildWindow : public SfxChildWindow
{
public:
......
This diff is collapsed.
......@@ -781,7 +781,7 @@ typedef enum
mso_sptActionButtonMovie = 200,
mso_sptHostControl = 201,
mso_sptTextBox = 202,
//for pptx shape which not exist in ppt
//for pptx shape which doesn't exist in ppt
mso_sptTearDrop = 203,
mso_sptMax = 0x0FFF,
mso_sptNil = mso_sptMax
......@@ -858,14 +858,14 @@ enum MSO_TextFlow {
mso_txflBtoT, // Bottom to Top non-@
mso_txflTtoBN, // Top to Bottom non-@
mso_txflHorzA, // Horizontal @-font
mso_txflVertN // Vertical, non-@
mso_txflVertN // Vertical, non-@
};
// MSO_TXDIR - text direction (needed for Bi-Di support)
enum MSO_TextDir {
mso_txdirLTR, // left-to-right text direction
mso_txdirRTL, // right-to-left text direction
mso_txdirContext // context text direction
mso_txdirContext // context text direction
};
// MSO_SPCOT -- Callout Type
......@@ -914,10 +914,10 @@ enum MSO_BlipFlags {
mso_blipflagType = 3, // Mask to extract type
/* Or the following flags with any of the above. */
mso_blipflagDontSave = 4, // A "dont" is the depression in the metal
// body work of an automobile caused when a
// cyclist violently thrusts his or her nose
// at it, thus a DontSave is another name for
// a cycle lane.
// body work of an automobile caused when a
// cyclist violently thrusts his or her nose
// at it, thus a DontSave is another name for
// a cycle lane.
mso_blipflagDoNotSave = 4, // For those who prefer English
mso_blipflagLinkToFile = 8
};
......@@ -925,7 +925,7 @@ enum MSO_BlipFlags {
enum MSO_3DRenderMode {
mso_FullRender, // Generate a full rendering
mso_Wireframe, // Generate a wireframe
mso_BoundingCube // Generate a bounding cube
mso_BoundingCube // Generate a bounding cube
};
enum MSO_XFormType {
......@@ -955,7 +955,7 @@ enum MSO_DZType {
mso_dztypeVFixed = 6, // Pixels, fixed aspect ratio
mso_dztypeShapeFixed = 7, // Proportion of shape, fixed aspect ratio
mso_dztypeFixedAspectEnlarge
= 8, // Aspect ratio is fixed, favor larger size
= 8, // Aspect ratio is fixed, favor larger size
mso_dztypeAFixedBig = 9, // EMUs, fixed aspect ratio
mso_dztypeVFixedBig = 10, // Pixels, fixed aspect ratio
mso_dztypeShapeFixedBig= 11, // Proportion of shape, fixed aspect ratio
......@@ -971,9 +971,9 @@ enum MSO_FillType {
mso_fillShadeCenter, // Shade from bounding rectangle to end point
mso_fillShadeShape, // Shade from shape outline to end point
mso_fillShadeScale, // Similar to mso_fillShade, but the fillAngle
// is additionally scaled by the aspect ratio of
// the shape. If shape is square, it is the
// same as mso_fillShade.
// is additionally scaled by the aspect ratio of
// the shape. If shape is square, it is the
// same as mso_fillShade.
mso_fillShadeTitle, // special type - shade to title --- for PP
mso_fillBackground // Use the background fill color/pattern
};
......@@ -1068,7 +1068,7 @@ enum MSO_LineCap {
mso_lineEndCapSquare, // Square protrudes by half line width
mso_lineEndCapFlat // Line ends at end point
};
// verschiedene enums aus der OfficeDraw-Doku, Appendix D - Ende
// Various enums from the OfficeDraw documentation Appendix D - End
// BStore-Container
// FBSE - File Blip Store Entry
......@@ -1076,9 +1076,9 @@ typedef struct _MSOF_BSE {
sal_uInt8 btWin32; // Required type on Win32
sal_uInt8 btMacOS; // Required type on Mac
sal_uInt8 rgbUid[16]; // Identifier of blip
sal_uInt16 tag; // currently unused
sal_uIntPtr size; // Blip size in stream
sal_uIntPtr cRef; // Reference count on the blip
sal_uInt16 tag; // currently unused
sal_uIntPtr size; // Blip size in stream
sal_uIntPtr cRef; // Reference count on the blip
sal_uIntPtr /*MSOFO*/ foDelay; // File offset in the delay stream
sal_uInt8 usage; // How this blip is used (MSOBLIPUSAGE)
sal_uInt8 cbName; // length of the blip name
......@@ -1092,7 +1092,7 @@ typedef enum {
mso_blipUsageMax = 255 // Since this is stored in a byte
} MSO_BLIPUSAGE;
typedef enum { // GEL provided types...
typedef enum { // GEL provided types...
mso_blipERROR = 0, // An error occurred during loading
mso_blipUNKNOWN, // An unknown blip type
mso_blipEMF, // Windows Enhanced Metafile
......@@ -1171,7 +1171,7 @@ typedef enum {
mso_colorSubtract =0x0400, // Subtract grey level RGB(p,p,p)
mso_colorReverseSubtract =0x0500, // Subtract from grey level RGB(p,p,p)
/* In the following "black" means maximum component value, white minimum.
The operation is per component, to guarantee white combine with
The operation is per component, to guarantee white combine with
mso_colorGray */
mso_colorBlackWhite =0x0600, // Black if < uParam, else white (>=)
mso_colorInvert =0x2000, // Invert color (at the *end*)
......
......@@ -22,9 +22,9 @@
#include <svx/sdmetitm.hxx>
#include <svx/svddef.hxx>
//------------------------------
// class SdrEckenradiusItem
//------------------------------
/**
* class SdrEckenradiusItem
*/
class SdrEckenradiusItem: public SdrMetricItem {
public:
SdrEckenradiusItem(long nRadius=0): SdrMetricItem(SDRATTR_ECKENRADIUS,nRadius) {}
......
......@@ -22,9 +22,9 @@
#include <svx/sdooitm.hxx>
#include <svx/svddef.hxx>
//------------------------------
// class SdrShadowItem
//------------------------------
/*
* class SdrShadowItem
*/
class SdrShadowItem: public SdrOnOffItem {
public:
SdrShadowItem(sal_Bool bShadow=sal_False): SdrOnOffItem(SDRATTR_SHADOW, bShadow) {}
......
......@@ -22,9 +22,9 @@
#include <svx/sdprcitm.hxx>
#include <svx/svddef.hxx>
//---------------------
// class SdrShadowTransparenceItem
//---------------------
/**
* class SdrShadowTransparenceItem
*/
class SdrShadowTransparenceItem: public SdrPercentItem {
public:
SdrShadowTransparenceItem(sal_uInt16 nTransp=0): SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,nTransp) {}
......
......@@ -22,9 +22,9 @@
#include <svx/sdooitm.hxx>
#include <svx/svddef.hxx>
//------------------------------------
// class SdrTextContourFrameItem
//------------------------------------
/*
* class SdrTextContourFrameItem
*/
class SdrTextContourFrameItem: public SdrOnOffItem {
public:
SdrTextContourFrameItem(sal_Bool bOn=sal_False): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {}
......
......@@ -23,13 +23,10 @@
#include <svx/obj3d.hxx>
#include "svx/svxdllapi.h"
/*************************************************************************
|*
|* Kugelobjekt mit Durchmesser r3DSize; Anzahl der Flaechen wird durch
|* die horizontale und vertikale Segmentanzahl vorgegeben
|*
\************************************************************************/
/**
* SphereObject with diameter r3DSize.
* The count of planes depends on the horizontal and vertical segment count.
*/
class SVX_DLLPUBLIC E3dSphereObj : public E3dCompoundObject
{
private:
......@@ -75,6 +72,6 @@ public:
virtual void TakeObjNamePlural(String& rName) const;
};
#endif // _E3D_SPHERE3D_HXX
#endif // _E3D_SPHERE3D_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -89,8 +89,7 @@ public:
void SetMeasureLayer(const String& rName) { aMeasureLayer=rName; }
const String& GetMeasureLayer() const { return aMeasureLayer; }
// If the MeasureLayer is not set (empty string), then
// use the active layer for measuring.
// If the MeasureLayer is not set (empty string), then use the active layer for measuring.
void SetEditMode(SdrViewEditMode eMode) { SdrDragView::SetEditMode(eMode); CheckEdgeMode(); }
void SetEditMode(sal_Bool bOn=sal_True) { SdrDragView::SetEditMode(bOn); CheckEdgeMode(); }
void SetCreateMode(sal_Bool bOn=sal_True) { SdrDragView::SetCreateMode(bOn); CheckEdgeMode(); }
......@@ -110,7 +109,7 @@ public:
sal_uInt32 GetCurrentObjInventor() const { return nAktInvent; }
sal_uInt16 GetCurrentObjIdentifier() const { return nAktIdent; }
// Starten des normalen Create
// Beginning the regular Create
sal_Bool BegCreateObj(const Point& rPnt, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
sal_Bool BegCreatePreparedObject(const Point& rPnt, sal_Int16 nMinMov, SdrObject* pPreparedFactoryObject);
void MovCreateObj(const Point& rPnt);
......@@ -122,7 +121,7 @@ public:
// BegCreateCaptionObj() creates a SdrCaptionObj (legend item).
// rObjSiz is the initial size of the legend text frame.
// only the length of the tip is dragged
// Only the length of the tip is dragged
sal_Bool BegCreateCaptionObj(const Point& rPnt, const Size& rObjSiz, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
// If TextEditAfterCreate is sal_True (the default),
......@@ -132,7 +131,7 @@ public:
sal_Bool IsTextEditAfterCreate() const { return bAutoTextEdit; }
void SetTextEditAfterCreate(sal_Bool bOn) { bAutoTextEdit = bOn; }
// Create a circle / rectangle / text frame with the first Point being
// Create a circle/rectangle/text frame with the first Point being
// the center of the object instead of the upper-left corner.
// Persistent flag. Default = FALSE.
sal_Bool IsCreate1stPointAsCenter() const { return b1stPointAsCenter; }
......@@ -143,33 +142,34 @@ public:
// converted to Polygon (OBJ_POLY) or freehand fill (OBJ_FREEFILL) if
// the distance between the start point and end point of the
// Object <= nAutoCloseDistPix pixels.
// Default is TRUE.
// Default = TRUE.
sal_Bool IsAutoClosePolys() const { return bAutoClosePolys; }
void SetAutoClosePolys(sal_Bool bOn) { bAutoClosePolys=bOn; }
// Default=5 Pixel.
// Default = 5 Pixel
sal_uInt16 GetAutoCloseDistPix() const { return sal_uInt16(nAutoCloseDistPix); }
void SetAutoCloseDistPix(sal_uInt16 nVal) { nAutoCloseDistPix=nVal; }
// Vorgabe des minimalen Pixelabstands zwischen 2 Bezierpunkten bei der
// Erzeugung einer Freihandlinie.
// Default=10 Pixel.
// Setting for the minimum distantce in pixels between 2 bezier points when
// creating a freehand line.
// Default = 10 Pixel
sal_uInt16 GetFreeHandMinDistPix() const { return sal_uInt16(nFreeHandMinDistPix); }
void SetFreeHandMinDistPix(sal_uInt16 nVal) { nFreeHandMinDistPix=nVal; }
// Wer das (zur restlichen Create-Funktionalitaet von SvDraw) inkompatible
// Create-Interface am PathObj beibehalten moechte muss das nachfolgende
// Flag setzen. Dieses wirkt sich aus bei den Objekttypen:
// OBJ_POLY, OBJ_PLIN, OBJ_PATHLINE, OBJ_PATHFILL
// Dieses Flag hat nur voruebergehenden Character. Die betroffenen
// Applikationen sollten alsbald umgestellt werden.
// Default=sal_False;
// FIXME: Whoever wants to keep the Create Interface for the PathObj which is
// incompatible with the rest of the Create functionality of SvDraw, needs
// to set the following flag. It affects the following object types:
// OBJ_POLY, OBJ_PLIN, OBJ_PATHLINE, OBJ_PATHFILL
//
// This flag should be regarded as temporary. The affected applications should
// be changed soon.
// Default = sal_False;
sal_Bool IsUseIncompatiblePathCreateInterface() const { return bUseIncompatiblePathCreateInterface; }
void SetUseIncompatiblePathCreateInterface(sal_Bool bOn) { bUseIncompatiblePathCreateInterface = bOn; }
void SetConnectMarker(const SdrObjConnection& rCon, const SdrPageView& rPV);
void HideConnectMarker();
// Attribute des ggf. gerade in der Erzeugung befindlichen Objekts
// Attributes of the object that is in the process of being created
/* new interface src537 */
sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
......
......@@ -22,10 +22,10 @@
#include <svx/svddef.hxx>
#include <svx/sdmetitm.hxx>
//------------------------------------
// class SdrCaptionGapItem
// Abstand des Linienanfangs vom Rect
//------------------------------------
/**
* class SdrCaptionGapItem
* Distance of the line start from the Rect
*/
class SdrCaptionGapItem: public SdrMetricItem {
public:
SdrCaptionGapItem(long nGap=0) : SdrMetricItem(SDRATTR_CAPTIONGAP,nGap) {}
......
......@@ -22,8 +22,8 @@
#include <svx/svddef.hxx>
#include <svl/stritem.hxx>
// Formatstring (aehnl. Calc), z.B. "#.###,00km"
// ueberschreibt SdrMeasureUnitItem und SdrMeasureShowUnitItem (n.i.)
// Format string (similar to Calc), e.g. "#.###,00km"
// overwrites SdrMeasureUnitItem and SdrMeasureShowUnitItem
class SdrMeasureFormatStringItem: public SfxStringItem {
public:
SdrMeasureFormatStringItem() : SfxStringItem() { SetWhich(SDRATTR_MEASUREFORMATSTRING); }
......
......@@ -22,8 +22,8 @@
#include <svx/svddef.hxx>
#include <svx/sdmetitm.hxx>
// Ueberstand der Masslinie ueber die Masshilfslinien
// Nur wenn die Masspfeile aussen sind (n.i.)
// Overlap of the measure line over the measure helper lines
// Only of the measure arrows are on the outside
class SdrMeasureOverhangItem: public SdrMetricItem {
public:
SdrMeasureOverhangItem(long nVal=0): SdrMetricItem(SDRATTR_MEASUREOVERHANG,nVal) {}
......
......@@ -22,9 +22,9 @@
#include <svx/svddef.hxx>
#include <svx/sxsiitm.hxx>
// Massstabsvorgabe. Wenn bereits am Model ein Massstab (UIScale) gesetzt
// ist wird dieser nicht ueberschrieben. Stattdessen werden beide Massstaebe
// miteinander multipliziert.
// Measure scale setting
// We do not overwrite a measure scale (UIScale), If the model already has one set.
// Instead, we multiply them with each other.
class SdrMeasureScaleItem: public SdrScaleItem {
public:
SdrMeasureScaleItem() : SdrScaleItem(SDRATTR_MEASURESCALE,Fraction(1,1)) {}
......
......@@ -22,7 +22,7 @@
#include <svx/svddef.hxx>
#include <svx/sdynitm.hxx>
// Die Masseinheit mit anzeigen
// Include the unit of measure when displaying
class SdrMeasureShowUnitItem: public SdrYesNoItem {
public:
SdrMeasureShowUnitItem(bool bOn=false): SdrYesNoItem(SDRATTR_MEASURESHOWUNIT,bOn) {}
......
......@@ -22,10 +22,9 @@
#include <svx/svddef.hxx>
#include <svl/stritem.hxx>
//------------------------------
// class SdrObjectNameItem
//------------------------------
/**
* class SdrObjectNameItem
*/
class SdrObjectNameItem: public SfxStringItem {
public:
SdrObjectNameItem() : SfxStringItem() { SetWhich(SDRATTR_OBJECTNAME); }
......
......@@ -22,9 +22,9 @@
#include <svx/svddef.hxx>
#include <svx/sdangitm.hxx>
//------------------------------
// class SdrRotateAngleItem
//------------------------------
/**
* class SdrRotateAngleItem
*/
class SdrRotateAngleItem: public SdrAngleItem {
public:
SdrRotateAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEANGLE,nAngle) {}
......
......@@ -22,9 +22,9 @@
#include <svx/svddef.hxx>
#include <svx/sdangitm.hxx>
//------------------------------
// class SdrRotateAllItem
//------------------------------
/**
* class SdrRotateAllItem
*/
class SdrRotateAllItem: public SdrAngleItem {
public:
SdrRotateAllItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEALL,nAngle) {}
......
......@@ -22,9 +22,9 @@
#include <svx/svddef.hxx>
#include <svx/sdangitm.hxx>
//------------------------------
// class SdrRotateOneItem
//------------------------------
/**
* class SdrRotateOneItem
*/
class SdrRotateOneItem: public SdrAngleItem {
public:
SdrRotateOneItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEONE,nAngle) {}
......
......@@ -22,9 +22,9 @@
#include <svx/svddef.hxx>
#include <svx/sdangitm.hxx>
//------------------------------
// class SdrShearAngleItem
//------------------------------
/**
* class SdrShearAngleItem
*/
class SdrShearAngleItem: public SdrAngleItem {
public:
SdrShearAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_SHEARANGLE,nAngle) {}
......
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