summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconbez.cxx
diff options
context:
space:
mode:
authorUrs Fässler <urs@bitzgi.ch>2013-03-12 20:27:21 +0100
committerUrs Fässler <urs@bitzgi.ch>2013-03-12 20:32:51 +0100
commitc4054a89e6805f5395df2dac879d2331cd5d0cf1 (patch)
tree9a10421171025298b2f496b9c0b846b1ee52bed3 /sd/source/ui/func/fuconbez.cxx
parentf16d3484a723e33c6fee56f34ec00981f0dbd5af (diff)
translation and cleanup of comments in sd/source/ui/func/
Change-Id: Id2603c4d3340a220708272b4b8f73e2a59f36f5b
Diffstat (limited to 'sd/source/ui/func/fuconbez.cxx')
-rw-r--r--sd/source/ui/func/fuconbez.cxx66
1 files changed, 10 insertions, 56 deletions
diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx
index 9ae1ffc0f9f5..4ee9ca3f39bc 100644
--- a/sd/source/ui/func/fuconbez.cxx
+++ b/sd/source/ui/func/fuconbez.cxx
@@ -54,11 +54,6 @@ namespace sd {
TYPEINIT1( FuConstructBezierPolygon, FuConstruct );
-/*************************************************************************
-|*
-|* Konstruktor
-|*
-\************************************************************************/
FuConstructBezierPolygon::FuConstructBezierPolygon (
ViewShell* pViewSh,
@@ -93,11 +88,6 @@ void FuConstructBezierPolygon::DoExecute( SfxRequest& rReq )
}
}
-/*************************************************************************
-|*
-|* MouseButtonDown-event
-|*
-\************************************************************************/
sal_Bool FuConstructBezierPolygon::MouseButtonDown(const MouseEvent& rMEvt)
{
@@ -117,7 +107,7 @@ sal_Bool FuConstructBezierPolygon::MouseButtonDown(const MouseEvent& rMEvt)
if (aVEvt.eEvent == SDREVENT_BEGTEXTEDIT)
{
- // Texteingabe hier nicht zulassen
+ // here, we do not allow text input
aVEvt.eEvent = SDREVENT_BEGDRAGOBJ;
mpView->EnableExtendedMouseEventDispatcher(sal_False);
}
@@ -128,9 +118,7 @@ sal_Bool FuConstructBezierPolygon::MouseButtonDown(const MouseEvent& rMEvt)
if (eHit == SDRHIT_MARKEDOBJECT && nEditMode == SID_BEZIER_INSERT)
{
- /******************************************************************
- * Klebepunkt einfuegen
- ******************************************************************/
+ // insert clue point
mpView->BegInsObjPoint(aMDPos, rMEvt.IsMod1());
}
else
@@ -150,11 +138,6 @@ sal_Bool FuConstructBezierPolygon::MouseButtonDown(const MouseEvent& rMEvt)
return(bReturn);
}
-/*************************************************************************
-|*
-|* MouseMove-event
-|*
-\************************************************************************/
sal_Bool FuConstructBezierPolygon::MouseMove(const MouseEvent& rMEvt)
{
@@ -162,11 +145,6 @@ sal_Bool FuConstructBezierPolygon::MouseMove(const MouseEvent& rMEvt)
return(bReturn);
}
-/*************************************************************************
-|*
-|* MouseButtonUp-event
-|*
-\************************************************************************/
sal_Bool FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt )
{
@@ -196,7 +174,7 @@ sal_Bool FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt )
bCreated = sal_True;
}
- // Trick, um FuDraw::DoubleClick nicht auszuloesen
+ // trick to suppress FuDraw::DoubleClick
bMBDown = sal_False;
}
@@ -246,15 +224,10 @@ sal_Bool FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt )
return(bReturn);
}
-/*************************************************************************
-|*
-|* Tastaturereignisse bearbeiten
-|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* sal_False.
-|*
-\************************************************************************/
-
+/**
+ * Process keyboard input
+ * @returns sal_True if a KeyEvent is being processed, sal_False otherwise
+ */
sal_Bool FuConstructBezierPolygon::KeyInput(const KeyEvent& rKEvt)
{
sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
@@ -262,11 +235,6 @@ sal_Bool FuConstructBezierPolygon::KeyInput(const KeyEvent& rKEvt)
return(bReturn);
}
-/*************************************************************************
-|*
-|* Function aktivieren
-|*
-\************************************************************************/
void FuConstructBezierPolygon::Activate()
{
@@ -326,11 +294,6 @@ void FuConstructBezierPolygon::Activate()
FuConstruct::Activate();
}
-/*************************************************************************
-|*
-|* Function deaktivieren
-|*
-\************************************************************************/
void FuConstructBezierPolygon::Deactivate()
{
@@ -340,11 +303,6 @@ void FuConstructBezierPolygon::Deactivate()
}
-/*************************************************************************
-|*
-|* Selektion hat sich geaendert
-|*
-\************************************************************************/
void FuConstructBezierPolygon::SelectionHasChanged()
{
@@ -356,13 +314,9 @@ void FuConstructBezierPolygon::SelectionHasChanged()
}
-
-/*************************************************************************
-|*
-|* Aktuellen Bezier-Editmodus setzen
-|*
-\************************************************************************/
-
+/**
+ * Set current bezier edit mode
+ */
void FuConstructBezierPolygon::SetEditMode(sal_uInt16 nMode)
{
nEditMode = nMode;