[Libreoffice-commits] .: editeng/inc editeng/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Feb 16 14:18:24 PST 2011
editeng/inc/editeng/acorrcfg.hxx | 8
editeng/inc/editeng/adjitem.hxx | 8
editeng/inc/editeng/akrnitem.hxx | 6
editeng/inc/editeng/blnkitem.hxx | 6
editeng/inc/editeng/bolnitem.hxx | 4
editeng/inc/editeng/boxitem.hxx | 60 +-
editeng/inc/editeng/brkitem.hxx | 12
editeng/inc/editeng/bulitem.hxx | 5
editeng/inc/editeng/charhiddenitem.hxx | 4
editeng/inc/editeng/charreliefitem.hxx | 1
editeng/inc/editeng/cmapitem.hxx | 6
editeng/inc/editeng/cntritem.hxx | 7
editeng/inc/editeng/colritem.hxx | 6
editeng/inc/editeng/crsditem.hxx | 9
editeng/inc/editeng/cscoitem.hxx | 6
editeng/inc/editeng/editdata.hxx | 22 -
editeng/inc/editeng/editeng.hxx | 13
editeng/inc/editeng/editobj.hxx | 4
editeng/inc/editeng/editrids.hrc | 4
editeng/inc/editeng/editstat.hxx | 72 +--
editeng/inc/editeng/editview.hxx | 16
editeng/inc/editeng/eeitemid.hxx | 4
editeng/inc/editeng/emphitem.hxx | 6
editeng/inc/editeng/escpitem.hxx | 8
editeng/inc/editeng/fhgtitem.hxx | 8
editeng/inc/editeng/flditem.hxx | 50 +-
editeng/inc/editeng/flstitem.hxx | 6
editeng/inc/editeng/fontitem.hxx | 10
editeng/inc/editeng/fwdtitem.hxx | 6
editeng/inc/editeng/hyznitem.hxx | 10
editeng/inc/editeng/keepitem.hxx | 8
editeng/inc/editeng/kernitem.hxx | 10
editeng/inc/editeng/langitem.hxx | 6
editeng/inc/editeng/lcolitem.hxx | 2
editeng/inc/editeng/lrspitem.hxx | 49 +-
editeng/inc/editeng/lspcitem.hxx | 23 -
editeng/inc/editeng/measfld.hxx | 4
editeng/inc/editeng/nhypitem.hxx | 2
editeng/inc/editeng/nlbkitem.hxx | 2
editeng/inc/editeng/numdef.hxx | 4
editeng/inc/editeng/numitem.hxx | 62 +--
editeng/inc/editeng/opaqitem.hxx | 8
editeng/inc/editeng/orphitem.hxx | 8
editeng/inc/editeng/outliner.hxx | 34 -
editeng/inc/editeng/paragraphdata.hxx | 4
editeng/inc/editeng/pbinitem.hxx | 6
editeng/inc/editeng/pgrditem.hxx | 6
editeng/inc/editeng/pmdlitem.hxx | 6
editeng/inc/editeng/postitem.hxx | 8
editeng/inc/editeng/prntitem.hxx | 8
editeng/inc/editeng/protitem.hxx | 15
editeng/inc/editeng/prszitem.hxx | 6
editeng/inc/editeng/scriptspaceitem.hxx | 2
editeng/inc/editeng/scripttypeitem.hxx | 2
editeng/inc/editeng/shaditem.hxx | 8
editeng/inc/editeng/shdditem.hxx | 8
editeng/inc/editeng/sizeitem.hxx | 8
editeng/inc/editeng/spltitem.hxx | 8
editeng/inc/editeng/splwrap.hxx | 66 +--
editeng/inc/editeng/svxacorr.hxx | 154 +++----
editeng/inc/editeng/svxenum.hxx | 14
editeng/inc/editeng/svxfont.hxx | 17
editeng/inc/editeng/svxrtf.hxx | 120 ++---
editeng/inc/editeng/swafopt.hxx | 4
editeng/inc/editeng/tstpitem.hxx | 24 -
editeng/inc/editeng/twolinesitem.hxx | 2
editeng/inc/editeng/txtrange.hxx | 22 -
editeng/inc/editeng/udlnitem.hxx | 4
editeng/inc/editeng/ulspitem.hxx | 14
editeng/inc/editeng/unofield.hxx | 2
editeng/inc/editeng/unofored.hxx | 2
editeng/inc/editeng/unoforou.hxx | 2
editeng/inc/editeng/unoipset.hxx | 4
editeng/inc/editeng/unolingu.hxx | 4
editeng/inc/editeng/unonrule.hxx | 2
editeng/inc/editeng/unoprnms.hxx | 6
editeng/inc/editeng/unotext.hxx | 4
editeng/inc/editeng/wghtitem.hxx | 6
editeng/inc/editeng/widwitem.hxx | 8
editeng/inc/editeng/wrlmitem.hxx | 8
editeng/inc/helpid.hrc | 2
editeng/source/editeng/editattr.cxx | 39 -
editeng/source/editeng/editattr.hxx | 56 +-
editeng/source/editeng/editdbg.cxx | 62 +--
editeng/source/editeng/editdoc.cxx | 386 +++++++++---------
editeng/source/editeng/editdoc.hxx | 31 -
editeng/source/editeng/editdoc2.cxx | 66 +--
editeng/source/editeng/editeng.cxx | 120 ++---
editeng/source/editeng/editobj.cxx | 227 ++++-------
editeng/source/editeng/editobj2.hxx | 19
editeng/source/editeng/editsel.cxx | 8
editeng/source/editeng/editundo.cxx | 101 ++--
editeng/source/editeng/editundo.hxx | 6
editeng/source/editeng/editview.cxx | 56 +-
editeng/source/editeng/edtspell.cxx | 134 +++---
editeng/source/editeng/edtspell.hxx | 6
editeng/source/editeng/eehtml.cxx | 91 ++--
editeng/source/editeng/eehtml.hxx | 2
editeng/source/editeng/eeobj.cxx | 2
editeng/source/editeng/eerdll.cxx | 6
editeng/source/editeng/eertfpar.cxx | 101 ++--
editeng/source/editeng/eertfpar.hxx | 4
editeng/source/editeng/impedit.cxx | 180 ++++----
editeng/source/editeng/impedit.hxx | 50 +-
editeng/source/editeng/impedit2.cxx | 513 ++++++++++++-------------
editeng/source/editeng/impedit4.cxx | 348 +++++++---------
editeng/source/editeng/impedit5.cxx | 129 ++----
editeng/source/editeng/makefile.mk | 2
editeng/source/editeng/textconv.cxx | 44 --
editeng/source/items/bulitem.cxx | 36 -
editeng/source/items/flditem.cxx | 53 +-
editeng/source/items/frmitems.cxx | 108 +----
editeng/source/items/itemtype.cxx | 1
editeng/source/items/justifyitem.cxx | 6
editeng/source/items/numitem.cxx | 35 -
editeng/source/items/paperinf.cxx | 18
editeng/source/items/paraitem.cxx | 71 ---
editeng/source/items/svxfont.cxx | 61 +-
editeng/source/items/svxitems.src | 2
editeng/source/items/textitem.cxx | 85 +---
editeng/source/misc/SvXMLAutoCorrectExport.cxx | 2
editeng/source/misc/SvXMLAutoCorrectExport.hxx | 2
editeng/source/misc/SvXMLAutoCorrectImport.cxx | 2
editeng/source/misc/SvXMLAutoCorrectImport.hxx | 2
editeng/source/misc/acorrcfg.cxx | 2
editeng/source/misc/hangulhanja.cxx | 9
editeng/source/misc/lingu.src | 12
editeng/source/misc/makefile.mk | 2
editeng/source/misc/splwrap.cxx | 119 ++---
editeng/source/misc/svxacorr.cxx | 374 ++++++------------
editeng/source/misc/txtrange.cxx | 65 +--
editeng/source/misc/unolingu.cxx | 6
editeng/source/outliner/outleeng.cxx | 2
editeng/source/outliner/outleeng.hxx | 1
editeng/source/outliner/outlin2.cxx | 4
editeng/source/outliner/outliner.cxx | 126 ++----
editeng/source/outliner/outlundo.hxx | 8
editeng/source/outliner/outlvw.cxx | 103 ++---
editeng/source/outliner/paralist.cxx | 2
editeng/source/rtf/rtfgrf.cxx | 43 --
editeng/source/rtf/rtfitem.cxx | 206 +++-------
editeng/source/rtf/svxrtf.cxx | 197 ++++-----
editeng/source/uno/unoedhlp.cxx | 2
editeng/source/uno/unofored.cxx | 5
editeng/source/uno/unoforou.cxx | 11
editeng/source/uno/unoipset.cxx | 15
editeng/source/uno/unonrule.cxx | 2
editeng/source/uno/unotext.cxx | 54 +-
editeng/source/uno/unotext2.cxx | 3
editeng/source/uno/unoviwou.cxx | 5
editeng/source/xml/xmltxtexp.cxx | 3
editeng/source/xml/xmltxtimp.cxx | 3
152 files changed, 2617 insertions(+), 3235 deletions(-)
New commits:
commit 4057666287250c96f3e1aac5fef91ea9a30662ee
Author: Albert Thuswaldner <thuswa at gmail.com>
Date: Wed Feb 16 16:34:02 2011 -0500
Translation of german comments.
diff --git a/editeng/inc/editeng/acorrcfg.hxx b/editeng/inc/editeng/acorrcfg.hxx
index b61c252..f9d6267 100644
--- a/editeng/inc/editeng/acorrcfg.hxx
+++ b/editeng/inc/editeng/acorrcfg.hxx
@@ -65,7 +65,7 @@ public:
void SetModified() {ConfigItem::SetModified();}
};
/*--------------------------------------------------------------------
- Beschreibung: Konfiguration fuer Auto Correction
+ Description: Configuration for Auto Correction
--------------------------------------------------------------------*/
class EDITENG_DLLPUBLIC SvxAutoCorrCfg
{
@@ -77,10 +77,10 @@ class EDITENG_DLLPUBLIC SvxAutoCorrCfg
SvxBaseAutoCorrCfg aBaseConfig;
SvxSwAutoCorrCfg aSwConfig;
- // Flags f"ur Autotext:
+ // Flags for Autotext:
sal_Bool bFileRel;
sal_Bool bNetRel;
- // Tiphilfe f"ur Autotext w"ahrend der Eingabe
+ // Help tip for Autotext as you type
sal_Bool bAutoTextTip;
sal_Bool bAutoTextPreview;
sal_Bool bAutoFmtByInput;
@@ -100,7 +100,7 @@ public:
SvxAutoCorrect* GetAutoCorrect() { return pAutoCorrect; }
const SvxAutoCorrect* GetAutoCorrect() const { return pAutoCorrect; }
- // der Pointer geht in den Besitz des ConfigItems!
+ // the pointer is transfered to the possession of the ConfigItems!
void SetAutoCorrect( SvxAutoCorrect* );
sal_Bool IsAutoFmtByInput() const { return bAutoFmtByInput; }
diff --git a/editeng/inc/editeng/adjitem.hxx b/editeng/inc/editeng/adjitem.hxx
index 1e15453..b2d9394 100644
--- a/editeng/inc/editeng/adjitem.hxx
+++ b/editeng/inc/editeng/adjitem.hxx
@@ -44,8 +44,8 @@ namespace rtl
// class SvxAdjustItem ---------------------------------------------------
/*
-[Beschreibung]
-Dieses Item beschreibt die Zeilenausrichtung.
+[Description]
+This item describes the row orientation.
*/
#define ADJUST_LASTBLOCK_VERSION ((USHORT)0x0001)
@@ -56,7 +56,7 @@ class EDITENG_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface
BOOL bCenter : 1;
BOOL bBlock : 1;
- // nur aktiv, wenn bBlock
+ // only activ when bBlock
BOOL bOneBlock : 1;
BOOL bLastCenter : 1;
BOOL bLastBlock : 1;
@@ -68,7 +68,7 @@ public:
SvxAdjustItem( const SvxAdjust eAdjst /*= SVX_ADJUST_LEFT*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
diff --git a/editeng/inc/editeng/akrnitem.hxx b/editeng/inc/editeng/akrnitem.hxx
index 6bcf6a3..6b3972e 100644
--- a/editeng/inc/editeng/akrnitem.hxx
+++ b/editeng/inc/editeng/akrnitem.hxx
@@ -42,8 +42,8 @@ namespace rtl
// class SvxAutoKernItem -------------------------------------------------
/*
- [Beschreibung]
- Attribut fuer Pair-Kerning.
+ [Description]
+ Attribute for Pair-Kerning.
*/
class EDITENG_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem
@@ -54,7 +54,7 @@ public:
SvxAutoKernItem( const BOOL bAutoKern /*= FALSE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/blnkitem.hxx b/editeng/inc/editeng/blnkitem.hxx
index 304f0f5..6b96d2d 100644
--- a/editeng/inc/editeng/blnkitem.hxx
+++ b/editeng/inc/editeng/blnkitem.hxx
@@ -43,8 +43,8 @@ namespace rtl
// class SvxBlinkItem -------------------------------------------------
/*
- [Beschreibung]
- Dieses Item beschreibt, ob geblinkt werden soll.
+ [Description]
+ This item describes, whether to flash.
*/
class EDITENG_DLLPUBLIC SvxBlinkItem : public SfxBoolItem
@@ -54,7 +54,7 @@ public:
SvxBlinkItem( const BOOL bBlink /*= FALSE*/, const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/bolnitem.hxx b/editeng/inc/editeng/bolnitem.hxx
index af1b6a0..c523705 100644
--- a/editeng/inc/editeng/bolnitem.hxx
+++ b/editeng/inc/editeng/bolnitem.hxx
@@ -41,8 +41,8 @@
/*
-[Beschreibung]
-Dieses Item transportiert eine SvxBorderLine.
+[Description]
+This Item transports a SvxBorderLine.
*/
class SvxBorderLine;
diff --git a/editeng/inc/editeng/boxitem.hxx b/editeng/inc/editeng/boxitem.hxx
index 35fd036..68f34db 100644
--- a/editeng/inc/editeng/boxitem.hxx
+++ b/editeng/inc/editeng/boxitem.hxx
@@ -37,10 +37,10 @@ namespace rtl { class OUString; }
// class SvxBoxItem ------------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt ein Umrandungsattribut (alle vier Kanten und
-Abstand nach innen.
+/* [Description]
+
+ This item describes a border attribute
+ (all four edges and the inward distance)
*/
#define BOX_LINE_TOP ((USHORT)0)
@@ -69,7 +69,7 @@ public:
~SvxBoxItem();
SvxBoxItem &operator=( const SvxBoxItem& rBox );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
@@ -94,7 +94,7 @@ public:
const SvxBorderLine* GetLine( USHORT nLine ) const;
- //Die Pointer werden kopiert!
+ //The Pointers are being copied!
void SetLine( const SvxBorderLine* pNew, USHORT nLine );
USHORT GetDistance( USHORT nLine ) const;
@@ -103,9 +103,8 @@ public:
void SetDistance( USHORT nNew, USHORT nLine );
inline void SetDistance( USHORT nNew );
- //Breite der Linien plus Zwischenraum plus Abstand nach innen.
- //JP 09.06.99: bIgnoreLine = TRUE -> Distance auch returnen, wenn
- // keine Line gesetzt ist
+ // Line width plus Space plus inward distance
+ //bIgnoreLine = TRUE -> Also return distance, when no Line is set
USHORT CalcLineSpace( USHORT nLine, BOOL bIgnoreLine = FALSE ) const;
static com::sun::star::table::BorderLine2 SvxLineToLine( const SvxBorderLine* pLine, sal_Bool bConvert );
static sal_Bool LineToSvxLine(const ::com::sun::star::table::BorderLine& rLine, SvxBorderLine& rSvxLine, sal_Bool bConvert);
@@ -119,13 +118,12 @@ inline void SvxBoxItem::SetDistance( USHORT nNew )
// class SvxBoxInfoItem --------------------------------------------------
-/*
-[Beschreibung]
-Noch ein Item fuer die Umrandung. Dieses Item hat lediglich SS-Funktionalitaet.
-Einerseits wird dem allgemeinen Dialog mit diesem Item mitgeteilt, welche
-Moeglichkeiten er anbieten soll.
-Andererseits werden ueber dieses Attribut ggf. die BorderLines fuer die
-horizontalen und vertikalen innerern Linien transportiert.
+/* [Description]
+
+ Another item for the border. This item has only limited functionality.
+ On one hand, the general Dialog is told by the item which options it
+ should offer. On the other hand, this attribute may be used to
+ transported the borderline for the inner horizontal and vertical lines.
*/
#define BOXINFO_LINE_HORI ((USHORT)0)
@@ -142,24 +140,24 @@ horizontalen und vertikalen innerern Linien transportiert.
class EDITENG_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem
{
- SvxBorderLine* pHori; //innere horizontale Linie
- SvxBorderLine* pVert; //innere vertikale Linie
+ SvxBorderLine* pHori; //inner horizontal Line
+ SvxBorderLine* pVert; //inner vertical Line
- bool mbEnableHor; /// true = Enable inner horizonal line.
+ bool mbEnableHor; /// true = Enable inner horizontal line.
bool mbEnableVer; /// true = Enable inner vertical line.
/*
- z.Z. nur fuer StarWriter: Abstand nach innen von SvxBoxItem.
- Wenn der Abstand gewuenscht ist, so muss das Feld fuer den Abstand vom
- Dialog freigeschaltet werden. nDefDist ist als Defaultwert anzusehen.
- Wenn irgendeine Linie eingeschalt ist oder wird, so muss dieser
- Abstand defaultet werden. bMinDist gibt an, ob der Wert durch den
- Anwender unterschritten werden darf. Mit nDist wird der aktuelle
- Abstand von der App zum Dialog und zurueck transportiert.
+ Currently only for StarWriter: distance inward from SvxBoxItem. If the
+ distance is requested, then the field for the distance from the dialog be
+ activated. nDefDist is regarded as a default value. If any line is
+ turned on or will be turned on it must this distance be set to default.
+ bMinDist indicates whether the user can go below this value or not.
+ With NDIST is the current distance from the app transported back and
+ forth to the dialogue.
*/
- BOOL bDist :1; // TRUE, Abstand freischalten.
- BOOL bMinDist :1; // TRUE, Abstand darf nicht unterschritten werden.
+ BOOL bDist :1; // TRUE, Unlock Distance.
+ BOOL bMinDist :1; // TRUE, Going below minimum Distance is prohibited
BYTE nValidFlags; // 0000 0000
// ³³³³ ³³³ÀÄ VALID_TOP
@@ -171,7 +169,7 @@ class EDITENG_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem
// ³ÀÄÄÄÄÄÄÄÄ VALID_DIST
// ÀÄÄÄÄÄÄÄÄÄ VALID_DISABLE
- USHORT nDefDist; // Der Default- bzw. Minimalabstand.
+ USHORT nDefDist; // The default or minimum distance.
public:
TYPEINFO();
@@ -181,7 +179,7 @@ public:
~SvxBoxInfoItem();
SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -199,7 +197,7 @@ public:
const SvxBorderLine* GetHori() const { return pHori; }
const SvxBorderLine* GetVert() const { return pVert; }
- //Die Pointer werden kopiert!
+ //The Pointers are being copied!
void SetLine( const SvxBorderLine* pNew, USHORT nLine );
BOOL IsTable() const { return mbEnableHor && mbEnableVer; }
diff --git a/editeng/inc/editeng/brkitem.hxx b/editeng/inc/editeng/brkitem.hxx
index 1409f31..244bafc 100644
--- a/editeng/inc/editeng/brkitem.hxx
+++ b/editeng/inc/editeng/brkitem.hxx
@@ -41,10 +41,10 @@ namespace rtl
// class SvxFmtBreakItem -------------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt ein Umbruch-Attribut
- Automatisch?, Seiten- oder Spaltenumbruch, davor oder danach?
+/* [Description]
+
+ This item Describes a wrap-attribute
+ Automatic?, Page or column break, before or after?
*/
#define FMTBREAK_NOAUTO ((USHORT)0x0001)
@@ -58,7 +58,7 @@ public:
inline SvxFmtBreakItem( const SvxFmtBreakItem& rBreak );
inline SvxFmtBreakItem& operator=( const SvxFmtBreakItem& rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
@@ -75,7 +75,7 @@ public:
virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
virtual USHORT GetValueCount() const;
- // MS VC4.0 kommt durcheinander
+ // MS VC4.0 messes things up
void SetValue( USHORT nNewVal )
{SfxEnumItem::SetValue(nNewVal); }
SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
diff --git a/editeng/inc/editeng/bulitem.hxx b/editeng/inc/editeng/bulitem.hxx
index ea41ef5..36e31e4 100644
--- a/editeng/inc/editeng/bulitem.hxx
+++ b/editeng/inc/editeng/bulitem.hxx
@@ -54,7 +54,7 @@
#define BJ_VCENTER 0x20
// Valid-Bits
-// Erstmal nur die Werte, die vom Dialog geaendert werden...
+// First, only the values that are changed by the dialogue ...
#define VALID_FONTCOLOR 0x0001
#define VALID_FONTNAME 0x0002
#define VALID_SYMBOL 0x0004
@@ -82,7 +82,8 @@ class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem
USHORT nScale;
sal_Unicode cSymbol;
BYTE nJustify;
- USHORT nValidMask; // Nur temporaer fuer GetAttribs/SetAttribs, wegen des grossen Bullets
+ USHORT nValidMask; // Only temporary for GetAttribs / setAttribs,
+ // because of the large Bullets
#ifdef _SVX_BULITEM_CXX
void SetDefaultFont_Impl();
diff --git a/editeng/inc/editeng/charhiddenitem.hxx b/editeng/inc/editeng/charhiddenitem.hxx
index 0e4ae84..1f7d52e 100644
--- a/editeng/inc/editeng/charhiddenitem.hxx
+++ b/editeng/inc/editeng/charhiddenitem.hxx
@@ -35,8 +35,8 @@
#include "editeng/editengdllapi.h"
// class SvxCharHiddenItem -------------------------------------------------
-/*
- [Description]
+/* [Description]
+
This item marks text as hidden
*/
diff --git a/editeng/inc/editeng/charreliefitem.hxx b/editeng/inc/editeng/charreliefitem.hxx
index 376090a..148e859 100644
--- a/editeng/inc/editeng/charreliefitem.hxx
+++ b/editeng/inc/editeng/charreliefitem.hxx
@@ -40,7 +40,6 @@
This item defines a character relief and has currently the values
emboss, relief.
-
*/
class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem
diff --git a/editeng/inc/editeng/cmapitem.hxx b/editeng/inc/editeng/cmapitem.hxx
index b436b1e..791f7a2 100644
--- a/editeng/inc/editeng/cmapitem.hxx
+++ b/editeng/inc/editeng/cmapitem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxCaseMapItem --------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Schrift-Ausrichtung (Versalien, Kapitaelchen,...).
+ This item describe the font type (uppercase, small caps ,...).
*/
class EDITENG_DLLPUBLIC SvxCaseMapItem : public SfxEnumItem
@@ -55,7 +55,7 @@ public:
SvxCaseMapItem( const SvxCaseMap eMap /*= SVX_CASEMAP_NOT_MAPPED*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem + SfxEnumItem
+ // "pure virtual Methods" from SfxPoolItem + SfxEnumItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/editeng/inc/editeng/cntritem.hxx b/editeng/inc/editeng/cntritem.hxx
index d1b4bfe..6c539d1 100644
--- a/editeng/inc/editeng/cntritem.hxx
+++ b/editeng/inc/editeng/cntritem.hxx
@@ -35,9 +35,8 @@
// class SvxContourItem --------------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt, ob Konturschrift eingestellt ist.
+/* [Description]
+ This item describes, if contour is employed.
*/
class EDITENG_DLLPUBLIC SvxContourItem : public SfxBoolItem
@@ -48,7 +47,7 @@ public:
SvxContourItem( const BOOL bContoured /*= FALSE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/colritem.hxx b/editeng/inc/editeng/colritem.hxx
index c71829b..24041ba 100644
--- a/editeng/inc/editeng/colritem.hxx
+++ b/editeng/inc/editeng/colritem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxColorItem ----------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt eine Farbe.
+ This item describes a color.
*/
#define VERSION_USEAUTOCOLOR 1
@@ -63,7 +63,7 @@ public:
SvxColorItem( const SvxColorItem& rCopy );
~SvxColorItem();
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
diff --git a/editeng/inc/editeng/crsditem.hxx b/editeng/inc/editeng/crsditem.hxx
index 6c832f5..a7264df 100644
--- a/editeng/inc/editeng/crsditem.hxx
+++ b/editeng/inc/editeng/crsditem.hxx
@@ -42,9 +42,8 @@ namespace rtl
// class SvxCrossedOutItem -----------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt, ob und wie durchstrichen ist.
+/* [Description]
+ This item describes, whether and how it is striked out.
*/
class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem
@@ -55,7 +54,7 @@ public:
SvxCrossedOutItem( const FontStrikeout eSt /*= STRIKEOUT_NONE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -69,7 +68,7 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
- // MS VC4.0 kommt durcheinander
+ // MS VC4.0 messes things up
void SetValue( USHORT nNewVal )
{SfxEnumItem::SetValue(nNewVal); }
diff --git a/editeng/inc/editeng/cscoitem.hxx b/editeng/inc/editeng/cscoitem.hxx
index 4ddbfe3..b286f34 100644
--- a/editeng/inc/editeng/cscoitem.hxx
+++ b/editeng/inc/editeng/cscoitem.hxx
@@ -36,9 +36,9 @@
// class SvxCharSetColorItem ---------------------------------------------
-/* [Beschreibung]
+/* [Description]
- PB: wird nur intern im Reader des Writers benoetigt
+ Is only needed internally in the reader of Writer.
*/
class EDITENG_DLLPUBLIC SvxCharSetColorItem : public SvxColorItem
@@ -51,7 +51,7 @@ public:
SvxCharSetColorItem( const Color& aColor, const rtl_TextEncoding eFrom,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/editeng/inc/editeng/editdata.hxx b/editeng/inc/editeng/editdata.hxx
index 6d252b3..7921c3c 100644
--- a/editeng/inc/editeng/editdata.hxx
+++ b/editeng/inc/editeng/editdata.hxx
@@ -57,7 +57,7 @@ enum EVAnchorMode {
#define EE_APPEND 0xFFFF
#define EE_INDEX_NOT_FOUND 0xFFFF
-// Fehlermeldungen fuer Read/Write-Methode
+// Error messages for Read / Write Method
#define EE_READWRITE_OK (SVSTREAM_OK)
#define EE_READWRITE_WRONGFORMAT (SVSTREAM_ERRBASE_USER+1)
#define EE_READWRITE_GENERALERROR (SVSTREAM_ERRBASE_USER+2)
@@ -104,9 +104,9 @@ class ImpEditEngine;
class EditTextObject;
class SfxStyleSheet;
-#define RGCHK_NONE 0 // Keine Korrektur der ViusArea beim Scrollen
-#define RGCHK_NEG 1 // Keine neg. ViusArea beim Scrollen
-#define RGCHK_PAPERSZ1 2 // VisArea muss in Papierbreite,Texthoehe liegen
+#define RGCHK_NONE 0 // No correction of ViusArea when scrolling
+#define RGCHK_NEG 1 // No negative ViusArea when scrolling
+#define RGCHK_PAPERSZ1 2 // VisArea must be within paper width, Text Size
struct EPosition
{
@@ -178,8 +178,8 @@ inline sal_Bool ESelection::IsEqual( const ESelection& rS ) const
inline sal_Bool ESelection::IsLess( const ESelection& rS ) const
{
- // Selektion muss justiert sein.
- // => Nur pueffen, ob Ende von 'this' < Start von rS
+ // The selection must be adjusted.
+ // => Only check if end of 'this' < Start of rS
if ( ( nEndPara < rS.nStartPara ) ||
( ( nEndPara == rS.nStartPara ) && ( nEndPos < rS.nStartPos ) && !IsEqual( rS ) ) )
@@ -191,8 +191,8 @@ inline sal_Bool ESelection::IsLess( const ESelection& rS ) const
inline sal_Bool ESelection::IsGreater( const ESelection& rS ) const
{
- // Selektion muss justiert sein.
- // => Nur pueffen, ob Ende von 'this' > Start von rS
+ // The selection must be adjusted.
+ // => Only check if end of 'this' < Start of rS
if ( ( nStartPara > rS.nEndPara ) ||
( ( nStartPara == rS.nEndPara ) && ( nStartPos > rS.nEndPos ) && !IsEqual( rS ) ) )
@@ -235,12 +235,12 @@ struct EDITENG_DLLPUBLIC EFieldInfo
// -----------------------------------------------------------------------
enum ImportState {
- RTFIMP_START, RTFIMP_END, // nur pParser, nPara, nIndex
+ RTFIMP_START, RTFIMP_END, // only pParser, nPara, nIndex
RTFIMP_NEXTTOKEN, RTFIMP_UNKNOWNATTR, // nToken+nTokenValue
RTFIMP_SETATTR, // pAttrs
RTFIMP_INSERTTEXT, // aText
RTFIMP_INSERTPARA, // -
- HTMLIMP_START, HTMLIMP_END, // nur pParser, nPara, nIndex
+ HTMLIMP_START, HTMLIMP_END, // only pParser, nPara, nIndex
HTMLIMP_NEXTTOKEN, HTMLIMP_UNKNOWNATTR, // nToken
HTMLIMP_SETATTR, // pAttrs
HTMLIMP_INSERTTEXT, // aText
@@ -293,7 +293,7 @@ struct ParagraphInfos
USHORT nFirstLineTextHeight;
USHORT nFirstLineMaxAscent;
- BOOL bValid; // Bei einer Abfrage waehrend der Formatierung ungueltig!
+ BOOL bValid; // A query during formatting is not valid!
};
struct EECharAttrib
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx
index 75750ba..000003d 100644
--- a/editeng/inc/editeng/editeng.hxx
+++ b/editeng/inc/editeng/editeng.hxx
@@ -25,7 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-// MyEDITENG, wegen exportiertem EditEng
+// MyEDITENG, due to exported EditEng
#ifndef _MyEDITENG_HXX
#define _MyEDITENG_HXX
@@ -92,7 +92,7 @@ namespace basegfx { class B2DPolyPolygon; }
#include <i18npool/lang.h>
#include "editeng/editengdllapi.h"
-#include <tools/rtti.hxx> // wegen typedef TypeId
+#include <tools/rtti.hxx> // due to typedef TypeId
#include <editeng/eedata.hxx>
class SvxFieldData;
@@ -296,13 +296,13 @@ public:
Point GetDocPos( const Point& rPaperPos ) const;
BOOL IsTextPos( const Point& rPaperPos, USHORT nBorder = 0 );
- // StartDocPos entspr. VisArea.TopLeft().
+ // StartDocPos corrresponds to VisArea.TopLeft().
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect );
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos );
void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect, const Point& rStartDocPos, BOOL bClip );
void Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation = 0 );
-// ULONG: Fehlercode des Streams.
+// ULONG: Error code of the stream.
ULONG Read( SvStream& rInput, const String& rBaseURL, EETextFormat, SvKeyValueIterator* pHTTPHeaderAttrs = NULL );
ULONG Write( SvStream& rOutput, EETextFormat );
@@ -315,7 +315,7 @@ public:
void SetImportHdl( const Link& rLink );
Link GetImportHdl() const;
- // Flat-Mode: Keine Zeichenformatierung auswerten => Fuer Outliner
+ // Do not evaluate font formatting => For Outliner
BOOL IsFlatMode() const;
void SetFlatMode( BOOL bFlat );
@@ -383,7 +383,7 @@ public:
USHORT GetBigTextObjectStart() const;
BOOL ShouldCreateBigTextObject() const;
- // Zum schnellen Vorab-Pruefen ohne View:
+ // For fast Pre-Test without view:
EESpellState HasSpellErrors();
BOOL HasText( const SvxSearchItem& rSearchItem );
@@ -427,7 +427,6 @@ public:
virtual void StyleSheetChanged( SfxStyleSheet* pStyle );
virtual void ParagraphHeightChanged( USHORT nPara );
- // #101498#
virtual void DrawingText(
const Point& rStartPos, const String& rText, USHORT nTextStart, USHORT nTextLen, const sal_Int32* pDXArray,
const SvxFont& rFont, USHORT nPara, xub_StrLen nIndex, BYTE nRightToLeft,
diff --git a/editeng/inc/editeng/editobj.hxx b/editeng/inc/editeng/editobj.hxx
index c995ea2..a4741bf 100644
--- a/editeng/inc/editeng/editobj.hxx
+++ b/editeng/inc/editeng/editobj.hxx
@@ -64,7 +64,7 @@ public:
USHORT Which() const { return nWhich; }
- virtual USHORT GetUserType() const; // Fuer OutlinerMode, der kann das aber nicht kompatibel speichern
+ virtual USHORT GetUserType() const; // For OutlinerMode, it can however not save in compatible format
virtual void SetUserType( USHORT n );
virtual ULONG GetObjectSettings() const;
@@ -75,7 +75,7 @@ public:
virtual USHORT GetScriptType() const;
- virtual USHORT GetVersion() const; // Solange der Outliner keine Recordlaenge speichert
+ virtual USHORT GetVersion() const; // As long as the outliner does not store any record length.
virtual EditTextObject* Clone() const = 0;
diff --git a/editeng/inc/editeng/editrids.hrc b/editeng/inc/editeng/editrids.hrc
index 528e8b1..00901b0 100644
--- a/editeng/inc/editeng/editrids.hrc
+++ b/editeng/inc/editeng/editrids.hrc
@@ -318,7 +318,7 @@
#define RID_SVXITEMS_SHADOW_BOTTOMLEFT (RID_EDIT_START + 232)
#define RID_SVXITEMS_SHADOW_BOTTOMRIGHT (RID_EDIT_START + 233)
-// Umrandungslinien
+// Border lines
#define RID_SINGLE_LINE0 (RID_EDIT_START + 234)
#define RID_SINGLE_LINE1 (RID_EDIT_START + 235)
#define RID_SINGLE_LINE2 (RID_EDIT_START + 236)
@@ -336,7 +336,7 @@
#define RID_DOUBLE_LINE9 (RID_EDIT_START + 248)
#define RID_DOUBLE_LINE10 (RID_EDIT_START + 249)
-// Metric-Texte
+// Metric-Text
#define RID_SVXITEMS_METRIC_MM (RID_EDIT_START + 250)
#define RID_SVXITEMS_METRIC_CM (RID_EDIT_START + 251)
#define RID_SVXITEMS_METRIC_INCH (RID_EDIT_START + 252)
diff --git a/editeng/inc/editeng/editstat.hxx b/editeng/inc/editeng/editstat.hxx
index 15de80a..2b56c06 100644
--- a/editeng/inc/editeng/editstat.hxx
+++ b/editeng/inc/editeng/editstat.hxx
@@ -32,43 +32,43 @@
#include <tools/string.hxx>
#include <i18npool/lang.h>
-#define EE_CNTRL_USECHARATTRIBS 0x00000001 // Verwendung harter ZeichenAttr.
-#define EE_CNTRL_USEPARAATTRIBS 0x00000002 // Verwendung von AbsatzAttr.
-#define EE_CNTRL_CRSRLEFTPARA 0x00000004 // Cursor ist in einen anderen Absatz gewandert
-#define EE_CNTRL_DOIDLEFORMAT 0x00000008 // Idle-Formatierung
+#define EE_CNTRL_USECHARATTRIBS 0x00000001 // Use of hard character attributes
+#define EE_CNTRL_USEPARAATTRIBS 0x00000002 // Using paragraph attributes.
+#define EE_CNTRL_CRSRLEFTPARA 0x00000004 // Cursor is moved to another paragraph
+#define EE_CNTRL_DOIDLEFORMAT 0x00000008 // Formatting idle
#define EE_CNTRL_PASTESPECIAL 0x00000010 // Allow PasteSpecial
-#define EE_CNTRL_AUTOINDENTING 0x00000020 // Automatisches einruecken
-#define EE_CNTRL_UNDOATTRIBS 0x00000040 // Undo fuer Attribute....
-#define EE_CNTRL_ONECHARPERLINE 0x00000080 // Ein Zeichen pro Zeile
-#define EE_CNTRL_NOCOLORS 0x00000100 // Engine: Keine Farben
-#define EE_CNTRL_OUTLINER 0x00000200 // Sonderbehandlung Outliner/Gliederungsmodus
-#define EE_CNTRL_OUTLINER2 0x00000400 // Sonderbehandlung Outliner/Seite
-#define EE_CNTRL_ALLOWBIGOBJS 0x00000800 // PortionInfo in Textobjekten
-#define EE_CNTRL_ONLINESPELLING 0x00001000 // Waehrend des editieren Spelling
-#define EE_CNTRL_STRETCHING 0x00002000 // Stretch-Modus
-#define EE_CNTRL_MARKFIELDS 0x00004000 // Felder farblich hinterlegen
+#define EE_CNTRL_AUTOINDENTING 0x00000020 // Automatic indenting
+#define EE_CNTRL_UNDOATTRIBS 0x00000040 // Undo for Attributes....
+#define EE_CNTRL_ONECHARPERLINE 0x00000080 // One character per line
+#define EE_CNTRL_NOCOLORS 0x00000100 // Engine: No Color
+#define EE_CNTRL_OUTLINER 0x00000200 // Special treatment Outliner/Outline mode
+#define EE_CNTRL_OUTLINER2 0x00000400 // Special treatment Outliner/Page
+#define EE_CNTRL_ALLOWBIGOBJS 0x00000800 // Portion info in text object
+#define EE_CNTRL_ONLINESPELLING 0x00001000 // During the edit Spelling
+#define EE_CNTRL_STRETCHING 0x00002000 // Stretch mode
+#define EE_CNTRL_MARKFIELDS 0x00004000 // Mark Fields with color
#define EE_CNTRL_URLSFXEXECUTE 0x00008000 // !!!OLD!!!: SFX-URL-Execute.
-#define EE_CNTRL_RESTOREFONT 0x00010000 // Font im OutDev restaurieren
-#define EE_CNTRL_RTFSTYLESHEETS 0x00020000 // Stylesheets bei Import verwenden
-//#define EE_CNTRL_NOREDLINES 0x00040000 // Keine RedLines bei OnlineSpellError /* removed #i91949 */
-#define EE_CNTRL_AUTOCORRECT 0x00080000 // AutoKorrektur
+#define EE_CNTRL_RESTOREFONT 0x00010000 // Restore Font in OutDev
+#define EE_CNTRL_RTFSTYLESHEETS 0x00020000 // Use Stylesheets when imported
+//#define EE_CNTRL_NOREDLINES 0x00040000 // No RedLines when OnlineSpellError /* removed #i91949 */
+#define EE_CNTRL_AUTOCORRECT 0x00080000 // AutoCorrect
#define EE_CNTRL_AUTOCOMPLETE 0x00100000 // AutoComplete
-#define EE_CNTRL_AUTOPAGESIZEX 0x00200000 // Papierbreite an Text anpassen
-#define EE_CNTRL_AUTOPAGESIZEY 0x00400000 // Papierhoehe an Text anpassen
+#define EE_CNTRL_AUTOPAGESIZEX 0x00200000 // Adjust paper width to Text
+#define EE_CNTRL_AUTOPAGESIZEY 0x00400000 // Adjust paper height to Text
#define EE_CNTRL_AUTOPAGESIZE (EE_CNTRL_AUTOPAGESIZEX|EE_CNTRL_AUTOPAGESIZEY)
-#define EE_CNTRL_TABINDENTING 0x00800000 // Einruecken mit Tab
-#define EE_CNTRL_FORMAT100 0x01000000 // Immer nach 100% formatieren
-#define EE_CNTRL_ULSPACESUMMATION 0x02000000 // MS Compat: SA und SB aufsummieren, nicht maximalwert
-#define EE_CNTRL_ULSPACEFIRSTPARA 0x04000000 // MS Compat: SB auch beim ersten Absatz auswerten
-
-#define EV_CNTRL_AUTOSCROLL 0x00000001 // Autom. Scrollen horiz.
-#define EV_CNTRL_BIGSCROLL 0x00000002 // Weiter Scrollen, als nur zum Cursor
-#define EV_CNTRL_ENABLEPASTE 0x00000004 // Paste erlauben
-#define EV_CNTRL_SINGLELINEPASTE 0x00000008 // View: Paste in Eingabezeile...
-#define EV_CNTRL_OVERWRITE 0x00000010 // Ueberschreibmodus
-#define EV_CNTRL_INVONEMORE 0x00000020 // Ein Pixel mehr invalidieren
-#define EV_CNTRL_AUTOSIZEX 0x00000040 // Automatisch an Textbreite anpassen
-#define EV_CNTRL_AUTOSIZEY 0x00000080 // Automatisch an Texthoehe anpassen
+#define EE_CNTRL_TABINDENTING 0x00800000 // Indent with tab
+#define EE_CNTRL_FORMAT100 0x01000000 // Always format to 100%
+#define EE_CNTRL_ULSPACESUMMATION 0x02000000 // MS Compat: sum SA and SB, not maximum value
+#define EE_CNTRL_ULSPACEFIRSTPARA 0x04000000 // MS Compat: evaluate also at the first paragraph
+
+#define EV_CNTRL_AUTOSCROLL 0x00000001 // Auto scrolling horizontally
+#define EV_CNTRL_BIGSCROLL 0x00000002 // Scroll further to the cursor
+#define EV_CNTRL_ENABLEPASTE 0x00000004 // Enable Paste
+#define EV_CNTRL_SINGLELINEPASTE 0x00000008 // View: Paste in input line ...
+#define EV_CNTRL_OVERWRITE 0x00000010 // Overwrite mode
+#define EV_CNTRL_INVONEMORE 0x00000020 // Invalidate one pixel more
+#define EV_CNTRL_AUTOSIZEX 0x00000040 // Automatically adapt to text width
+#define EV_CNTRL_AUTOSIZEY 0x00000080 // Automatically adapt to Text width
#define EV_CNTRL_AUTOSIZE (EV_CNTRL_AUTOSIZEX|EV_CNTRL_AUTOSIZEY)
#define EE_STAT_HSCROLL 0x00000001
@@ -81,12 +81,12 @@
#define EE_STAT_WRONGWORDCHANGED 0x00000080
// #define EE_STAT_MODIFIED 0x00000100
-// Nur fuer Update:
+// Only for Update:
#define EE_CNTRL_AUTOCENTER EE_CNTRL_AUTOPAGESIZE
#define EE_STAT_GROWY EE_STAT_TEXTHEIGHTCHANGED
/*
- EE_STAT_CRSRLEFTPARA zur Zeit bei Cursorbewegungen und Return.
+ EE_STAT_CRSRLEFTPARA at the time cursor movement and the enter.
*/
inline void SetFlags( ULONG& rBits, const ULONG nMask, bool bOn )
@@ -102,7 +102,7 @@ class EditStatus
protected:
ULONG nStatusBits;
ULONG nControlBits;
- USHORT nPrevPara; // fuer EE_STAT_CRSRLEFTPARA
+ USHORT nPrevPara; // for EE_STAT_CRSRLEFTPARA
public:
EditStatus() { nStatusBits = 0; nControlBits = 0; nPrevPara = 0xFFFF; }
diff --git a/editeng/inc/editeng/editview.hxx b/editeng/inc/editeng/editview.hxx
index 39756b5..e709630 100644
--- a/editeng/inc/editeng/editview.hxx
+++ b/editeng/inc/editeng/editview.hxx
@@ -25,7 +25,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-// MyEDITVIEW, wegen exportiertem EditView
+// MyEDITVIEW, due to exported EditView
#ifndef _MyEDITVIEW_HXX
#define _MyEDITVIEW_HXX
@@ -76,7 +76,7 @@ class EDITENG_DLLPUBLIC EditView
friend class ImpEditEngine;
friend class EditSelFunctionSet;
-public: // brauche ich fuer Undo
+public: // Needed for Undo
ImpEditView* GetImpEditView() const { return pImpEditView; }
ImpEditEngine* GetImpEditEngine() const;
@@ -126,13 +126,13 @@ public:
USHORT GetSelectedScriptType() const;
- // Position der VisArea im Ausgabefenster.
- // Eine Groessenaenderung betrifft auch die VisArea
+ // VisArea position of the Output window.
+ // A size change also affects the VisArea
void SetOutputArea( const Rectangle& rRec );
const Rectangle& GetOutputArea() const;
- // Dokumentposition.
- // Eine Groessenaenderung betrifft auch die VisArea
+ // Document position.
+ // A size change also affects the VisArea
void SetVisArea( const Rectangle& rRec );
const Rectangle& GetVisArea() const;
@@ -166,7 +166,7 @@ public:
void Undo();
void Redo();
- // speziell fuer Olli
+ // especially for Olli
USHORT GetParagraph( const Point& rMousePosPixel );
Point GetWindowPosTopLeft( USHORT nParagraph );
void MoveParagraphs( Range aParagraphs, USHORT nNewPos );
@@ -195,7 +195,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > GetTransferable();
- // An EditView, damit bei TRUE flackerfreies Update:
+ // An EditView, so that when TRUE the update will be free from flickering:
void SetEditEngineUpdateMode( BOOL bUpdate );
void ForceUpdate();
diff --git a/editeng/inc/editeng/eeitemid.hxx b/editeng/inc/editeng/eeitemid.hxx
index 3e28e0e..62b5a52 100644
--- a/editeng/inc/editeng/eeitemid.hxx
+++ b/editeng/inc/editeng/eeitemid.hxx
@@ -80,7 +80,7 @@
#undef ITEMID_BRUSH
#endif
-// Zeichenattribute....
+// Character Attributes....
#define ITEMID_FONT EE_CHAR_FONTINFO
#define ITEMID_POSTURE EE_CHAR_ITALIC
#define ITEMID_WEIGHT EE_CHAR_WEIGHT
@@ -105,7 +105,7 @@
#define ITEMID_EMPHASISMARK EE_CHAR_EMPHASISMARK
#define ITEMID_CHARRELIEF EE_CHAR_RELIEF
-// Absatzattribute
+// Paragraph Attributes
#define ITEMID_SCRIPTSPACE EE_PARA_ASIANCJKSPACING
#define ITEMID_ADJUST EE_PARA_JUST
#define ITEMID_LINESPACING EE_PARA_SBL
diff --git a/editeng/inc/editeng/emphitem.hxx b/editeng/inc/editeng/emphitem.hxx
index 2715f50..826c7c3 100644
--- a/editeng/inc/editeng/emphitem.hxx
+++ b/editeng/inc/editeng/emphitem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxEmphasisMarkItem ----------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Font-Betonung.
+ This item describes the Font emphasis.
*/
class EDITENG_DLLPUBLIC SvxEmphasisMarkItem : public SfxUInt16Item
@@ -55,7 +55,7 @@ public:
SvxEmphasisMarkItem( const FontEmphasisMark eVal /*= EMPHASISMARK_NONE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem + SfxEnumItem
+ // "pure virtual Methods" from SfxPoolItem + SfxEnumItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/editeng/inc/editeng/escpitem.hxx b/editeng/inc/editeng/escpitem.hxx
index f37f763..7c47268 100644
--- a/editeng/inc/editeng/escpitem.hxx
+++ b/editeng/inc/editeng/escpitem.hxx
@@ -43,14 +43,14 @@ namespace rtl
// class SvxEscapementItem -----------------------------------------------
#define DFLT_ESC_SUPER 33 // 1/3
-#define DFLT_ESC_SUB -33 // auch 1/3 fr"uher 8/100
+#define DFLT_ESC_SUB -33 // also 1/3 previously 8/100
#define DFLT_ESC_PROP 58
#define DFLT_ESC_AUTO_SUPER 101
#define DFLT_ESC_AUTO_SUB -101
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Schrift-Position.
+ This item describes the writing position.
*/
class EDITENG_DLLPUBLIC SvxEscapementItem : public SfxEnumItemInterface
@@ -66,7 +66,7 @@ public:
SvxEscapementItem( const short nEsc, const BYTE nProp,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/editeng/inc/editeng/fhgtitem.hxx b/editeng/inc/editeng/fhgtitem.hxx
index e4305a6..0496ceb 100644
--- a/editeng/inc/editeng/fhgtitem.hxx
+++ b/editeng/inc/editeng/fhgtitem.hxx
@@ -41,11 +41,11 @@ namespace rtl
// class SvxFontHeightItem -----------------------------------------------
-// Achtung: Twips-Werte
+// Warning: twips values
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Font-Hoehe.
+ This item describes the font height
*/
#define FONTHEIGHT_16_VERSION ((USHORT)0x0001)
@@ -62,7 +62,7 @@ public:
SvxFontHeightItem( const ULONG nSz /*= 240*/, const USHORT nPropHeight /*= 100*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
diff --git a/editeng/inc/editeng/flditem.hxx b/editeng/inc/editeng/flditem.hxx
index 6a680b0..94d47ae 100644
--- a/editeng/inc/editeng/flditem.hxx
+++ b/editeng/inc/editeng/flditem.hxx
@@ -58,7 +58,7 @@ public:
};
/*
-[Beschreibung]
+[Description]
In diesem Item wird ein Feld (SvxFieldData) gespeichert.
Das Feld gehoert dem Item.
Das Feld selbst wird durch eine Ableitung von SvxFieldData bestimmt. (RTTI)
@@ -88,13 +88,13 @@ public:
};
// =================================================================
-// Es folgen die Ableitungen von SvxFieldData...
+// The following are the derivatives of SvxFieldData ...
// =================================================================
#define SVX_DATEFIELD 2
#define SVX_URLFIELD 3
-#define SVX_PAGEFIELD 100 // Ex-Calc-Felder
+#define SVX_PAGEFIELD 100 // Ex-Calc Fields
#define SVX_PAGESFIELD 101
#define SVX_TIMEFIELD 102
#define SVX_FILEFIELD 103
@@ -106,19 +106,19 @@ public:
#define SVX_FOOTERFIELD 109
#define SVX_DATEFIMEFIELD 110
-#define SVX_USERFIELD 200 // Ab hier eigene Felder, nicht im SVX
+#define SVX_USERFIELD 200 // From here on own fields, not in the SVX
enum SvxDateType { SVXDATETYPE_FIX, SVXDATETYPE_VAR };
-enum SvxDateFormat { SVXDATEFORMAT_APPDEFAULT, // Wie in App eingestellt
- SVXDATEFORMAT_SYSTEM, // Wie im System eingestellt
+enum SvxDateFormat { SVXDATEFORMAT_APPDEFAULT, // Set as in App
+ SVXDATEFORMAT_SYSTEM, // Set as in System
SVXDATEFORMAT_STDSMALL,
SVXDATEFORMAT_STDBIG,
SVXDATEFORMAT_A, // 13.02.96
SVXDATEFORMAT_B, // 13.02.1996
SVXDATEFORMAT_C, // 13.Feb 1996
- SVXDATEFORMAT_D, // 13.Februar 1996
- SVXDATEFORMAT_E, // Die, 13.Februar 1996
- SVXDATEFORMAT_F // Dienstag, 13.Februar 1996
+ SVXDATEFORMAT_D, // 13.February 1996
+ SVXDATEFORMAT_E, // Tue, 13.February 1996
+ SVXDATEFORMAT_F // Tuesday, 13.February 1996
};
class EDITENG_DLLPUBLIC SvxDateField : public SvxFieldData
@@ -159,18 +159,18 @@ public:
};
-enum SvxURLFormat { SVXURLFORMAT_APPDEFAULT, // Wie in App eingestellt
- SVXURLFORMAT_URL, // URL darstellen
- SVXURLFORMAT_REPR // Repraesentation darstellen
+enum SvxURLFormat { SVXURLFORMAT_APPDEFAULT, // Set as in App
+ SVXURLFORMAT_URL, // Represent URL
+ SVXURLFORMAT_REPR // Constitute repraesentation
};
class EDITENG_DLLPUBLIC SvxURLField : public SvxFieldData
{
private:
SvxURLFormat eFormat;
- XubString aURL; // URL-Adresse
- XubString aRepresentation; // Was wird dargestellt
- XubString aTargetFrame; // In welchem Frame
+ XubString aURL; // URL-Address
+ XubString aRepresentation; // What is shown
+ XubString aTargetFrame; // In what Frame
public:
SV_DECL_PERSIST1( SvxURLField, SvxFieldData, SVX_URLFIELD )
@@ -247,8 +247,8 @@ public:
enum SvxTimeType { SVXTIMETYPE_FIX, SVXTIMETYPE_VAR };
-enum SvxTimeFormat { SVXTIMEFORMAT_APPDEFAULT, // Wie in App eingestellt
- SVXTIMEFORMAT_SYSTEM, // Wie im System eingestellt
+enum SvxTimeFormat { SVXTIMEFORMAT_APPDEFAULT, // Set as in App
+ SVXTIMEFORMAT_SYSTEM, // Set as in System
SVXTIMEFORMAT_STANDARD,
SVXTIMEFORMAT_24_HM, // 13:49
SVXTIMEFORMAT_24_HMS, // 13:49:38
@@ -300,10 +300,10 @@ public:
enum SvxFileType { SVXFILETYPE_FIX, SVXFILETYPE_VAR };
-enum SvxFileFormat { SVXFILEFORMAT_NAME_EXT, // Dateiname mit Extension
- SVXFILEFORMAT_FULLPATH, // vollstndiger Pfad
- SVXFILEFORMAT_PATH, // nur Pfad
- SVXFILEFORMAT_NAME // nur Dateiname
+enum SvxFileFormat { SVXFILEFORMAT_NAME_EXT, // File name with Extension
+ SVXFILEFORMAT_FULLPATH, // full path
+ SVXFILEFORMAT_PATH, // only path
+ SVXFILEFORMAT_NAME // only file name
};
@@ -339,10 +339,10 @@ public:
enum SvxAuthorType { SVXAUTHORTYPE_FIX, SVXAUTHORTYPE_VAR };
-enum SvxAuthorFormat { SVXAUTHORFORMAT_FULLNAME, // vollstndiger Name
- SVXAUTHORFORMAT_NAME, // nur Nachname
- SVXAUTHORFORMAT_FIRSTNAME, // nur Vorname
- SVXAUTHORFORMAT_SHORTNAME // Initialen
+enum SvxAuthorFormat { SVXAUTHORFORMAT_FULLNAME, // full name
+ SVXAUTHORFORMAT_NAME, // Only Last name
+ SVXAUTHORFORMAT_FIRSTNAME, // Only first name
+ SVXAUTHORFORMAT_SHORTNAME // Initials
};
class EDITENG_DLLPUBLIC SvxAuthorField : public SvxFieldData
diff --git a/editeng/inc/editeng/flstitem.hxx b/editeng/inc/editeng/flstitem.hxx
index b2d35dd..976a6ae 100644
--- a/editeng/inc/editeng/flstitem.hxx
+++ b/editeng/inc/editeng/flstitem.hxx
@@ -40,10 +40,10 @@
class FontList;
/*
- [Beschreibung]
+ [Description]
- Dieses Item dient als Transport-Medium fuer eine FontListe.
- Die Fontliste wird nicht kopiert und nicht geloescht!
+ This item serves as a transport medium for a font list. The font list is
+ not copied and not deleted!
*/
class EDITENG_DLLPUBLIC SvxFontListItem : public SfxPoolItem
diff --git a/editeng/inc/editeng/fontitem.hxx b/editeng/inc/editeng/fontitem.hxx
index c0ac85b..4d0a535 100644
--- a/editeng/inc/editeng/fontitem.hxx
+++ b/editeng/inc/editeng/fontitem.hxx
@@ -43,9 +43,9 @@ namespace rtl
// class SvxFontItem -----------------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt einen Font.
+/* [Description]
+
+ This item describes a Font.
*/
class EDITENG_DLLPUBLIC SvxFontItem : public SfxPoolItem
@@ -68,7 +68,7 @@ public:
const rtl_TextEncoding eFontTextEncoding /*= RTL_TEXTENCODING_DONTKNOW*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
@@ -81,7 +81,7 @@ public:
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- // ZugriffsMethoden:
+ // Access methods:
inline String &GetFamilyName() { return aFamilyName; }
inline const String &GetFamilyName() const { return aFamilyName; }
diff --git a/editeng/inc/editeng/fwdtitem.hxx b/editeng/inc/editeng/fwdtitem.hxx
index cbf4a70..296820d 100644
--- a/editeng/inc/editeng/fwdtitem.hxx
+++ b/editeng/inc/editeng/fwdtitem.hxx
@@ -37,9 +37,9 @@
// class SvxFontWidthItem -----------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Font-Breite.
+ This item describes the font width.
*/
class SvxFontWidthItem : public SfxPoolItem
@@ -53,7 +53,7 @@ public:
const USHORT nPropWidth /*= 100*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
diff --git a/editeng/inc/editeng/hyznitem.hxx b/editeng/inc/editeng/hyznitem.hxx
index f586b18..07bb874 100644
--- a/editeng/inc/editeng/hyznitem.hxx
+++ b/editeng/inc/editeng/hyznitem.hxx
@@ -41,10 +41,10 @@ namespace rtl
// class SvxHyphenZoneItem -----------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt ein Silbentrennungsattribut (Automatisch?, Anzahl der
-Zeichen am Zeilenende und -anfang).
+/* [Description]
+
+ This item describes a hyphenation attribute (automatic?, number of
+ characters at the end of the line and start).
*/
class EDITENG_DLLPUBLIC SvxHyphenZoneItem : public SfxPoolItem
@@ -63,7 +63,7 @@ public:
SvxHyphenZoneItem( const BOOL bHyph /*= FALSE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
diff --git a/editeng/inc/editeng/keepitem.hxx b/editeng/inc/editeng/keepitem.hxx
index b98aff4..2d942c6 100644
--- a/editeng/inc/editeng/keepitem.hxx
+++ b/editeng/inc/editeng/keepitem.hxx
@@ -40,9 +40,9 @@ namespace rtl
// class SvxFmtKeepItem ------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt eine logische Variable "Absaetze zusammenhalten?".
+/* [Description]
+
+ This item describes a logical variable "keep paragraphs together?".
*/
class EDITENG_DLLPUBLIC SvxFmtKeepItem : public SfxBoolItem
@@ -54,7 +54,7 @@ public:
const USHORT _nWhich );
inline SvxFmtKeepItem& operator=( const SvxFmtKeepItem& rSplit );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/kernitem.hxx b/editeng/inc/editeng/kernitem.hxx
index d646378..ba958cc 100644
--- a/editeng/inc/editeng/kernitem.hxx
+++ b/editeng/inc/editeng/kernitem.hxx
@@ -41,12 +41,12 @@ namespace rtl
// class SvxKerningItem --------------------------------------------------
-// Achtung: Twips-Werte
-// Twips: 0 = kein Kerning
+// Note: Twips value
+// Twips: 0 = no kerning
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Schrift-Laufweite.
+ This item describes the kerning.
*/
class EDITENG_DLLPUBLIC SvxKerningItem : public SfxInt16Item
@@ -56,7 +56,7 @@ public:
SvxKerningItem( const short nKern /*= 0*/, const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/langitem.hxx b/editeng/inc/editeng/langitem.hxx
index 4d4ddf2..5255e46 100644
--- a/editeng/inc/editeng/langitem.hxx
+++ b/editeng/inc/editeng/langitem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxLanguageItem -------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt eine Sprache.
+ This item describes a Language.
*/
class EDITENG_DLLPUBLIC SvxLanguageItem : public SfxEnumItem
@@ -55,7 +55,7 @@ public:
SvxLanguageItem( const LanguageType eLang /*= LANGUAGE_GERMAN*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/editeng/inc/editeng/lcolitem.hxx b/editeng/inc/editeng/lcolitem.hxx
index 00b116f..17b070d 100644
--- a/editeng/inc/editeng/lcolitem.hxx
+++ b/editeng/inc/editeng/lcolitem.hxx
@@ -34,7 +34,7 @@
#include <editeng/editengdllapi.h>
/*
- * dummy-Item fuer ToolBox-Controller:
+ * Dummy item for ToolBox controller:
*
*/
diff --git a/editeng/inc/editeng/lrspitem.hxx b/editeng/inc/editeng/lrspitem.hxx
index d0e0399..1b5a6c5 100644
--- a/editeng/inc/editeng/lrspitem.hxx
+++ b/editeng/inc/editeng/lrspitem.hxx
@@ -40,20 +40,19 @@ namespace rtl
// class SvxLRSpaceItem --------------------------------------------------
-/*
-[Beschreibung]
-Linker/Rechter Rand sowie Erstzeileneinzug
-
-SvxLRSpaceItem bietet zwei Schnittstellen zur Befragung des linken
-Randes und des Erstzeileneinzuges an. Die Get-Methoden liefern
-die Member zurueck, wie sie das Layout bisher auch erwartete:
-Der linke Rand verschiebt sich beim negativem Erstzeileneinzug
-nach links. Die SetTxt/GetTxt-Methoden setzen voraus, dass der
-linke Rand der 0-Punkt des Erstzeileneinzugs darstellt:
-
- UI UI LAYOUT UI/TEXT UI/TEXT (Wo?)
-SetTxtLeft SetTxtFirst GetLeft GetTxtLeft GetTxtFirst (Was?)
- 500 -500 0 500 -500 (Wieviel?)
+/* [Description]
+
+ Left/Right margin and first line indent
+
+ SvxLRSpaceItem offers two interfaces for views from the left margin and
+ first line indent. The get methods return the member, with the layout also
+ as expected: the left edge shifts to the negative first line indent to the
+ left. The SetTxt/Gettxt methods assume that the left side represents the
+ 0 coordinate for the first line indent:
+
+ UI UI LAYOUT UI/TEXT UI/TEXT (Where?)
+ SetTxtLeft SetTxtFirst GetLeft GetTxtLeft GetTxtFirst (What?)
+ 500 -500 0 500 -500 (How much?)
500 0 500 500 0
500 +500 500 500 +500
700 -500 200 700 -500
@@ -66,15 +65,15 @@ SetTxtLeft SetTxtFirst GetLeft GetTxtLeft GetTxtFirst (Was?)
class EDITENG_DLLPUBLIC SvxLRSpaceItem : public SfxPoolItem
{
- short nFirstLineOfst; // Erstzeileneinzug _immer_ relativ zu nTxtLeft
- long nTxtLeft; // wir spendieren einen USHORT
- long nLeftMargin; // nLeft oder der neg. Erstzeileneinzug
- long nRightMargin; // der unproblematische rechte Rand
+ short nFirstLineOfst; // First-line indent _always_ relative to nTxtLeft
+ long nTxtLeft; // We spend a USHORT
+ long nLeftMargin; // nLeft or the negative first-line indent
+ long nRightMargin; // The unproblematic right edge
USHORT nPropFirstLineOfst, nPropLeftMargin, nPropRightMargin;
- BOOL bAutoFirst : 1; // Automatische Berechnung der Erstzeileneinzugs
+ BOOL bAutoFirst : 1; // Automatic calculation of the first line indent
- void AdjustLeft(); // nLeftMargin und nTxtLeft werden angepasst.
+ void AdjustLeft(); // nLeftMargin and nTxtLeft are being adjusted.
public:
TYPEINFO();
@@ -85,7 +84,7 @@ public:
const USHORT nId );
inline SvxLRSpaceItem& operator=( const SvxLRSpaceItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
@@ -103,11 +102,11 @@ public:
virtual bool ScaleMetrics( long nMult, long nDiv );
virtual bool HasMetrics() const;
- // Die "Layout-Schnittstelle":
+ // The Layout Interface:
inline void SetLeft ( const long nL, const USHORT nProp = 100 );
inline void SetRight( const long nR, const USHORT nProp = 100 );
- // abfragen / direktes setzen der absoluten Werte
+ // Query/direct setting of the absolute values
inline long GetLeft() const { return nLeftMargin; }
inline long GetRight() const { return nRightMargin;}
inline void SetLeftValue( const long nL ) { nTxtLeft = nLeftMargin = nL; }
@@ -115,7 +114,7 @@ public:
inline BOOL IsAutoFirst() const { return bAutoFirst; }
inline void SetAutoFirst( const BOOL bNew ) { bAutoFirst = bNew; }
- // abfragen / setzen der Prozent-Werte
+ // Query/Setting the percentage values
inline void SetPropLeft( const USHORT nProp = 100 )
{ nPropLeftMargin = nProp; }
inline void SetPropRight( const USHORT nProp = 100 )
@@ -123,7 +122,7 @@ public:
inline USHORT GetPropLeft() const { return nPropLeftMargin; }
inline USHORT GetPropRight() const { return nPropRightMargin;}
- // Die "UI/Text-Schnittstelle":
+ // The UI/text interface:
inline void SetTxtLeft( const long nL, const USHORT nProp = 100 );
inline long GetTxtLeft() const { return nTxtLeft; }
diff --git a/editeng/inc/editeng/lspcitem.hxx b/editeng/inc/editeng/lspcitem.hxx
index edc631f..a5db017 100644
--- a/editeng/inc/editeng/lspcitem.hxx
+++ b/editeng/inc/editeng/lspcitem.hxx
@@ -42,9 +42,8 @@ namespace rtl
// class SvxLineSpacingItem ----------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt den Abstand zwischen den Zeilen.
+/* [Description]
+ This item describes the distance between the lines.
*/
#define LINE_SPACE_DEFAULT_HEIGHT 200
@@ -61,15 +60,14 @@ class EDITENG_DLLPUBLIC SvxLineSpacingItem : public SfxEnumItemInterface
public:
TYPEINFO();
- // Der Writer verlaesst sich auf eine Default-Hoehe von 200!
- // Eigentlich wuerde ich alle Werte mit 0 initialisieren, aber wer kann
- // die Folgen beim Writer absehen ?
- // => lieber einen krummen Wert als Default, aber der Programmierer
- // sieht, dass dort etwas besonderes passiert.
+ // The writer relies on a default height of 200! Actually, I would
+ // initialize all values to 0, but who can ignore the consequences in
+ // writer? => Rather have a crooked vales as the default, but the
+ // programmer sees that there's something special happening.
SvxLineSpacingItem( USHORT nHeight /*= LINE_SPACE_DEFAULT_HEIGHT*/, const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
@@ -83,8 +81,7 @@ public:
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
- // Methoden zum Abfragen und Aendern
- // Interlinespace wird zur Hoehe addiert.
+ // Methods to query and edit. InterlineSpace is added to the height.
inline short GetInterLineSpace() const { return nInterLineSpace; }
inline void SetInterLineSpace( const short nSpace )
{
@@ -92,7 +89,7 @@ public:
eInterLineSpace = SVX_INTER_LINE_SPACE_FIX;
}
- // Bestimmt absolute oder minimale Zeilenhoehe.
+ // Determines the absolute or minimum row height.
inline USHORT GetLineHeight() const { return nLineHeight; }
inline void SetLineHeight( const USHORT nHeight )
{
@@ -100,7 +97,7 @@ public:
eLineSpace = SVX_LINE_SPACE_MIN;
}
- // Vergroessert oder verkleinert die Zeilenhoehe.
+ // To increase or decrease the row height.
BYTE GetPropLineSpace() const { return nPropLineSpace; }
inline void SetPropLineSpace( const BYTE nProp )
{
diff --git a/editeng/inc/editeng/measfld.hxx b/editeng/inc/editeng/measfld.hxx
index 174f838..904d8bd 100644
--- a/editeng/inc/editeng/measfld.hxx
+++ b/editeng/inc/editeng/measfld.hxx
@@ -33,8 +33,8 @@
#ifndef _FLDITEM_HXX
#ifndef ITEMID_FIELD
-#include <editeng/editdata.hxx> /* das include wird wg. EE_FEATURE_FIELD benoetigt */
-#define ITEMID_FIELD EE_FEATURE_FIELD /* wird fuer #include <editeng/flditem.hxx> benoetigt */
+#include <editeng/editdata.hxx> /* this include is needed due to EE_FEATURE_FIELD */
+#define ITEMID_FIELD EE_FEATURE_FIELD /* is needed for #include <editeng/flditem.hxx> */
#endif
#include <editeng/flditem.hxx>
#endif
diff --git a/editeng/inc/editeng/nhypitem.hxx b/editeng/inc/editeng/nhypitem.hxx
index e515ee4..b5db3ed 100644
--- a/editeng/inc/editeng/nhypitem.hxx
+++ b/editeng/inc/editeng/nhypitem.hxx
@@ -42,7 +42,7 @@ public:
SvxNoHyphenItem( const BOOL bHyphen /*= TRUE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/nlbkitem.hxx b/editeng/inc/editeng/nlbkitem.hxx
index 4527097..00cb4a5 100644
--- a/editeng/inc/editeng/nlbkitem.hxx
+++ b/editeng/inc/editeng/nlbkitem.hxx
@@ -43,7 +43,7 @@ public:
SvxNoLinebreakItem( const BOOL bBreak /*= TRUE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/numdef.hxx b/editeng/inc/editeng/numdef.hxx
index 4e5b901..5d997c2 100644
--- a/editeng/inc/editeng/numdef.hxx
+++ b/editeng/inc/editeng/numdef.hxx
@@ -26,7 +26,7 @@
*
************************************************************************/
-#define SVX_MAX_NUM 10 // max. moegliche Numerierungsebenen
-#define SVX_DEF_BULLET (0xF000 + 149)// Charakter fuer Aufzaehlungen
+#define SVX_MAX_NUM 10 // max. possible numbering level
+#define SVX_DEF_BULLET (0xF000 + 149)// Character for lists
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx
index 7489f37..186ed8b 100644
--- a/editeng/inc/editeng/numitem.hxx
+++ b/editeng/inc/editeng/numitem.hxx
@@ -57,17 +57,17 @@ namespace com{namespace sun{ namespace star{
// -----------------------------------------------------------------------
//Feature-Flags (only USHORT!)
-#define NUM_CONTINUOUS 0x0001 // fortlaufende Numerierung moeglich?
-#define NUM_CHAR_TEXT_DISTANCE 0x0002 // Abstand Symbol<->Text?
-#define NUM_CHAR_STYLE 0x0004 // Zeichenvorlagen?
-#define NUM_BULLET_REL_SIZE 0x0008 // rel. Bulletgroesse?
+#define NUM_CONTINUOUS 0x0001 // consecutive numbers possible?
+#define NUM_CHAR_TEXT_DISTANCE 0x0002 // Distance Symbol<->Text?
+#define NUM_CHAR_STYLE 0x0004 // Character styles?
+#define NUM_BULLET_REL_SIZE 0x0008 // relative bullet size?
#define NUM_BULLET_COLOR 0x0010 // Bullet color
-#define NUM_SYMBOL_ALIGNMENT 0x0040 // alignment soll unter den Optionen angezeigt werden
-#define NUM_NO_NUMBERS 0x0080 // Numberierungen sind nicht erlaubt
+#define NUM_SYMBOL_ALIGNMENT 0x0040 // alignment to be shown in the options
+#define NUM_NO_NUMBERS 0x0080 // Numbering are not allowed
#define NUM_ENABLE_LINKED_BMP 0x0100 // linked bitmaps are available
#define NUM_ENABLE_EMBEDDED_BMP 0x0200 // embedded bitmaps are available
-#define SVX_NO_NUM 200 // Markierung fuer keine Numerierung
+#define SVX_NO_NUM 200 // Marker for no numbering
#define SVX_NO_NUMLEVEL 0x20
#define LINK_TOKEN 0x80 //indicate linked bitmaps - for use in dialog only
@@ -77,7 +77,7 @@ class EDITENG_DLLPUBLIC SvxNumberType
static com::sun::star::uno::Reference<com::sun::star::text::XNumberingFormatter> xFormatter;
sal_Int16 nNumType;
- sal_Bool bShowSymbol; // Symbol auch anzeigen?
+ sal_Bool bShowSymbol; // Also show Symbol ?
public:
SvxNumberType(sal_Int16 nType = com::sun::star::style::NumberingType::ARABIC);
@@ -122,12 +122,12 @@ private:
SvxAdjust eNumAdjust;
- BYTE nInclUpperLevels; //Nummern aus der vorigen Ebenen uebernehmen
- USHORT nStart; //Start der Zaehlung
+ BYTE nInclUpperLevels; // Take over numbers from the previous level.
+ USHORT nStart; // Start of counting
- sal_Unicode cBullet; //Symbol
- USHORT nBulletRelSize; //proz. Groesse des Bullets
- Color nBulletColor; //Bullet color
+ sal_Unicode cBullet; // Symbol
+ USHORT nBulletRelSize; // percentage size of bullets
+ Color nBulletColor; // Bullet color
// mode indicating, if the position and spacing of the list label is
// determined by the former attributes (nFirstLineOffset, nAbsLSpace,
@@ -140,10 +140,10 @@ private:
// LABEL_ALIGNMENT is active.
SvxNumPositionAndSpaceMode mePositionAndSpaceMode;
- short nFirstLineOffset; //Erstzeileneinzug
- short nAbsLSpace; //Abstand Rand<->Nummer
- short nLSpace; //relative Einrueckung zum Vorgaenger
- short nCharTextDistance; //Abstand Nummer<->Text
+ short nFirstLineOffset; // First line indent
+ short nAbsLSpace; // Distance Border<->Number
+ short nLSpace; // relative to the previous indentation
+ short nCharTextDistance; // Distance Number<->Text
// specifies what follows the list label before the text of the first line
// of the list item starts
@@ -155,13 +155,13 @@ private:
// specifies the indent before the text, e.g. in L2R-layout the left margin
long mnIndentAt;
- SvxBrushItem* pGraphicBrush; //
- sal_Int16 eVertOrient; // vert. Ausrichtung einer Bitmap
+ SvxBrushItem* pGraphicBrush;
+ sal_Int16 eVertOrient; // vertical alignment of a bitmap
- Size aGraphicSize; // immer! in 1/100 mm
- Font* pBulletFont; // Pointer auf den BulletFont
+ Size aGraphicSize; // Always! in 1/100 mm
+ Font* pBulletFont; // Pointer to the bullet font
- String sCharStyleName; // Zeichenvorlage
+ String sCharStyleName; // Character Style
BitmapEx* pScaledImageCache; // Image scaled to aGraphicSize, only cached for WINDOW/VDEV
@@ -248,13 +248,13 @@ enum SvxNumRuleType
class EDITENG_DLLPUBLIC SvxNumRule
{
- USHORT nLevelCount; // Anzahl der unterstuetzten Levels
- ULONG nFeatureFlags; // was wird unterstuetzt?
- SvxNumRuleType eNumberingType; // was fuer eine Numerierung
- BOOL bContinuousNumbering; // fortlaufende Numerierung
+ USHORT nLevelCount; // Number of supported levels
+ ULONG nFeatureFlags; // What is supported?
+ SvxNumRuleType eNumberingType; // Type of numbering
+ BOOL bContinuousNumbering; // sequential numbering
SvxNumberFormat* aFmts[SVX_MAX_NUM];
- BOOL aFmtsSet[SVX_MAX_NUM]; //Flags ueber Gueltigkeit der Ebenen
+ BOOL aFmtsSet[SVX_MAX_NUM]; // Flags indicating valid levels
static sal_Int32 nRefCount;
com::sun::star::lang::Locale aLocale;
@@ -324,10 +324,10 @@ public:
class SvxNodeNum
{
- USHORT nLevelVal[ SVX_MAX_NUM ]; // Nummern aller Levels
- USHORT nSetValue; // vorgegebene Nummer
- BYTE nMyLevel; // akt. Level
- BOOL bStartNum; // Numerierung neu starten
+ USHORT nLevelVal[ SVX_MAX_NUM ]; // Numbers of all levels
+ USHORT nSetValue; // predetermined number
+ BYTE nMyLevel; // Current Level
+ BOOL bStartNum; // Restart numbering
public:
inline SvxNodeNum( BYTE nLevel = SVX_NO_NUM, USHORT nSetVal = USHRT_MAX );
diff --git a/editeng/inc/editeng/opaqitem.hxx b/editeng/inc/editeng/opaqitem.hxx
index 1ba3648..204becb 100644
--- a/editeng/inc/editeng/opaqitem.hxx
+++ b/editeng/inc/editeng/opaqitem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxOpaqueItem ---------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt eine logische Variable "Undurchsichtig ja oder nein".
+/* [Description]
+
+ This item describes a logical variable "Opaque yes or no."
*/
class EDITENG_DLLPUBLIC SvxOpaqueItem : public SfxBoolItem
@@ -55,7 +55,7 @@ public:
SvxOpaqueItem( const USHORT nId , const BOOL bOpa = TRUE );
inline SvxOpaqueItem &operator=( const SvxOpaqueItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/orphitem.hxx b/editeng/inc/editeng/orphitem.hxx
index d975116..c6d7b57 100644
--- a/editeng/inc/editeng/orphitem.hxx
+++ b/editeng/inc/editeng/orphitem.hxx
@@ -41,9 +41,9 @@ namespace rtl
// class SvxOrphansItem --------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt die Anzahl der Zeilen fuer die Schusterjungenregelung.
+/* [Description]
+
+ This item describes the number of lines for the orphans system.
*/
class EDITENG_DLLPUBLIC SvxOrphansItem: public SfxByteItem
@@ -54,7 +54,7 @@ public:
SvxOrphansItem( const BYTE nL /*= 0*/, const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx
index bf8cce8..9264eec 100644
--- a/editeng/inc/editeng/outliner.hxx
+++ b/editeng/inc/editeng/outliner.hxx
@@ -45,7 +45,7 @@
#include <svtools/grfmgr.hxx>
-#include <tools/rtti.hxx> // wegen typedef TypeId
+#include <tools/rtti.hxx> // due to typedef TypeId
#include <vector>
class OutlinerEditEng;
@@ -100,7 +100,7 @@ typedef std::vector<SpellPortion> SpellPortions;
namespace basegfx { class B2DPolyPolygon; }
-// nur interner Gebrauch!
+// internal use only!
#define PARAFLAG_DROPTARGET 0x1000
#define PARAFLAG_DROPTARGET_EMPTY 0x2000
#define PARAFLAG_HOLDDEPTH 0x4000
@@ -218,8 +218,8 @@ private:
enum MouseTarget {
MouseText = 0,
MouseBullet = 1,
- MouseHypertext = 2, // ausserhalb OutputArea
- MouseOutside = 3, // ausserhalb OutputArea
+ MouseHypertext = 2, // Outside OutputArea
+ MouseOutside = 3, // Outside OutputArea
MouseDontKnow = 4
};
MouseTarget OLD_ePrevMouseTarget;
@@ -284,8 +284,7 @@ public:
List* CreateSelectionList();
- // gibt Anzahl selektierter Absaetze zurueck
- // MT 07/00: Who needs this?
+ // Retruns the number of selected paragraphs
ULONG Select( Paragraph* pParagraph,
BOOL bSelect=TRUE,
BOOL bWChilds=TRUE);
@@ -294,7 +293,7 @@ public:
void SelectRange( ULONG nFirst, USHORT nCount );
void SetAttribs( const SfxItemSet& );
void Indent( short nDiff );
- void AdjustDepth( short nDX ); // Spaeter gegeb Indent ersetzen!
+ void AdjustDepth( short nDX ); // Later replace with Indent!
BOOL AdjustHeight( long nDY );
void AdjustDepth( Paragraph* pPara, short nDX,
@@ -415,7 +414,6 @@ public:
const Color maOverlineColor;
const Color maTextLineColor;
- // #101498# BiDi level needs to be transported, too.
BYTE mnBiDiLevel;
bool mbFilled;
@@ -633,7 +631,7 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster
USHORT nOutlinerMode;
- BOOL bIsExpanding; // Nur in Expand/Collaps-Hdl gueltig, mal umstellen
+ BOOL bIsExpanding; // Only valid in Expand/Collaps-Hdl, reset
BOOL bFirstParaIsEmpty;
BOOL bBlockInsCallback;
BOOL bStrippingPortions;
@@ -813,9 +811,10 @@ public:
virtual long IndentingPagesHdl( OutlinerView* );
void SetIndentingPagesHdl(const Link& rLink){aIndentingPagesHdl=rLink;}
Link GetIndentingPagesHdl() const { return aIndentingPagesHdl; }
- // nur gueltig in den beiden oberen Handlern
+ // valid only in the two upper handlers
USHORT GetSelPageCount() const { return nDepthChangedHdlPrevDepth; }
- // nur gueltig in den beiden oberen Handlern
+
+ // valid only in the two upper handlers
ULONG GetFirstSelPage() const { return mnFirstSelPage; }
void SetCalcFieldValueHdl(const Link& rLink ) { aCalcFieldValueHdl= rLink; }
@@ -883,7 +882,6 @@ public:
void StripPortions();
- // #101498#
virtual void DrawingText(
const Point& rStartPos, const String& rText, USHORT nTextStart, USHORT nTextLen,
const sal_Int32* pDXArray, const SvxFont& rFont, USHORT nPara, xub_StrLen nIndex, BYTE nRightToLeft,
@@ -927,8 +925,8 @@ public:
void RemoveParaFlag( Paragraph* pPara, sal_uInt16 nFlag );
bool HasParaFlag( const Paragraph* pPara, sal_uInt16 nFlag ) const;
- // gibt ein Array mit den Bulletbreiten der n Einrueckebenen
- // zurueck. Letzter Wert muss -1 sein. Wird vom Outliner geloescht.
+ // Returns an array containing the widths of the Bullet Indentations
+ // Last value must be -1. Is deleted by the outliner.
Link GetWidthArrReqHdl() const{ return aWidthArrReqHdl; }
void SetWidthArrReqHdl(const Link& rLink){aWidthArrReqHdl=rLink; }
@@ -944,7 +942,7 @@ public:
USHORT GetLineLen( ULONG nParagraph, USHORT nLine ) const;
ULONG GetLineHeight( ULONG nParagraph, ULONG nLine = 0 );
- // nFormat muss ein Wert aus dem enum EETextFormat sein (wg.CLOOKS)
+ // nFormat must be a value from the enum EETextFormat (due to CLOOKS)
ULONG Read( SvStream& rInput, const String& rBaseURL, USHORT, SvKeyValueIterator* pHTTPHeaderAttrs = NULL );
SfxUndoManager& GetUndoManager();
@@ -953,7 +951,7 @@ public:
void QuickInsertField( const SvxFieldItem& rFld, const ESelection& rSel );
void QuickInsertLineBreak( const ESelection& rSel );
- // nur fuer EditEngine-Modus
+ // Only for EditEngine mode
void QuickInsertText( const String& rText, const ESelection& rSel );
void QuickDelete( const ESelection& rSel );
void QuickRemoveCharAttribs( USHORT nPara, USHORT nWhich = 0 );
@@ -1027,11 +1025,11 @@ public:
USHORT GetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; }
void StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc);
- //spell and return a sentence
+ // spell and return a sentence
bool SpellSentence(EditView& rEditView, ::svx::SpellPortions& rToFill, bool bIsGrammarChecking );
// put spell position to start of current sentence
void PutSpellingToSentenceStart( EditView& rEditView );
- //applies a changed sentence
+ // applies a changed sentence
void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck );
void EndSpelling();
diff --git a/editeng/inc/editeng/paragraphdata.hxx b/editeng/inc/editeng/paragraphdata.hxx
index b869a80..778dbde 100644
--- a/editeng/inc/editeng/paragraphdata.hxx
+++ b/editeng/inc/editeng/paragraphdata.hxx
@@ -33,10 +33,10 @@
#include <vector>
//////////////////////////////////////////////////////////////////////////////
-// MT 07/00: Only for internal use, oder some kind like hPara for the few
+// Only for internal use, oder some kind like hPara for the few
// functions where you need it outside ( eg. moving paragraphs... )
//
-// AW: Unfortunately NOT only local (formally in outliner.hxx), but also
+// Unfortunately NOT only local (formally in outliner.hxx), but also
// used in outlobj.hxx. Moved to own header
class ParagraphData
diff --git a/editeng/inc/editeng/pbinitem.hxx b/editeng/inc/editeng/pbinitem.hxx
index 6f217a1..67518bd 100644
--- a/editeng/inc/editeng/pbinitem.hxx
+++ b/editeng/inc/editeng/pbinitem.hxx
@@ -39,9 +39,9 @@
// class SvxPaperBinItem -------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die Auswahl eines Papierschachts des Drucker.
+ This item describes selecting a paper tray of the printer.
*/
class EDITENG_DLLPUBLIC SvxPaperBinItem : public SfxByteItem
@@ -53,7 +53,7 @@ public:
const BYTE nTray = PAPERBIN_PRINTER_SETTINGS );
inline SvxPaperBinItem &operator=( const SvxPaperBinItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream &, USHORT ) const;
virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/pgrditem.hxx b/editeng/inc/editeng/pgrditem.hxx
index 16877f5..46d2950 100644
--- a/editeng/inc/editeng/pgrditem.hxx
+++ b/editeng/inc/editeng/pgrditem.hxx
@@ -36,8 +36,8 @@
// class SvxParaGridItem -------------------------------------------------
-/*
- [Beschreibung]
+/* [Description]
+
Paragraph snap to grid
*/
@@ -49,7 +49,7 @@ public:
SvxParaGridItem( const BOOL bSnapToGrid /*= TRUE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual USHORT GetVersion( USHORT nFileVersion ) const;
diff --git a/editeng/inc/editeng/pmdlitem.hxx b/editeng/inc/editeng/pmdlitem.hxx
index a474e28..ec31066 100644
--- a/editeng/inc/editeng/pmdlitem.hxx
+++ b/editeng/inc/editeng/pmdlitem.hxx
@@ -35,9 +35,9 @@
// class SvxPageModelItem ------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item enthaelt einen Namen einer Seitenvorlage.
+/* [Description]
+
+ This item contains a name of a page template.
*/
class EDITENG_DLLPUBLIC SvxPageModelItem : public SfxStringItem
diff --git a/editeng/inc/editeng/postitem.hxx b/editeng/inc/editeng/postitem.hxx
index 2b0e863..2ba5365 100644
--- a/editeng/inc/editeng/postitem.hxx
+++ b/editeng/inc/editeng/postitem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxPostureItem --------------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt die Font-Stellung (Italic)
+/* [Description]
+
+ This item describes the font setting (Italic)
*/
class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem
@@ -55,7 +55,7 @@ public:
SvxPostureItem( const FontItalic ePost /*= ITALIC_NONE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem + SwEnumItem
+ // "pure virtual Methods" from SfxPoolItem + SwEnumItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/editeng/inc/editeng/prntitem.hxx b/editeng/inc/editeng/prntitem.hxx
index d05b935..e0ce99f 100644
--- a/editeng/inc/editeng/prntitem.hxx
+++ b/editeng/inc/editeng/prntitem.hxx
@@ -38,9 +38,9 @@
// class SvxPrintItem ----------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt eine logische Variable "Drucken ja oder nein".
+/* [Description]
+
+ This item describes a logical variable "Print yes or no".
*/
@@ -52,7 +52,7 @@ public:
SvxPrintItem( const USHORT nId , const BOOL bPrt = TRUE );
inline SvxPrintItem &operator=( const SvxPrintItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/protitem.hxx b/editeng/inc/editeng/protitem.hxx
index dec9414..95c9c6b 100644
--- a/editeng/inc/editeng/protitem.hxx
+++ b/editeng/inc/editeng/protitem.hxx
@@ -43,17 +43,16 @@ namespace rtl
// class SvxProtectItem --------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt, ob Inhalt, Groesse oder Position geschuetzt werden
-sollen.
+/* [Description]
+
+ This item describes, if content, size or position should be protected.
*/
class EDITENG_DLLPUBLIC SvxProtectItem : public SfxPoolItem
{
- BOOL bCntnt :1; //Inhalt geschuetzt
- BOOL bSize :1; //Groesse geschuetzt
- BOOL bPos :1; //Position geschuetzt
+ BOOL bCntnt :1; // Content protected
+ BOOL bSize :1; // Size protected
+ BOOL bPos :1; // Position protected
public:
TYPEINFO();
@@ -61,7 +60,7 @@ public:
inline SvxProtectItem( const USHORT nId );
inline SvxProtectItem &operator=( const SvxProtectItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
diff --git a/editeng/inc/editeng/prszitem.hxx b/editeng/inc/editeng/prszitem.hxx
index d0eec00..4effacc 100644
--- a/editeng/inc/editeng/prszitem.hxx
+++ b/editeng/inc/editeng/prszitem.hxx
@@ -35,9 +35,9 @@
// class SvxPropSizeItem -------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt die relative Schriftgroesse.
+ This item describes the relative Font Size.
*/
class EDITENG_DLLPUBLIC SvxPropSizeItem : public SfxUInt16Item
@@ -48,7 +48,7 @@ public:
SvxPropSizeItem( const USHORT nPercent /*= 100*/,
const USHORT nID );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/scriptspaceitem.hxx b/editeng/inc/editeng/scriptspaceitem.hxx
index a2c9b41..b2eb098 100644
--- a/editeng/inc/editeng/scriptspaceitem.hxx
+++ b/editeng/inc/editeng/scriptspaceitem.hxx
@@ -37,7 +37,7 @@
/* [Description]
- This item describe the scriptype of the selected text and is only
+ This item describe the script type of the selected text and is only
used for the user interface.
*/
diff --git a/editeng/inc/editeng/scripttypeitem.hxx b/editeng/inc/editeng/scripttypeitem.hxx
index 45d93ea..9989ff4 100644
--- a/editeng/inc/editeng/scripttypeitem.hxx
+++ b/editeng/inc/editeng/scripttypeitem.hxx
@@ -38,7 +38,7 @@
/* [Description]
- This item describe the scriptype of the selected text and is only
+ This item describes the script type of the selected text and is only
used for the user interface.
*/
diff --git a/editeng/inc/editeng/shaditem.hxx b/editeng/inc/editeng/shaditem.hxx
index 1ecaa39..6477d4c 100644
--- a/editeng/inc/editeng/shaditem.hxx
+++ b/editeng/inc/editeng/shaditem.hxx
@@ -42,9 +42,9 @@ namespace rtl
// class SvxShadowItem ---------------------------------------------------
-/* [Beschreibung]
+/* [Description]
- Dieses Item beschreibt ein Schattenattribut (Farbe, Breite, Lage).
+ This item describes the shadow attribute (color, width and position).
*/
#define SHADOW_TOP ((USHORT)0)
@@ -66,7 +66,7 @@ public:
inline SvxShadowItem& operator=( const SvxShadowItem& rFmtShadow );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
@@ -91,7 +91,7 @@ public:
void SetWidth( USHORT nNew ) { nWidth = nNew; }
void SetLocation( SvxShadowLocation eNew ) { eLocation = eNew; }
- //Breite des Schattens auf der jeweiligen Seite berechnen.
+ // Calculate width of the shadow on the page.
USHORT CalcShadowSpace( USHORT nShadow ) const;
virtual USHORT GetValueCount() const;
diff --git a/editeng/inc/editeng/shdditem.hxx b/editeng/inc/editeng/shdditem.hxx
index ec47d7e..1863ce4 100644
--- a/editeng/inc/editeng/shdditem.hxx
+++ b/editeng/inc/editeng/shdditem.hxx
@@ -41,9 +41,9 @@ namespace rtl
// class SvxShadowedItem -------------------------------------------------
-/*
- [Beschreibung]
- Dieses Item beschreibt, ob und wie schattiert ist.
+/* [Description]
+
+ This item describes, whether and how it is shaded.
*/
class EDITENG_DLLPUBLIC SvxShadowedItem : public SfxBoolItem
@@ -54,7 +54,7 @@ public:
SvxShadowedItem( const BOOL bShadowed /*= FALSE*/,
const USHORT nId );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
virtual SvStream& Store(SvStream &, USHORT nItemVersion) const;
diff --git a/editeng/inc/editeng/sizeitem.hxx b/editeng/inc/editeng/sizeitem.hxx
index a3b7180..3622086 100644
--- a/editeng/inc/editeng/sizeitem.hxx
+++ b/editeng/inc/editeng/sizeitem.hxx
@@ -36,9 +36,9 @@
// class SvxSizeItem -----------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt eine zweidimensionale Groesse (Size).
+/* [Description]
+
+ This item describes a two-dimensional size.
*/
class EDITENG_DLLPUBLIC SvxSizeItem : public SfxPoolItem
@@ -54,7 +54,7 @@ public:
inline SvxSizeItem& operator=( const SvxSizeItem &rCpy );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
diff --git a/editeng/inc/editeng/spltitem.hxx b/editeng/inc/editeng/spltitem.hxx
index 311f0e1..25cb62a 100644
--- a/editeng/inc/editeng/spltitem.hxx
+++ b/editeng/inc/editeng/spltitem.hxx
@@ -41,9 +41,9 @@ namespace rtl
// class SvxFmtSplitItem -------------------------------------------------
-/*
-[Beschreibung]
-Dieses Item beschreibt eine logische Variable "Absatz trennen ja oder nein".
+/* [Description]
+
+ This item describes a logical variable "split paragraph yes or no".
*/
class EDITENG_DLLPUBLIC SvxFmtSplitItem : public SfxBoolItem
@@ -56,7 +56,7 @@ public:
const USHORT nWh );
inline SvxFmtSplitItem& operator=( const SvxFmtSplitItem& rSplit );
- // "pure virtual Methoden" vom SfxPoolItem
+ // "pure virtual Methods" from SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;
diff --git a/editeng/inc/editeng/splwrap.hxx b/editeng/inc/editeng/splwrap.hxx
index 67d03a7..bc45535 100644
--- a/editeng/inc/editeng/splwrap.hxx
+++ b/editeng/inc/editeng/splwrap.hxx
@@ -50,7 +50,7 @@ class Window;
void EDITENG_DLLPUBLIC SvxPrepareAutoCorrect( String &rOldText, String &rNewText );
/*--------------------------------------------------------------------
- Beschreibung: Der SpellWrapper
+ Description: The SpellWrapper
--------------------------------------------------------------------*/
class EDITENG_DLLPUBLIC SvxSpellWrapper {
@@ -66,21 +66,21 @@ private:
::com::sun::star::linguistic2::XSpellChecker1 > xSpell;
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator > xHyph;
- sal_uInt16 nOldLang; // Sprache merken, nur bei Aenderung SetLanguage rufen
- sal_Bool bOtherCntnt : 1; // gesetzt => Sonderbereiche zunaechst pruefen
- sal_Bool bDialog : 1; // Ist pWin der Svx...Dialog?
- sal_Bool bHyphen : 1; // Trennen statt Spellen
- sal_Bool bAuto : 1; // Autokorrektur vorhanden?
- sal_Bool bReverse : 1; // Rueckwaerts Spellen
- sal_Bool bStartDone : 1; // Vorderen Teil bereits korrigiert
- sal_Bool bEndDone : 1; // Hinteren Teil bereits korrigiert
- sal_Bool bStartChk : 1; // Vorderen Teil pruefen
- sal_Bool bRevAllowed : 1; // Niemals rueckwaerts spellen
- sal_Bool bAllRight : 1; // falsche Woerter in geignetes Woerterbuch
- // aufnehmen und nicht den Dialog starten.
-
- EDITENG_DLLPRIVATE sal_Bool SpellNext(); // naechsten Bereich anwaehlen
- sal_Bool FindSpellError(); // Suche nach Fehlern ( ueber Bereiche hinweg )
+ sal_uInt16 nOldLang; // Set Language, only call SetLanguage on changes
+ sal_Bool bOtherCntnt : 1; // set => Check special sections initially
+ sal_Bool bDialog : 1; // Is pWin the Svx...Dialog?
+ sal_Bool bHyphen : 1; // Split instead of spell checking
+ sal_Bool bAuto : 1; // AutoCorrect available?
+ sal_Bool bReverse : 1; // Reverse spell check
+ sal_Bool bStartDone : 1; // Beginning already corrected
+ sal_Bool bEndDone : 1; // End part already corrected
+ sal_Bool bStartChk : 1; // Examine the beginning
+ sal_Bool bRevAllowed : 1; // Reverse spell check prohibited
+ sal_Bool bAllRight : 1; // Record wrong words in the dedicated
+ // dictionary and do not start the dialog.
+
+ EDITENG_DLLPRIVATE sal_Bool SpellNext(); // select next area
+ sal_Bool FindSpellError(); // Check for errors (over areas)
public:
SvxSpellWrapper( Window* pWn,
@@ -106,12 +106,12 @@ public:
static void ShowLanguageErrors();
- void SpellDocument(); // Rechtschreibpruefung durchfuehren
+ void SpellDocument(); // Perform Spell Checking
inline sal_Bool IsStartDone(){ return bStartDone; }
inline sal_Bool IsEndDone(){ return bEndDone; }
inline sal_Bool IsReverse(){ return bReverse; }
inline sal_Bool IsDialog(){ return bDialog; } // SvxSpellCheckDialog OnScreen
- inline sal_Bool IsHyphen(){ return bHyphen; } // Trennen statt Spellen
+ inline sal_Bool IsHyphen(){ return bHyphen; } // Split instead of Spell check
inline void SetHyphen( const sal_Bool bNew = sal_True ){ bHyphen = bNew; }
inline ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XSpellChecker1 >
@@ -121,10 +121,10 @@ public:
GetXHyphenator() { return xHyph; }
inline sal_Bool IsAllRight() { return bAllRight; }
inline Window* GetWin() { return pWin; }
- // kann evtl entfallen in ONE_LINGU:
+ // can possibly be omitted in ONE_LINGU:
inline void SetOldLang( const sal_uInt16 nNew ){ nOldLang = nNew; }
- // kann evtl entfallen in ONE_LINGU:
- inline void ChangeLanguage( const sal_uInt16 nNew ) // rufe ggf. SetLanguage
+ // can possibly be omitted in ONE_LINGU:
+ inline void ChangeLanguage( const sal_uInt16 nNew ) // call SetLanguage if needed.
{ if ( nNew != nOldLang ) { SetLanguage( nNew ); nOldLang = nNew; } }
inline void EnableAutoCorrect() { bAuto = sal_True; }
@@ -135,26 +135,26 @@ protected:
void SetLast(const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > &xNewLast)
{ xLast = xNewLast; }
- virtual sal_Bool SpellMore(); // weitere Dokumente pruefen?
- virtual sal_Bool HasOtherCnt(); // gibt es ueberhaupt Sonderbereiche
- virtual void SpellStart( SvxSpellArea eSpell ); // Bereich vorbereiten
- virtual sal_Bool SpellContinue(); // Bereich pruefen
- // Ergebnis mit GetLast verfuegbar
- virtual void ReplaceAll( const String &rNewText, sal_Int16 nLanguage ); // Wort aus Replace-Liste ersetzen
- virtual void StartThesaurus( const String &rWord, sal_uInt16 nLang ); // Thesaurus starten
+ virtual sal_Bool SpellMore(); // examine further documents?
+ virtual sal_Bool HasOtherCnt(); // Are there any special areas?
+ virtual void SpellStart( SvxSpellArea eSpell ); // Preparing the area
+ virtual sal_Bool SpellContinue(); // Check Areas
+ // Result avaliable through GetLast
+ virtual void ReplaceAll( const String &rNewText, sal_Int16 nLanguage ); //Replace word from the replace list
+ virtual void StartThesaurus( const String &rWord, sal_uInt16 nLang );
virtual ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionary >
GetAllRightDic() const;
- virtual void SpellEnd(); // Bereich abschliessen
- virtual void ScrollArea(); // ScrollArea einstellen
- // Wort ersetzen
+ virtual void SpellEnd(); // Finish area
+ virtual void ScrollArea(); // Set ScrollArea
+ // Replace word
virtual void ChangeWord( const String& rNewWord, const sal_uInt16 nLang );
virtual String GetThesWord();
// Wort via Thesaurus ersetzen
virtual void ChangeThesWord( const String& rNewWord );
- virtual void SetLanguage( const sal_uInt16 nLang ); // Sprache aendern
+ virtual void SetLanguage( const sal_uInt16 nLang ); // Change Language
virtual void AutoCorrect( const String& rAktStr, const String& rNewStr );
- virtual void InsertHyphen( const sal_uInt16 nPos ); // Hyphen einfuegen
+ virtual void InsertHyphen( const sal_uInt16 nPos ); // Insert hyphen
};
diff --git a/editeng/inc/editeng/svxacorr.hxx b/editeng/inc/editeng/svxacorr.hxx
index fe8b7ca..c884e38 100644
--- a/editeng/inc/editeng/svxacorr.hxx
+++ b/editeng/inc/editeng/svxacorr.hxx
@@ -50,29 +50,29 @@ class SotStorageRef;
class SotStorage;
class Window;
-// Flags fuer die AutoKorrekt-Flags
-const long CptlSttSntnc = 0x00000001; // Gross-Buchstaben am SatzAnfang
-const long CptlSttWrd = 0x00000002; // keine 2 Gr.-Buchst. am WordAnfang
+// Auto correct flags
+const long CptlSttSntnc = 0x00000001; // Capital letters at the beginning of a sentence
+const long CptlSttWrd = 0x00000002; // not two Capital letters at the beginning of a word
const long AddNonBrkSpace = 0x00000004; // Add non breaking space before :;?!
const long ChgOrdinalNumber = 0x00000008; // Ordinal-Number 1st, 2nd,..
const long ChgToEnEmDash = 0x00000010; // - -> Endash/Emdash
-const long ChgWeightUnderl = 0x00000020; // * -> Fett, _ -> unterstreichen
-const long SetINetAttr = 0x00000040; // INetAttribut setzen
-const long Autocorrect = 0x00000080; // Autokorrektur aufrufen
-const long ChgQuotes = 0x00000100; // doppelte Quotes ersetzen
-const long SaveWordCplSttLst= 0x00000200; // GrB. am SatzAnf. auto. aufnehmen
-const long SaveWordWrdSttLst= 0x00000400; // 2 GrB. am WortAnf. auto. aufnehmen
-const long IgnoreDoubleSpace= 0x00000800; // 2 Spaces ignorieren
-const long ChgSglQuotes = 0x00001000; // einfache Quotes ersetzen
+const long ChgWeightUnderl = 0x00000020; // * -> Bold, _ -> Underscore
+const long SetINetAttr = 0x00000040; // Set INetAttribut
+const long Autocorrect = 0x00000080; // Call AutoCorrect
+const long ChgQuotes = 0x00000100; // replace double quotes
+const long SaveWordCplSttLst= 0x00000200; // Save Auto correction of Capital letter at beginning of sentence.
+const long SaveWordWrdSttLst= 0x00000400; // Save Auto correction of 2 Capital letter at beginning of word.
+const long IgnoreDoubleSpace= 0x00000800; // Ignore 2 Spaces
+const long ChgSglQuotes = 0x00001000; // Replace simple quotes
const long CorrectCapsLock = 0x00002000; // Correct accidental use of cAPS LOCK key
-const long ChgWordLstLoad = 0x20000000; // Ersetzungsliste geladen
-const long CplSttLstLoad = 0x40000000; // Exceptionlist fuer CplStart geladen
-const long WrdSttLstLoad = 0x80000000; // Exceptionlist fuer WordStart geladen
+const long ChgWordLstLoad = 0x20000000; // Replacement list loaded
+const long CplSttLstLoad = 0x40000000; // Exception list for Capital letters Start loaded
+const long WrdSttLstLoad = 0x80000000; // Exception list for Word Start loaded
// TODO: handle unicodes > U+FFFF and check users of this class
-// nur eine Mappingklasse
+// only a mapping class
class EDITENG_DLLPUBLIC SvxAutoCorrDoc
{
public:
@@ -88,28 +88,26 @@ public:
virtual BOOL SetINetAttr( xub_StrLen nStt, xub_StrLen nEnd, const String& rURL ) = 0;
- // returne den Text eines vorherigen Absatzes.
- // Dieser darf nicht leer sein!
- // Gibt es diesen nicht oder gibt es davor nur Leere, dann returne 0
- // Das Flag gibt an:
- // TRUE: den, vor der normalen Einfuegeposition (TRUE)
- // FALSE: den, in den das korrigierte Wort eingfuegt wurde.
- // (Muss nicht der gleiche Absatz sein!!!!)
+ // Return the text of a previous paragraph. This must not be empty!
+ // If no paragraph exits or just an empty one, then return 0.
+ // The flag indicates:
+ // TRUE: before the normal insertion position (TRUE)
+ // FALSE: in which the corrected word was inserted.
+ // (Does not to have to be the same paragraph !!!!)
virtual const String* GetPrevPara( BOOL bAtNormalPos ) = 0;
virtual BOOL ChgAutoCorrWord( xub_StrLen& rSttPos, xub_StrLen nEndPos,
SvxAutoCorrect& rACorrect,
const String** ppPara ) = 0;
- // wird nach dem austauschen der Zeichen von den Funktionen
+ // Is called after the change of the signs by the functions
// - FnCptlSttWrd
// - FnCptlSttSntnc
- // gerufen. Dann koennen die Worte ggfs. in die Ausnahmelisten
- // aufgenommen werden.
+ // As an option, the words can then be inserted into the exception lists.
virtual void SaveCpltSttWord( ULONG nFlag, xub_StrLen nPos,
const String& rExceptWord,
sal_Unicode cChar );
- // welche Sprache gilt an der Position?
+ // which language at the position?
virtual LanguageType GetLanguage( xub_StrLen nPos, BOOL bPrevPara = FALSE ) const;
};
@@ -117,7 +115,7 @@ public:
class EDITENG_DLLPUBLIC SvxAutocorrWord
{
String sShort, sLong;
- BOOL bIsTxtOnly; // ist reiner ASCII - Text
+ BOOL bIsTxtOnly; // Is pure ASCII - Text
public:
SvxAutocorrWord( const String& rS, const String& rL, BOOL bFlag = TRUE )
: sShort( rS ), sLong( rL ), bIsTxtOnly( bFlag )
@@ -134,11 +132,11 @@ SV_DECL_PTRARR_SORT_DEL_VISIBILITY( SvxAutocorrWordList, SvxAutocorrWordPtr, 10,
class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
{
String sShareAutoCorrFile, sUserAutoCorrFile;
- // falls die AutoCorr Datei neuer ist
+ // If the AutoCorr file is newer
Date aModifiedDate;
Time aModifiedTime, aLastCheckTime;
- LanguageType eLanguage; //LANGUAGE_DONTKNOW fuer alle Sprachen verwenden
+ LanguageType eLanguage; //LANGUAGE_DONTKNOW use for all languages
SvStringsISortDtor* pCplStt_ExcptLst;
SvStringsISortDtor* pWrdStt_ExcptLst;
SvxAutocorrWordList* pAutocorr_List;
@@ -166,35 +164,35 @@ public:
LanguageType eLang);
~SvxAutoCorrectLanguageLists();
- // Lade, Setze, Gebe - die Ersetzungsliste
+ // Load, Set, Get - the replacement list
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list