summaryrefslogtreecommitdiffstats
path: root/sw/inc/pam.hxx
diff options
context:
space:
mode:
authorChristoph Herzog <rhogez@googlemail.com>2011-02-21 22:34:45 +0100
committerChristoph Herzog <rhogez@googlemail.com>2011-02-21 22:50:46 +0100
commitdc4ab87de3b87a0cca1bbdba2d6e4d6e887fc3fd (patch)
treed3a0eb2a3ad174d0b4af7f91714bf1732879b5dd /sw/inc/pam.hxx
parentdrop warnings (diff)
downloadcore-dc4ab87de3b87a0cca1bbdba2d6e4d6e887fc3fd.tar.gz
core-dc4ab87de3b87a0cca1bbdba2d6e4d6e887fc3fd.zip
Translation of German commentsTranslation of German comments.
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r--sw/inc/pam.hxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index 8d04419ed2ef..8b78fc7cc398 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -28,13 +28,13 @@
#ifndef _PAM_HXX
#define _PAM_HXX
-#include <stddef.h> // fuer MemPool
+#include <stddef.h> // For MemPool.
#include <tools/gen.hxx>
#include <tools/mempool.hxx>
-#include <cshtyp.hxx> // fuer die Funktions-Definitionen
-#include <ring.hxx> // Superklasse
-#include <index.hxx> // fuer SwIndex
-#include <ndindex.hxx> // fuer SwNodeIndex
+#include <cshtyp.hxx> // For function definitions.
+#include <ring.hxx> // Super class.
+#include <index.hxx> // For SwIndex.
+#include <ndindex.hxx> // For SwNodeIndex.
#include "swdllapi.h"
class SwFmt;
@@ -82,17 +82,17 @@ struct SW_DLLPUBLIC SwPosition
};
-// das Ergebnis eines Positions Vergleiches
+// Result of comparing positions.
enum SwComparePosition {
- POS_BEFORE, // Pos1 liegt vor Pos2
- POS_BEHIND, // Pos1 liegt hinter Pos2
- POS_INSIDE, // Pos1 liegt vollstaendig in Pos2
- POS_OUTSIDE, // Pos2 liegt vollstaendig in Pos1
- POS_EQUAL, // Pos1 ist genauso gross wie Pos2
- POS_OVERLAP_BEFORE, // Pos1 ueberlappt Pos2 am Anfang
- POS_OVERLAP_BEHIND, // Pos1 ueberlappt Pos2 am Ende
- POS_COLLIDE_START, // Pos1 Start stoesst an Pos2 Ende
- POS_COLLIDE_END // Pos1 End stoesst an Pos2 Start
+ POS_BEFORE, // Pos1 before Pos2.
+ POS_BEHIND, // Pos1 behind Pos2.
+ POS_INSIDE, // Pos1 completely contained in Pos2.
+ POS_OUTSIDE, // Pos2 completely contained in Pos1.
+ POS_EQUAL, // Pos1 is as large as Pos2.
+ POS_OVERLAP_BEFORE, // Pos1 overlaps Pos2 at the beginning.
+ POS_OVERLAP_BEHIND, // Pos1 overlaps Pos2 at the end.
+ POS_COLLIDE_START, // Pos1 start touches at Pos2 end.
+ POS_COLLIDE_END // Pos1 end touches at Pos2 start.
};
SwComparePosition ComparePosition(
const SwPosition& rStt1, const SwPosition& rEnd1,
@@ -150,11 +150,11 @@ public:
// @@@ semantic: no copy assignment for super class Ring.
SwPaM& operator=( const SwPaM & );
- // Bewegen des Cursors
+ // Movement of cursor.
BOOL Move( SwMoveFn fnMove = fnMoveForward,
SwGoInDoc fnGo = fnGoCntnt );
- // Suchen
+ // Search.
BYTE Find( const com::sun::star::util::SearchOptions& rSearchOpt,
BOOL bSearchInNotes,
utl::TextSearch& rSTxt,
@@ -252,11 +252,11 @@ public:
const SwPosition& GetBound( bool bOne = true ) const
{ return bOne ? m_Bound1 : m_Bound2; }
- // erfrage die Seitennummer auf der der Cursor steht
+ // Get number of page which contains cursor.
USHORT GetPageNum( BOOL bAtPoint = TRUE, const Point* pLayPos = 0 );
- // steht in etwas geschuetztem oder in die Selektion umspannt
- // etwas geschuetztes.
+ // Is in something protected (readonly) or selection contains
+ // something protected.
BOOL HasReadonlySel( bool bFormView ) const;
BOOL ContainsPosition(const SwPosition & rPos)