Kaydet (Commit) d8b05b59 authored tarafından Jennifer Liebel's avatar Jennifer Liebel Kaydeden (comit) Noel Grandin

fdo#39468: translate german comments

Change-Id: I97d4b615a9c1ea2a9e7e9dfa7fa789fc396b7f29
Reviewed-on: https://gerrit.libreoffice.org/13491Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 2f1804c4
This diff is collapsed.
......@@ -27,8 +27,8 @@
/*
Deklaration eines statischen Mengentyps. Die Menge kann die Elemente
0..255 aufnehmen und verbraucht stets 32 Bytes.
Declaration of a static set type. The set can collect elements
from 0 to 255 and it takes always 32 Bytes.
*/
class SVX_DLLPUBLIC SetOfByte
......
......@@ -30,20 +30,20 @@ const sal_uInt32 SdrInventor=sal_uInt32('S')*0x00000001+
sal_uInt32('D')*0x00010000+
sal_uInt32('r')*0x01000000;
// Kommandos fuer EndCreate()
enum SdrCreateCmd {SDRCREATE_NEXTPOINT, // Naechster Polygonpunkt, Kreissegment: Naechste Koordinate
SDRCREATE_NEXTOBJECT, // Naechstes Polygon im PolyPolygon
SDRCREATE_FORCEEND}; // Ende erzwungen
// commands for EndCreate()
enum SdrCreateCmd {SDRCREATE_NEXTPOINT, // next traverse station, segment of a circle: next coordinate
SDRCREATE_NEXTOBJECT, // next polygon in PolyPolygon
SDRCREATE_FORCEEND}; // forced end
enum SdrDragMode
{
SDRDRAG_MOVE, // Verschieben
SDRDRAG_RESIZE, // Groesse aendern
SDRDRAG_ROTATE, // Drehen
SDRDRAG_MIRROR, // Spiegeln
SDRDRAG_SHEAR, // Schraegstellen
SDRDRAG_CROOK, // Kreisfoermig verbiegen
SDRDRAG_DISTORT, // Freies verzerren (Rect in beliebiges Viereck transformieren)
SDRDRAG_MOVE,
SDRDRAG_RESIZE,
SDRDRAG_ROTATE,
SDRDRAG_MIRROR,
SDRDRAG_SHEAR,
SDRDRAG_CROOK,
SDRDRAG_DISTORT, // Free deform (transform Rect in arbitrary quad)
// new modes for interactive transparence and gradient tools
SDRDRAG_TRANSPARENCE,
......@@ -55,36 +55,35 @@ enum SdrDragMode
// fuer SdrObject::ConvertToPoly()
enum SdrConvertType {SDRCONVERT_POLY, // reines Polygon erzeugen
SDRCONVERT_BEZIER, // alles Beziersegmente
SDRCONVERT_MIXED}; // Gemischtes Objekt (optimal)
enum SdrConvertType {SDRCONVERT_POLY, // create pure polygon
SDRCONVERT_BEZIER, // Beziersegment
SDRCONVERT_MIXED}; // mixed object (optimal)
/*
* Layer
*/
// Bei der Identifikation eines Layer kann es vorkommen, das dieser nicht
// vorhanden ist. SdrLayerAdmin::GetLayerID(const String&) liefert
// dann diesen Wert:
// If there is no layer when it should be identified, then
// drLayerAdmin::GetLayerID(const String&) returns a value.
#define SDRLAYER_NOTFOUND 0xFF
// Man kann diesen Wert jodoch ohne Bedenken den Methoden des SdrLayerSet
// zuwerfen, bekommt dann jedoch immer sal_False, bzw. tut die Methode nix.
// Typdeklaration fuer Layer-IDs
// You can use this value in the methods of SdrLayerSet, but sal_False is returned
// everytime or the methode does nothing.
// type deklaration for Layer-IDs
typedef sal_uInt8 SdrLayerID;
/*
* Page + ObjList
*/
enum SdrObjListKind {SDROBJLIST_UNKNOWN =0x00, // Unbekannt
enum SdrObjListKind {SDROBJLIST_UNKNOWN =0x00,
// reine Objektlisten:
SDROBJLIST_GROUPOBJ =0x01, // Objektliste eines Gruppenobjekts
SDROBJLIST_VIRTOBJECTS=0x02, // Liste ist die Liste der virtuellen Objekte
SDROBJLIST_SYMBOLTABLE=0x03, // Liste ist die Symboltabelle
// Hier haben zur Not noch 12 weitere Listentypen Platz
SDROBJLIST_GROUPOBJ =0x01,
SDROBJLIST_VIRTOBJECTS=0x02,
SDROBJLIST_SYMBOLTABLE=0x03,
// Here is space for 12 more types of lists
// Pages:
SDROBJLIST_DRAWPAGE =0x10, // Liste ist eine Zeichenseite
SDROBJLIST_MASTERPAGE =0x11 // Liste ist eine Masterpage
// Hier haben zur Not noch 8 weitere Pagetypen Platz
}; // fuer die Surrogate reserviert
SDROBJLIST_DRAWPAGE =0x10,
SDROBJLIST_MASTERPAGE =0x11
// Here is space for 8 more types of pages
}; // reserved for Surrogate
inline bool SdrIsPageKind(SdrObjListKind eK) { return eK>=SDROBJLIST_DRAWPAGE && eK<=0x1A; }
......@@ -92,20 +91,20 @@ inline bool SdrIsPageKind(SdrObjListKind eK) { return eK>=SDROBJLIST_DRAWPAGE &&
* Repeat
*/
enum SdrRepeatFunc {SDRREPFUNC_OBJ_NONE,
// Mit Parameter
SDRREPFUNC_OBJ_MOVE, // Distanz
SDRREPFUNC_OBJ_RESIZE, // Faktor, Referenz(%) bezogen auf MarkRect
SDRREPFUNC_OBJ_SETSNAPRECT, // Rectangle
SDRREPFUNC_OBJ_SETLOGICRECT, // Rectangle
SDRREPFUNC_OBJ_ROTATE, // Drehwinkel, Referenz(%) bezogen auf MarkRect
SDRREPFUNC_OBJ_SHEAR, // Winkel,Faktor, Referenz(%) bezogen auf MarkRect
// with parameter
SDRREPFUNC_OBJ_MOVE, // distance
SDRREPFUNC_OBJ_RESIZE, // factor, reference(%) related to MarkRect
SDRREPFUNC_OBJ_SETSNAPRECT, // rectangle
SDRREPFUNC_OBJ_SETLOGICRECT, // rectangle
SDRREPFUNC_OBJ_ROTATE, // rotation angle, reference(%) related to MarkRect
SDRREPFUNC_OBJ_SHEAR, // angle, factor, reference(%) related to MarkRect
SDRREPFUNC_OBJ_CROOKROTATE,
SDRREPFUNC_OBJ_CROOKSLANT,
SDRREPFUNC_OBJ_CROOKSTRETCH,
SDRREPFUNC_OBJ_ALIGN, // Hor/Vert/bBound
SDRREPFUNC_OBJ_SETATTRIBUTES,// ItemSet
SDRREPFUNC_OBJ_SETSTYLESHEET,// StyleSheet*
// Ohne Parameter
// Without parameter
SDRREPFUNC_OBJ_DELETE,
SDRREPFUNC_OBJ_COMBINE_POLYPOLY,
SDRREPFUNC_OBJ_COMBINE_ONEPOLY,
......
......@@ -31,7 +31,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
// Klassenhierarchie der View:
// class hierarchy of View:
// SfxListener
// SdrPaintView PntV Action ModChg Attr Notify
// SdrSnapView SnpV Action
......@@ -91,7 +91,7 @@ struct SVX_DLLPUBLIC SdrViewEvent
{
SdrHdl* pHdl;
SdrObject* pObj;
SdrObject* pRootObj; // Dieses Markieren bei SdrBeginTextEdit
SdrObject* pRootObj; // mark this when SdrBeginTextEdit is executed
SdrPageView* pPV;
const SvxURLField* pURLField;
......@@ -99,7 +99,7 @@ struct SVX_DLLPUBLIC SdrViewEvent
SdrHitKind eHit;
SdrEventKind eEvent;
SdrHdlKind eHdlKind;
SdrCreateCmd eEndCreateCmd; // auch fuer EndInsPoint
SdrCreateCmd eEndCreateCmd; // for EndInsPoint too
sal_uInt16 nMouseClicks;
MouseEventModifiers nMouseMode;
......@@ -109,10 +109,10 @@ struct SVX_DLLPUBLIC SdrViewEvent
bool bMouseDown : 1;
bool bMouseUp : 1;
bool bDoubleHdlSize : 1; // Doppelte Handlegroesse wg. TextEdit
bool bIsAction : 1; // Action ist aktiv
bool bIsTextEdit : 1; // TextEdit laeuft zur Zeit
bool bTextEditHit : 1; // offene OutlinerView getroffen
bool bDoubleHdlSize : 1; // Double Handlesize because of TextEdit
bool bIsAction : 1; // Action is active
bool bIsTextEdit : 1; // TextEdit runs currently
bool bTextEditHit : 1; // hit open OutlinerView?
bool bAddMark : 1;
bool bUnmark : 1;
bool bPrevNextMark : 1;
......@@ -126,7 +126,7 @@ public:
SdrViewEvent();
~SdrViewEvent();
// nEventKind ist SDRMOUSEBUTTONDOWN, SDRMOUSEMOVE oder SDRMOUSEBUTTONUP
// nEventKind is SDRMOUSEBUTTONDOWN, SDRMOUSEMOVE oder SDRMOUSEBUTTONUP
void SetMouseEvent(const MouseEvent& rMEvt, sal_uInt16 nEventKind);
};
......@@ -169,10 +169,10 @@ public:
explicit SdrView(SdrModel* pModel1, OutputDevice* pOut = 0L);
virtual ~SdrView();
// Default sind alle Dispatcher aktiviert. Will die App z.B. fuer
// Sonderbehandlungen im MouseDispatcher eingreifen, so muss sie
// den erweiterten MouseDispather mit unten stehender Methode deaktivieren
// und selbst nachimplementieren. Beispiel fuer MouseButtonDown:
// The default value for all dispatchers is activated. If the app for example
// wants to intervene in MouseDispatcher for special treatment, you have to
// deactivate the MouseDispatcher with the help of the methode below and you have
// to implement it yourself. Example for MouseButtonDown:
// SdrViewEvent aVEvt;
// SdrHitKind eHit=pSdrView->PickAnything(rMEvt,SDRMOUSEBUTTONDOWN,aVEvt);
// ... hier Applikationsspezifischer Eingriff ...
......@@ -210,19 +210,19 @@ public:
SfxStyleSheet* GetStyleSheet() const;
// unvollstaendige Implementation:
// Das OutputDevice ist notwendig, damit ich die HandleSize ermitteln kann.
// Bei NULL wird das 1. angemeldete Win verwendet.
// incomplete implementation:
// OutputDevice is necessary to determine HandleSize.
// If NULL the first signed on Win is used.
Pointer GetPreferredPointer(const Point& rMousePos, const OutputDevice* pOut, sal_uInt16 nModifier=0, bool bLeftDown=false) const;
SdrHitKind PickAnything(const MouseEvent& rMEvt, sal_uInt16 nMouseDownOrMoveOrUp, SdrViewEvent& rVEvt) const;
SdrHitKind PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) const;
bool DoMouseEvent(const SdrViewEvent& rVEvt);
virtual SdrViewContext GetContext() const;
// Die Methoden beruecksichtigen den jeweiligen Kontex:
// - Einfaches Zeichnen
// - Punktbearbeitungs-Mode
// - Klebepunkt-Editmode
// The methods consider the particular context:
// - simple drawing
// - mode for editing points
// - mode for editing glue points
// - TextEdit
// - ... to be continued
void MarkAll();
......@@ -232,19 +232,19 @@ public:
virtual void DeleteMarked();
// Markieren von Objekten, Polygonpunkten oder Klebepunkten (je nach View-
// Kontext) durch Aufziehen eines Selektionsrahmens.
// bAddMark=TRUE: zur bestehenden Selektion hinzumarkieren (->Shift)
// bUnmark=TRUE: Bereits selektierte Objekte/Punkte/Klebepunkte die innerhalb
// des aufgezogenen Rahmens liegen werden deselektiert.
// Marking objects, traverse stations or glue points (depending on view-
// context) by enveloping the selection frame.
// bAddMark=TRUE: add to existing selection (->Shift)
// bUnmark=TRUE: remove objects from selection which are inside of
// the enveloped frame.
bool BegMark(const Point& rPnt, bool bAddMark=false, bool bUnmark=false);
// Folgende Actions sind moeglich:
// The following actions are possible:
// - ObjectCreating
// - ObjectMarking
// - Object-specific dragging
// - General dragging
// und mehr...
// and more...
OUString GetStatusText();
SvtAccessibilityOptions& getAccessibilityOptions() { return maAccessibilityOptions;}
......@@ -254,21 +254,20 @@ public:
#endif // INCLUDED_SVX_SVDVIEW_HXX
// Die App macht sich zunaechst ein SdrModel.
// Anschliessend oeffnet sie ein Win und erzeugt dann eine SdrView.
// An der SdrView meldet sie dann mit der Methode ShowSdrPage() eine Seite an.
// Eine SdrView kann in beliebig vielen Fenstern gleichzeitig angezeigt werden.
// Intern:
// Eine SdrView kann beliebig viele Seiten gleichzeitig anzeigen. Seiten
// werden an- und abgemeldet mit ShowSdrPage()/HideSdrPage(). Fuer jede angemeldete
// Seite wird eine SdrPageView-Instanz im Container aPages angelegt. Bei
// gleichzeitiger Anzeige mehrerer Seiten ist darauf zu achten, dass der Offset-
// Parameter von ShowSdrPage() der Seitengroesse angepasst ist, da sich sonst die
// Seiten ueberlappen koennten.
// First of all the app creates a SdrModel.
// Then it opens a Win and creates a SdrView.
// ShowSdrPage() announces a page at SdrView.
// It's possible to show SdrView in any Wins at once.
// internal:
// SdrView can show as many Wins as it wants at once. Pages are announced
// or checked out with the help of ShowSdrPage()/HideSdrPage(). For every announced
// page there is a SdrPageView instance in container aPages. If more than one page
// is showed, you have to pay attention that the offset parameter of ShowSdrPage()
// is conformed to the size of the page (to prevent overlapping of two pages).
//
// Elementare Methoden:
// elementary methods:
// ~~~~~~~~~~~~~~~~~~~~
// Einfache Events:
// simple events:
// ~~~~~~~~~~~~~~~~
// sal_Bool KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin);
// sal_Bool MouseButtonDown(const MouseEvent& rMEvt, vcl::Window* pWin);
......@@ -289,7 +288,7 @@ public:
// SfxStyleSheet* GetStyleSheet() const;
// sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
//
// Sonstiges:
// others:
// ~~~~~~~~~~
// Pointer GetPreferredPointer(const Point& rMousePos, const OutputDevice* pOut, sal_uInt16 nTol=0) const;
// OUString GetStatusText();
......
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