Hi!
I translated some comment lines from german to english & removed some
redundant ones. The patch is attached.
Hope it is of use to you guys.
Cheers,
Daniel
From 3abb2d6d8febd6c6d9df977d805d02a3208b8038 Mon Sep 17 00:00:00 2001
From: Daniel Di Marco <d.dimarco@gmx.de>
Date: Mon, 15 Nov 2010 23:37:49 +0100
Subject: [PATCH] translated some comments from german -> english
---
sw/inc/authfld.hxx | 4 +-
sw/inc/bparr.hxx | 46 +++---
sw/inc/calbck.hxx | 83 ++++----
sw/inc/calc.hxx | 26 +--
sw/inc/cellatr.hxx | 10 +-
sw/inc/cellfml.hxx | 29 ++--
sw/inc/charatr.hxx | 12 +-
sw/inc/charfmt.hxx | 2 +-
sw/inc/chpfld.hxx | 19 +--
sw/inc/chrdlg.hrc | 2 +-
sw/inc/cmdid.h | 533 +++++++++++++++++++++++++--------------------------
sw/inc/crsrsh.hxx | 281 +++++++++++++---------------
sw/inc/crstate.hxx | 55 +++---
sw/inc/iodetect.hxx | 30 ++--
14 files changed, 538 insertions(+), 594 deletions(-)
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index e9f12b8..78163c5 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -36,7 +36,6 @@
#include <svl/svstdarr.hxx>
class SwAuthDataArr;
-
class SwAuthEntry
{
String aAuthFields[AUTH_FIELD_END];
@@ -54,7 +53,6 @@ public:
void RemoveRef() { --nRefCount; }
USHORT GetRefCount() { return nRefCount; }
};
-
struct SwTOXSortKey
{
ToxAuthorityField eField;
@@ -178,7 +176,7 @@ public:
virtual String GetDescription() const;
};
-// inlines
+// --- inlines -----------------------------------------------------------
inline const String& SwAuthEntry::GetAuthorField(ToxAuthorityField ePos)const
{
DBG_ASSERT(AUTH_FIELD_END > ePos, "wrong index");
diff --git a/sw/inc/bparr.hxx b/sw/inc/bparr.hxx
index b3d8359..c895342 100644
--- a/sw/inc/bparr.hxx
+++ b/sw/inc/bparr.hxx
@@ -58,37 +58,37 @@ typedef BOOL (*FnForEach)( const ElementPtr&, void* pArgs );
#define MAXENTRY 1000
-// Anzahl Eintraege, die bei der Kompression frei bleiben duerfen
-// dieser Wert ist fuer den Worst Case, da wir MAXBLOCK mit ca 25%
-// Overhead definiert haben, reichen 80% = 800 Eintraege vollkommen aus
-// Will mann voellige Kompression haben, muss eben 100 angegeben werden.
-
+// number of entries that may remain free during compression
+// this value is for the worst case; because we defined MAXBLOCK with ca 25%
+// overhead, 80% = 800 entries are enough
+// if complete compression is desired, 100 has to be specified
#define COMPRESSLVL 80
-struct BlockInfo { // Block-Info:
- BigPtrArray* pBigArr; // in diesem Array steht der Block
- ElementPtr* pData; // Datenblock
- ULONG nStart, nEnd; // Start- und EndIndex
- USHORT nElem; // Anzahl Elemente
+struct BlockInfo { // block info:
+ BigPtrArray* pBigArr; // in this array the block is located
+ ElementPtr* pData; // data block
+ ULONG nStart, nEnd; // start- and end index
+ USHORT nElem; // number of elements
};
class SW_DLLPUBLIC BigPtrArray
{
- BlockInfo** ppInf; // Block-Infos
- ULONG nSize; // Anzahl Elemente
- USHORT nMaxBlock; // akt. max Anzahl Bloecke
- USHORT nBlock; // Anzahl Bloecke
- USHORT nCur; // letzter Block
+ BlockInfo** ppInf; // block info
+ ULONG nSize; // number of elements
+ USHORT nMaxBlock; // current max. number of blocks
+ USHORT nBlock; // number of blocks
+ USHORT nCur; // last block
- USHORT Index2Block( ULONG ) const; // Blocksuche
- BlockInfo* InsBlock( USHORT ); // Block einfuegen
- void BlockDel( USHORT ); // es wurden Bloecke geloescht
- void UpdIndex( USHORT ); // Indexe neu berechnen
+ USHORT Index2Block( ULONG ) const; // block search
+ BlockInfo* InsBlock( USHORT ); // insert block
+ void BlockDel( USHORT ); // some blocks were deleted
+ void UpdIndex( USHORT ); // recalculate indices
protected:
- // fuelle alle Bloecke auf.
- // Der short gibt in Prozent an, wie voll die Bloecke werden sollen.
- // Der ReturnWert besagt, das irgendetwas "getan" wurde
+ // fill all blocks
+ // the short parameter specifies in percent, how full the blocks should be
+ // made
+ // the return value specifies that something was done
USHORT Compress( short = COMPRESSLVL );
public:
@@ -114,7 +114,7 @@ public:
inline ULONG BigPtrEntry::GetPos() const
{
- DBG_ASSERT( this == pBlock->pData[ nOffset ], "Element nicht im Block" );
+ DBG_ASSERT( this == pBlock->pData[ nOffset ], "element not in the block" );
return pBlock->nStart + nOffset;
}
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index eafec04..979fb08 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -27,23 +27,19 @@
************************************************************************/
/*************************************************************
-#* Service-Klassen
+#* service classes
*************************************************************/
/*
-#* Aendert sich ein Attribut in einem Format, so muss diese
-#* Aenderung an alle abhaengigen Formate und ueber sie an
-#* alle betroffenen Nodes propagiert werden. Dabei muss
-#* festgestellt werden, ob die Aenderung einen Effekt haben
-#* kann, oder ob das geaenderte Attribut von dem abhaengigen
-#* Format ueberdefiniert wird (so dass ohnehin der
-#* Attributwert des abhaengigen Formates den geaenderten
-#* Wert verdeckt). Weiterhin kann der betroffene Node
-#* feststellen, ob er von dem geaenderten Attribut Gebrauch
-#* macht (Beispiel: Linienabstand fuer Unterstreichung wurde
-#* geaendert, das Attribut Unterstreichung wurde aber nicht
-#* verwendet). So wird bei Aenderungen der minimale Aufwand
-#* zum Reformatieren erkannt.
+ * When an attribute in a format is changed, this change has to be propagated
+ * to all dependent formats and over them to all concerned nodes.
+ * In doing so it has to be decided whether the change can have an effect or
+ * whether the dependent format redefines the changed attribute (such that the
+ * attribute value of the dependent format occludes the changed value).
+ * Furthermore, the concerned node can decide whether it makes use of the
+ * changed attribute (for example: line distance for underlining was changed,
+ * but the underlining attribute was not used). This way, the minimal effort
+ * for reformatting is identified.
*/
#ifndef _CALBCK_HXX
#define _CALBCK_HXX
@@ -65,15 +61,17 @@ class SW_DLLPUBLIC SwClient
friend class SwModify;
friend class SwClientIter;
- SwClient *pLeft, *pRight; // for the AVL-Sorting
- BOOL bModifyLocked : 1; // wird in SwModify::Modify benutzt,
- // eigentlich ein Member des SwModify
- // aber aus Platzgruenden hier.
- BOOL bInModify : 1; // ist in einem Modify. (Debug!!!)
- BOOL bInDocDTOR : 1; // Doc wird zerstoert, nicht "abmelden"
- BOOL bInCache : 1; // Ist im BorderAttrCache des Layout,
- // Traegt sich dann im Modify aus!
- BOOL bInSwFntCache : 1; // Ist im SwFont-Cache der Formatierung
+ SwClient *pLeft, *pRight; // for AVL sorting
+ BOOL bModifyLocked : 1; // used in SwModify::Modify,
+ // is really a member of SwModify
+ // but here for lack of space
+
+ BOOL bInModify : 1; // is in a modify. (Debug!!!)
+ BOOL bInDocDTOR : 1; // Doc gets destroyed,
+ // do not "unsubscribe"
+ BOOL bInCache : 1; // is in BorderAttrCache of the layout,
+ // unsubscribes itself then in Modify!
+ BOOL bInSwFntCache : 1; // is in SwFont cache of the formatting
protected:
SwModify *pRegisteredIn;
@@ -88,9 +86,8 @@ public:
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);
const SwModify* GetRegisteredIn() const { return pRegisteredIn; }
- //rtti, abgeleitete moegens gleichtun oder nicht. Wenn sie es gleichtun
- //kann ueber die Abhaengigkeitsliste eines Modify typsicher gecastet
- //werden.
+ //rtti, derived classes may do likewise or not. When they do, it can be
+ //casted typesafely via the dependency list of a Modify
TYPEINFO();
void LockModify() { bModifyLocked = TRUE; }
@@ -119,7 +116,7 @@ inline SwClient::SwClient() :
// SwModify
// ----------
-// Klasse hat eine doppelt Verkette Liste fuer die Abhaengigen.
+// class has a doubly linked list for dependencies
class SW_DLLPUBLIC SwModify: public SwClient
{
@@ -170,9 +167,9 @@ protected:
// ----------
/*
- * Sehr sinnvolle Klasse, wenn ein Objekt von mehreren Objekten
- * abhaengig ist. Diese sollte fuer jede Abhaengigkeit ein Objekt
- * der Klasse SwDepend als Member haben.
+ * Very useful class when an object depends on multiple objects.
+ * This should have an object of the class SwDepend as member for each
+ * dependency.
*/
class SW_DLLPUBLIC SwDepend: public SwClient
{
@@ -197,18 +194,18 @@ private:
class SwClientIter
{
- friend SwClient* SwModify::_Remove(SwClient *); // fuer Ptr-Korrektur
- friend void SwModify::Add(SwClient *); // nur fuer ASSERT !
+ friend SwClient* SwModify::_Remove(SwClient *); // for ptr correction
+ friend void SwModify::Add(SwClient *); // only for ASSERT !
SwModify const& rRoot;
SwClient *pAkt, *pDelNext;
- // fuers Updaten der aller Iteratoren beim Einfuegen/Loeschen von
- // Clients, wenn der Iterator gerade draufsteht.
+ // for updating of all iterators when inserting/deleting clients, while the
+ // iterator points on it
SwClientIter *pNxtIter;
SwClient* mpWatchClient; // if set, SwModify::_Remove checks if this client is removed
- TypeId aSrchId; // fuer First/Next - suche diesen Type
+ TypeId aSrchId; // for First/Next - look for this type
public:
SW_DLLPUBLIC SwClientIter( SwModify const& );
@@ -217,16 +214,16 @@ public:
const SwModify& GetModify() const { return rRoot; }
#ifndef CFRONT
- SwClient* operator++(int); // zum Naechsten
- SwClient* operator--(int); // zum Vorherigen
+ SwClient* operator++(int);
+ SwClient* operator--(int);
#endif
- SwClient* operator++(); // zum Naechsten
- SwClient* operator--(); // zum Vorherigen
+ SwClient* operator++();
+ SwClient* operator--();
- SwClient* GoStart(); // zum Anfang
- SwClient* GoEnd(); // zum Ende
+ SwClient* GoStart();
+ SwClient* GoEnd();
- inline SwClient* GoRoot(); // wieder ab Root (==Start) anfangen
+ inline SwClient* GoRoot(); // restart from root
SwClient* operator()() const
{ return pDelNext == pAkt ? pAkt : pDelNext; }
@@ -240,7 +237,7 @@ public:
void SetWatchClient( SwClient* pWatch ) { mpWatchClient = pWatch; }
};
-inline SwClient* SwClientIter::GoRoot() // wieder ab Root anfangen
+inline SwClient* SwClientIter::GoRoot()
{
pAkt = rRoot.pRoot;
return (pDelNext = pAkt);
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index 1e1efce..ddae0b8 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -41,7 +41,7 @@ class LocaleDataWrapper;
class SwFieldType;
class SwDoc;
-#define TBLSZ 47 // sollte Primzahl sein, wegen HashTable
+#define TBLSZ 47 // should be a prime, because of hash table
const sal_Unicode cListDelim = '|';
@@ -107,22 +107,20 @@ extern const sal_Char __FAR_DATA sCalc_Date[];
enum SwCalcError
{
CALC_NOERR=0,
- CALC_SYNTAX, // Syntax Fehler
- CALC_ZERODIV, // Division durch Null
- CALC_BRACK, // Fehlerhafte Klammerung
- CALC_POWERR, // Ueberlauf in Quadratfunktion
- CALC_VARNFND, // Variable wurde nicht gefunden
- CALC_OVERFLOW, // Ueberlauf
- CALC_WRONGTIME // falsches Zeitformat
+ CALC_SYNTAX, // syntax error
+ CALC_ZERODIV, // division by zero
+ CALC_BRACK, // faulty brackets
+ CALC_POWERR, // overflow in power function
+ CALC_VARNFND, // variable was not found
+ CALC_OVERFLOW, // overflow
+ CALC_WRONGTIME // wrong time format
};
class SwSbxValue : public SbxValue
{
bool bVoid;
public:
- // immer auf eine Zahl defaulten, damit auch gerechnet wird.
- // Ansonsten wird daraus ein SbxEMPTY und damit ist nichts
- // anzufangen.
+ // always default to a number. otherwise it will become a SbxEMPTY
SwSbxValue( long n = 0 ) : bVoid(false) { PutLong( n ); }
SwSbxValue( const double& rD ) : bVoid(false) { PutDouble( rD ); }
SwSbxValue( const SwSbxValue& rVal ) :
@@ -133,9 +131,7 @@ public:
virtual ~SwSbxValue();
- // Strings sonderbehandeln
BOOL GetBool() const;
- // Strings sonderbehandeln BOOLs sonderbehandeln
double GetDouble() const;
SwSbxValue& MakeDouble();
@@ -144,7 +140,7 @@ public:
};
/******************************************************************************
- * Calculate HashTables fuer VarTable und Operations
+ * Calculate HashTables for VarTable und Operations
******************************************************************************/
struct SwHash
{
@@ -168,7 +164,7 @@ SwHash* Find( const String& rSrch, SwHash** ppTable,
void DeleteHashTable( SwHash** ppTable, USHORT nTblSize );
-// falls _CalcOp != 0, dann ist das ein gueltiger Operator
+// if _CalcOp != 0, this is a valid operator
struct _CalcOp;
_CalcOp* FindOperator( const String& rSearch );
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index 36bb710..82b0b85 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -37,7 +37,7 @@
class SW_DLLPUBLIC SwTblBoxNumFormat : public SfxUInt32Item
{
- BOOL bAuto; // automatisch vergebenes Flag
+ BOOL bAuto; // automatically given flag
public:
SwTblBoxNumFormat( UINT32 nFormat = NUMBERFORMAT_TEXT,
BOOL bAuto = FALSE );
@@ -59,8 +59,8 @@ public:
class SwTblBoxFormula : public SfxPoolItem, public SwTableFormula
{
- SwModify* pDefinedIn; // Modify-Object, in dem die Formel steht
- // kann nur TablenBoxFormat sein
+ SwModify* pDefinedIn; // Modify object where the formula is located
+ // can only be TableBoxFormat
public:
SwTblBoxFormula( const String& rFormula );
@@ -69,11 +69,9 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- // erfrage und setze den Modify-Pointer
inline const SwModify* GetDefinedIn() const { return pDefinedIn; }
inline void ChgDefinedIn( const SwModify* pNew )
{ pDefinedIn = (SwModify*)pNew; }
- // suche den Node, in dem die Formel steht:
// BoxAttribut -> BoxStartNode
virtual const SwNode* GetNodeOfFormula() const;
@@ -81,9 +79,7 @@ public:
const SwTableBox* GetTableBox() const
{ return ((SwTblBoxFormula*)this)->GetTableBox(); }
- // Status aendern
void ChangeState( const SfxPoolItem* pItem );
- // berechne die Formel
void Calc( SwTblCalcPara& rCalcPara, double& rValue );
};
diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx
index a5968b9..6828f93 100644
--- a/sw/inc/cellfml.hxx
+++ b/sw/inc/cellfml.hxx
@@ -47,9 +47,9 @@ class SwTblCalcPara
USHORT nStackCnt, nMaxSize;
public:
- SwTableSortBoxes *pBoxStk; // Stack fuers erkennen von Rekursionen !
- SwCalc& rCalc; // akt. Calculator
- const SwTable* pTbl; // akt. Tabelle
+ SwTableSortBoxes *pBoxStk; // stack for recognizing recursion
+ SwCalc& rCalc; // current Calculator
+ const SwTable* pTbl; // current table
SwTblCalcPara( SwCalc& rCalculator, const SwTable& rTable );
~SwTblCalcPara();
@@ -97,14 +97,14 @@ typedef void (SwTableFormula:: *FnScanFormel)( const SwTable&, String&,
protected:
enum NameType { EXTRNL_NAME, INTRNL_NAME, REL_NAME };
- String sFormel; // akt. Formel
- NameType eNmType; // akt. Darstellungs Art
- bool bValidValue; // TRUE: Formel neu berechnen
+ String sFormel; // current formula
+ NameType eNmType; // current display method
+ bool bValidValue; // TRUE: recalculate formula
- // suche den Node, in dem die Formel steht:
+ // find the node in which the formula is located
// TextFeld -> TextNode,
// BoxAttribut -> BoxStartNode
- // !!! MUSS VON JEDER ABLEITUNG UEBERLADEN WERDEN !!!
+ // !!! has to be overloaded by every derivation !!!
virtual const SwNode* GetNodeOfFormula() const = 0;
SwTableFormula( const String& rFormel );
@@ -129,21 +129,18 @@ public:
return *this;
}
- // erzeuge aus der internen (fuer CORE) die externe (fuer UI) Formel
+ // create from the internal formula (for CORE) the external formula (for UI)
void PtrToBoxNm( const SwTable* pTbl );
- // erzeuge aus der externen (fuer UI) die interne (fuer CORE) Formel
+ // create from the external formula the internal
void BoxNmToPtr( const SwTable* pTbl );
- // erzeuge aus der externen/internen Formel die relative Formel
+ // create from the external/internal formula the relative formula
void ToRelBoxNm( const SwTable* pTbl );
- // wird vorm/nach dem mergen/splitten von Tabellen rerufen
+ // gets called before/after merging/splitting of tables
void ToSplitMergeBoxNm( SwTableFmlUpdate& rTblUpd );
- // ist gerade eine intern Darstellung aktiv
bool IsIntrnlName() const { return eNmType == INTRNL_NAME; }
- // erfrage die akt. Darstellung der Formel
NameType GetNameType() const { return eNmType; }
- // erfrage/setze das Flag, ob der akt. Wert gueltig ist
bool IsValid() const { return bValidValue; }
inline void ChgValid( bool bNew ) { bValidValue = bNew; }
@@ -156,7 +153,7 @@ public:
}
USHORT GetBoxesOfFormula( const SwTable& rTbl, SwSelBoxes& rBoxes );
- // sind alle Boxen gueltig, auf die sich die Formel bezieht?
+ // are all boxes valid which this formula relies on?
bool HasValidBoxes() const;
};
diff --git a/sw/inc/charatr.hxx b/sw/inc/charatr.hxx
index 6315c57..8d84246 100644
--- a/sw/inc/charatr.hxx
+++ b/sw/inc/charatr.hxx
@@ -29,13 +29,10 @@
#define _CHARATR_HXX
#include <format.hxx>
-#include <hintids.hxx> // fuer die WhichIds
+#include <hintids.hxx>
-/******************************************************************************
- * Implementierung der Charakter-Attribut Methoden vom SwAttrSet
- * AMA 12.10.94: Umstellung auf SvxItems.
- ******************************************************************************/
+// implementation of the character attribute methods of SwAttrSet
inline const SvxPostureItem &SwAttrSet::GetPosture(BOOL bInP) const
{ return (const SvxPostureItem&)Get( RES_CHRATR_POSTURE,bInP); }
@@ -112,10 +109,7 @@ inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( BOOL bInP ) const
inline const SvxCharHiddenItem &SwAttrSet::GetCharHidden( BOOL bInP ) const
{ return (const SvxCharHiddenItem&)Get( RES_CHRATR_HIDDEN, bInP ); }
-/******************************************************************************
- * Implementierung der Charakter-Attribut Methoden vom SwFmt
- * Umstellung auf SvxItems.
- ******************************************************************************/
+// implementation of the character attribute methods of SwFmt
inline const SvxPostureItem &SwFmt::GetPosture(BOOL bInP) const
{ return aSet.GetPosture(bInP); }
diff --git a/sw/inc/charfmt.hxx b/sw/inc/charfmt.hxx
index 0eba12b..8c78ee6 100644
--- a/sw/inc/charfmt.hxx
+++ b/sw/inc/charfmt.hxx
@@ -46,7 +46,7 @@ class SwCharFmt : public SwFmt
public:
- TYPEINFO(); //Bereits in Basisklasse Client drin.
+ TYPEINFO(); // already in base class Client
};
namespace CharFmt
diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx
index ad753be..b997b81 100644
--- a/sw/inc/chpfld.hxx
+++ b/sw/inc/chpfld.hxx
@@ -39,18 +39,14 @@ class SwTxtNode;
enum SwChapterFormat
{
CF_BEGIN,
- CF_NUMBER = CF_BEGIN, // nur die Kapitelnummer
- CF_TITLE, // nur die "Ueberschrift"
- CF_NUM_TITLE, // Kapitelnummer und "Ueberschrift"
- CF_NUMBER_NOPREPST, // nur die Kapitelnummer ohne Post/Prefix
- CF_NUM_NOPREPST_TITLE, // Kapitelnummer ohne Post/Prefix und "Ueberschrift"
+ CF_NUMBER = CF_BEGIN, // only the chapter number
+ CF_TITLE, // only the title
+ CF_NUM_TITLE, // number and title
+ CF_NUMBER_NOPREPST, // only chapter number without post-/prefix
+ CF_NUM_NOPREPST_TITLE, // chapter number without post-/prefix and title
CF_END
};
-/*--------------------------------------------------------------------
- Beschreibung: Kapitel
- --------------------------------------------------------------------*/
-
class SwChapterFieldType : public SwFieldType
{
public:
@@ -60,11 +56,6 @@ public:
};
-
-
-/*--------------------------------------------------------------------
- Beschreibung: Kapitelnummer
- --------------------------------------------------------------------*/
class SW_DLLPUBLIC SwChapterField : public SwField
{
friend class SwChapterFieldType;
diff --git a/sw/inc/chrdlg.hrc b/sw/inc/chrdlg.hrc
index 7669287..b83fe31 100644
--- a/sw/inc/chrdlg.hrc
+++ b/sw/inc/chrdlg.hrc
@@ -51,7 +51,7 @@
#define CHRDLG_ACT_END DLG_DRAWPARA
#if CHRDLG_ACT_END > RC_CHRDLG_END
-#error Resource-Id Ueberlauf in #file, #line
+#error Resource-Id overflow in #file, #line
#endif
#define DLG_SWDROPCAPS (RC_CHRDLG_BEGIN + 11)
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index a08ad1e..4056066 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -86,7 +86,7 @@ included in c-context files, so c++ style stuff will cause problems.
Region: File
--------------------------------------------------------------------*/
#define FN_CLOSE_FILE (FN_FILE + 1 ) /* Close */
-#define FN_LAUNCH_REGISTRY (FN_FILE + 2 ) /* Ablage */
+#define FN_LAUNCH_REGISTRY (FN_FILE + 2 ) /* Registry */
#define FN_NEW_GLOBAL_DOC (FN_FILE + 4 ) /* Create Global Document */
#define FN_NEW_FILE (FN_FILE + 5 ) /* New */
@@ -167,8 +167,8 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_NUM_BULLET_OFF (FN_EDIT + 37) /* turn off numbering */
#endif
-#define FN_NUM_BULLET_OUTLINE_DOWN (FN_EDIT + 39) /* Runterstufen mit Unterpunkten */
-#define FN_NUM_BULLET_OUTLINE_UP (FN_EDIT + 40) /* Raufstufen mit Unterpunkten */
+#define FN_NUM_BULLET_OUTLINE_DOWN (FN_EDIT + 39) /* reduce in rank with sub points */
+#define FN_NUM_BULLET_OUTLINE_UP (FN_EDIT + 40) /* increase in rank with sub-items
*/
#define FN_NUM_BULLET_OUTLINE_MOVEUP (FN_EDIT + 41) /* Push up with sub-items */
#define FN_NUM_BULLET_OUTLINE_MOVEDOWN (FN_EDIT + 42) /* Push down with sub-items */
#define FN_UPDATE_INPUTFIELDS (FN_EDIT + 43) /* Update input fields */
@@ -190,7 +190,7 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_EDIT_FOOTNOTE (FN_EDIT + 62) /* Edit footnote */
#define FN_EDIT_REGION (FN_EDIT + 65) /* Edit region */
-#define FN_GOTO_REFERENCE (FN_EDIT + 66) /* Von der Refmark zur Referenz */
+#define FN_GOTO_REFERENCE (FN_EDIT + 66) /* From Refmark to the reference */
// already defined in SVX
#define FN_NEXT_BOOKMARK (FN_EDIT + 68) /* */
@@ -270,11 +270,11 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_VIEW_FIELDNAME (FN_VIEW + 26) /* View field names */
#define FN_VIEW_TABLEGRID (FN_VIEW + 27) /* View tablegrid */
-#define FN_SET_PAGE (FN_VIEW + 29) /* Seitenvorlage am Absatz setzen */
+#define FN_SET_PAGE (FN_VIEW + 29) /* Set page template to paragraph */
#define FN_TOOLBOX_SWITCH (FN_VIEW + 30) /* Shell switch to text */
-//noch mehr Navigator
+// more Navigator
#define FN_CONTENT_LB (FN_VIEW + 32) /**/
#define FN_SHOW_CONTENT_BOX (FN_VIEW + 33) /**/
#define FN_SHOW_ROOT (FN_VIEW + 34) /**/
@@ -287,7 +287,7 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_DROP_REGION_COPY (FN_VIEW + 39) /**/
#define FN_SCROLL_NAVIGATION (FN_VIEW + 40) /* Navigation Controller in the scrollbar */
-#define FN_SCROLL_NEXT_PREV (FN_VIEW + 41) /* arbeitet den MoveType ab */
+#define FN_SCROLL_NEXT_PREV (FN_VIEW + 41) /* processes MoveType */
#define FN_VIEW_HIDDEN_PARA (FN_VIEW + 42) /* View hidden paragraphs */
#define FN_VIEW_SMOOTH_SCROLL (FN_VIEW + 43)
@@ -296,9 +296,9 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_GLOBAL_EDIT (FN_VIEW + 45) /* edit */
#define FN_GLOBAL_UPDATE (FN_VIEW + 46) /* update */
#define FN_GLOBAL_OPEN (FN_VIEW + 47) /* open */
-#define FN_GLOBAL_SAVE_CONTENT (FN_VIEW + 48) /* Inhalt der Verknuepfung mitspeichern */
-#define FN_CREATE_NAVIGATION (FN_VIEW + 49) /* Navigations-Controller erzeugen */
-#define FN_PREVIEW_ZOOM (FN_VIEW + 51) /* der Tabellencontroller fuer den Zoom */
+#define FN_GLOBAL_SAVE_CONTENT (FN_VIEW + 48) /* save content of link */
+#define FN_CREATE_NAVIGATION (FN_VIEW + 49) /* create Navigations-Controller */
+#define FN_PREVIEW_ZOOM (FN_VIEW + 51) /* create table controller for zoom */
#define FN_SET_MODOPT_TBLNUMFMT (FN_VIEW + 52) /* Number recognition in tables */
#define FN_HSCROLL_METRIC (FN_VIEW + 53) /* Metric horizontal scrollbar */
@@ -325,64 +325,64 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_INSERT_HYPERLINK (FN_INSERT + 14) /* Character dialogue / hyperlink page */
-#define FN_INSERT_INDEX (FN_INSERT + 16) /* Stichworteintrag */
-#define FN_INSERT_INDEX_DLG (FN_INSERT + 17) /* Stichworteintrag */
+#define FN_INSERT_INDEX (FN_INSERT + 16) /* Index entry */
+#define FN_INSERT_INDEX_DLG (FN_INSERT + 17) /* Index entry */
#define FN_INSERT_LINEBREAK (FN_INSERT + 18) /* Newline */
-#define FN_INSERT_FIELD_DATA_ONLY (FN_INSERT + 19) /* field dialog for mail merge*/
+#define FN_INSERT_FIELD_DATA_ONLY (FN_INSERT + 19) /* Field dialog for mail merge*/
#define FN_INSERT_OBJECT (FN_INSERT + 21) /* Object */
#define FN_INSERT_OBJECT_DLG (FN_INSERT + 22) /* Object */
-#define FN_INSERT_PAGEBREAK (FN_INSERT + 23) /* Seitenumbruch */
+#define FN_INSERT_PAGEBREAK (FN_INSERT + 23) /* Page break*/
#define FN_INSERT_PAGENO (FN_INSERT + 24) /* Page Number */
#define FN_INSERT_PARAGRAPH (FN_INSERT + 25) /* Paragraph */
-#define FN_INSERT_RECORD (FN_INSERT + 26) /* Datensatz einfuegen */
-#define FN_MERGE_RECORD (FN_INSERT + 27) /* Datensatz mischen */
+#define FN_INSERT_RECORD (FN_INSERT + 26) /* Insert record */
+#define FN_MERGE_RECORD (FN_INSERT + 27) /* Merge record */
#define FN_INSERT_SYMBOL (FN_INSERT + 28) /* Special characters */
-#define FN_POSTIT (FN_INSERT + 29) /* PostIt
einfuegen/bearbeiten */
+#define FN_POSTIT (FN_INSERT + 29) /* Insert/edit PostIt */
#define FN_INSERT_TABLE (FN_INSERT + 30) /* Insert Table */
#define FN_INSERT_STRING (FN_INSERT+31)
#define FN_INSERT_COLS (FN_INSERT + 32) /* Insert Columns */
#define FN_INSERT_FRAME_INTERACT (FN_INSERT + 33) /* Insert interactive frame */
#define FN_INSERT_FRAME (FN_INSERT + 34) /* Insert Frame */
-#define FN_INSERT_IDX_ENTRY_DLG (FN_INSERT + 35) /* Verzeichniseintrag einfuegen */
+#define FN_INSERT_IDX_ENTRY_DLG (FN_INSERT + 35) /* insert index entry */
#define FN_INSERT_FRAME_INTERACT_NOCOL (FN_INSERT + 36) /*insert interactive non column frame*/
#define FN_TOOL_GROUP (FN_INSERT + 47) /* Group objects */
#define FN_TOOL_UNGROUP (FN_INSERT + 48) /* Remove Grouping */
#define FN_TOOL_ANKER (FN_INSERT + 49) /* Draw Anchor for object */
-#define FN_TOOL_ANKER_PAGE (FN_INSERT + 50) /* Draw-Objekt an Seite verankern */
-#define FN_TOOL_ANKER_PARAGRAPH (FN_INSERT + 51) /* Draw-Objekt am Absatz verankern */
-#define FN_TOOL_HIERARCHIE (FN_INSERT + 52) /* Hierarchie aendern */
+#define FN_TOOL_ANKER_PAGE (FN_INSERT + 50) /* anchor Draw object to page */
+#define FN_TOOL_ANKER_PARAGRAPH (FN_INSERT + 51) /* anchor Draw object to paragraph */
+#define FN_TOOL_HIERARCHIE (FN_INSERT + 52) /* change hierarchy */
#define FN_MAILMERGE_WIZARD (FN_INSERT + 64) /* mail merge wizard */
-#define FN_QRY_OPEN_TABLE (FN_INSERT + 65) /* Datenbank oeffnen (Basic) */
-#define FN_TOOL_ANKER_FRAME (FN_INSERT + 66) /* Draw-Objekt am Rahmen verankern
*/
-#define FN_QRY_MERGE (FN_INSERT + 67) /* Datensatz einfuegen (Serienbrief) */
+#define FN_QRY_OPEN_TABLE (FN_INSERT + 65) /* open database (Basic) */
+#define FN_TOOL_ANKER_FRAME (FN_INSERT + 66) /* anchor Draw-Object to frame*/
+#define FN_QRY_MERGE (FN_INSERT + 67) /* insert record (serial letter) */
#define FN_MAILMERGE_CHILDWINDOW (FN_INSERT + 68) /* back-to-mail-merge-wizard child window*/
-#define FN_INSERT_SMA (FN_INSERT + 69) /* Einfuegen StarMath */
+#define FN_INSERT_SMA (FN_INSERT + 69) /* insert StarMath */
-#define FN_QRY_GET_COLUMN_NAME (FN_INSERT + 70) /* Anzahl der Spalten (Basic) */
-#define FN_QRY_GET_COLUMN_TYPE (FN_INSERT + 71) /* Type des Datenbankfeldes ermitteln
(Basic) */
-#define FN_QRY_GET_COLUMN_TEXT (FN_INSERT + 72) /* Inhalt des aktuellen Datensatzes (Basic)
*/
-#define FN_QRY_DEL_DEFINED_DB (FN_INSERT + 75) /* Datenbankdefinition loeschen (Basic) */
+#define FN_QRY_GET_COLUMN_NAME (FN_INSERT + 70) /* number of columns (Basic) */
+#define FN_QRY_GET_COLUMN_TYPE (FN_INSERT + 71) /* retrieve type of database field (Basic)
*/
+#define FN_QRY_GET_COLUMN_TEXT (FN_INSERT + 72) /* content of current record (Basic) */
+#define FN_QRY_DEL_DEFINED_DB (FN_INSERT + 75) /* delete database definition */
-#define FN_DRAWTEXT_ATTR_DLG (FN_INSERT + 76) /* DrawText positionieren */
+#define FN_DRAWTEXT_ATTR_DLG (FN_INSERT + 76) /* position DrawText */
-#define FN_QRY_APPEND_RECORD (FN_INSERT + 77) /* Neuen Datensatz anhaengen */
-#define FN_QRY_UPDATE_RECORD (FN_INSERT + 78) /* Datensatzspalte aendern */
-#define FN_QRY_DELETE_RECORD (FN_INSERT + 79) /* Datensatz loeschen */
-#define FN_QRY_GET_PHYS_RECORD_ID (FN_INSERT + 80) /* Physikalische (absolute) Datensatznummer
erfragen (Basic) */
+#define FN_QRY_APPEND_RECORD (FN_INSERT + 77) /* append new record */
+#define FN_QRY_UPDATE_RECORD (FN_INSERT + 78) /* change record row */
+#define FN_QRY_DELETE_RECORD (FN_INSERT + 79) /* delete record */
+#define FN_QRY_GET_PHYS_RECORD_ID (FN_INSERT + 80) /* get physical (absolute) record number
(Basic) */
-#define FN_TOOL_ANKER_CHAR (FN_INSERT + 84) /* DrawObject zeichengebunden */
+#define FN_TOOL_ANKER_CHAR (FN_INSERT + 84) /* anchor Draw object to charater */
-#define FN_QRY_INSERT (FN_INSERT + 86) /* Datensatz-Selektion in Text
einfuegen */
-#define FN_QRY_MERGE_FIELD (FN_INSERT + 87) /* Datensatz-Selektion in Felder
einfuegen */
-#define FN_QRY_INSERT_FIELD (FN_INSERT + 88) /* Datenbankfeld einfuegen */
+#define FN_QRY_INSERT (FN_INSERT + 86) /* insert record selection in to
text */
+#define FN_QRY_MERGE_FIELD (FN_INSERT + 87) /* insert record selection into
fields */
+#define FN_QRY_INSERT_FIELD (FN_INSERT + 88) /* insert database field */
-#define FN_INSERT_CTRL (FN_INSERT + 89) /* Werkzeugleistencontroller Einfuegen*/
-#define FN_INSERT_OBJ_CTRL (FN_INSERT + 90) /* Werkzeugleistencontroller Einfuegen/Objekt*/
-#define FN_INSERT_FIELD_CTRL (FN_INSERT + 91) /* Werkzeugleistencontroller
Einfuegen/Feldbefehle*/
+#define FN_INSERT_CTRL (FN_INSERT + 89) /* toolbar controller insert*/
+#define FN_INSERT_OBJ_CTRL (FN_INSERT + 90) /* toolbar controller (insert/object) */
+#define FN_INSERT_FIELD_CTRL (FN_INSERT + 91) /* toolbar controller insert/field commands */
#define FN_INSERT_FLD_DATE (FN_INSERT + 92)
#define FN_INSERT_FLD_TIME (FN_INSERT + 93)
@@ -397,23 +397,23 @@ included in c-context files, so c++ style stuff will cause problems.
Region: Paste (Part 2)
--------------------------------------------------------------------*/
-#define FN_QRY_GET_ALL_DBNAME (FN_INSERT2 + 1) /* Alle konfigurierten Datenabanknamen
ermitteln */
-#define FN_QRY_GET_DBNAME_COUNT (FN_INSERT2 + 2) /* Anzahl aller konfigurierten
Datenabanknamen */
-#define FN_QRY_GET_TABLE_NAME (FN_INSERT2 + 3) /* Tabellenname einer Datenbank ermitteln */
-#define FN_QRY_GET_TABLE_COUNT (FN_INSERT2 + 4) /* Anzahl aller Tabellen einer Datenbank
ermitteln */
+#define FN_QRY_GET_ALL_DBNAME (FN_INSERT2 + 1) /* retrieve all configured database names */
+#define FN_QRY_GET_DBNAME_COUNT (FN_INSERT2 + 2) /* retrieve number of all
configured database names */
+#define FN_QRY_GET_TABLE_NAME (FN_INSERT2 + 3) /* retrieve table name of a database */
+#define FN_QRY_GET_TABLE_COUNT (FN_INSERT2 + 4) /* retrieve number of tables of a database
*/
#define FN_MAILMERGE_SENDMAIL_CHILDWINDOW (FN_INSERT2 + 5) /* child window provided by mailmerge
*/
-#define FN_SBA_BRW_UPDATE (FN_INSERT2 + 7) /* Datensaetze in Felder einfuegen
*/
-#define FN_SBA_BRW_INSERT (FN_INSERT2 + 8) /* Datensaetze in Text einfuegen */
-#define FN_SBA_BRW_MERGE (FN_INSERT2 + 9) /* Serienbriefdruck */
-#define FN_JAVAEDIT (FN_INSERT2 + 10) /* Scriptfeld bearbeiten */
-#define FN_INSERT_HRULER (FN_INSERT2 + 11) /* horiz. Grafiklinie einfuegen */
-#define FN_TOOL_ANKER_AT_CHAR (FN_INSERT2 + 12) /* Object zeichengebunden */
+#define FN_SBA_BRW_UPDATE (FN_INSERT2 + 7) /* insert records into fields */
+#define FN_SBA_BRW_INSERT (FN_INSERT2 + 8) /* insert records into text */
+#define FN_SBA_BRW_MERGE (FN_INSERT2 + 9) /* serial letter print */
+#define FN_JAVAEDIT (FN_INSERT2 + 10) /* edit script field */
+#define FN_INSERT_HRULER (FN_INSERT2 + 11) /* insert horizontal ruler */
+#define FN_TOOL_ANKER_AT_CHAR (FN_INSERT2 + 12) /* anchor object to character*/
-#define FN_INSERT_PAGEHEADER (FN_INSERT2 + 13) /* Standard Kopfzeile einfuegen */
-#define FN_INSERT_PAGEFOOTER (FN_INSERT2 + 14) /* Standard Fusszeile einfuegen */
+#define FN_INSERT_PAGEHEADER (FN_INSERT2 + 13) /* insert default header */
+#define FN_INSERT_PAGEFOOTER (FN_INSERT2 + 14) /* insert default footer */
-#define FN_INSERT_ENDNOTE (FN_INSERT2 + 18) /* Endnote einfuegen*/
+#define FN_INSERT_ENDNOTE (FN_INSERT2 + 18) /* insert endnote*/
#define FN_INSERT_REGION (FN_INSERT2 + 19) /* Insert section */
#define FN_INSERT_MULTI_TOX (FN_INSERT2 + 20) /* insert any TOX */
@@ -423,59 +423,59 @@ included in c-context files, so c++ style stuff will cause problems.
Region: Format
--------------------------------------------------------------------*/
-#define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* Autoformat-Optionen anwenden */
-#define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* Autoformat waehrend der Eingabe */
-#define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* Groesse */
-#define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* Groesse */
-#define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* Doppelt unterstreichen */
-#define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 6 ) /* Autoformat mit Redlining anwenden */
-#define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* Hochstellung */
-#define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* Tiefstellung */
+#define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* apply autoformat options */
+#define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* apply autoformat during user input */
+#define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* size */
+#define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* size */
+#define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* double underline */
+#define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 6 ) /* apply autoformat with Redlining */
+#define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* superscript */
+#define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* subscript */
#define FN_SET_CASEMAP (FN_FORMAT + 14) /* CaseMap */
-#define FN_SET_LANGUAGE (FN_FORMAT + 15) /* Sprache */
+#define FN_SET_LANGUAGE (FN_FORMAT + 15) /* language */
#define FN_SET_KERNING (FN_FORMAT + 16) /* Kerning */
-#define FN_INDENT_TO_TABSTOP (FN_FORMAT + 17) /* Einrueckung auf die naechste Tabpostion */
-#define FN_FLIP_HORZ_GRAFIC (FN_FORMAT + 25) /* Spiegeln horizontal */
-#define FN_FLIP_VERT_GRAFIC (FN_FORMAT + 26) /* Spiegeln vertikal */
-#define FN_SET_LINE_SPACE (FN_FORMAT + 27) /* Zeilenabstand parametrisiert */
-#define FN_SET_ADJUST (FN_FORMAT + 28) /* Ausrichtung parametrisiert */
-#define FN_SET_LRMARGIN (FN_FORMAT + 29) /* linker/rechter Rand */
-#define FN_SET_ULMARGIN (FN_FORMAT + 30) /* oberer/unterer Rand */
-#define FN_UNINDENT_TO_TABSTOP (FN_FORMAT + 31) /* Einrueckung auf die vorgige Tabpostion */
-
-#define FN_SET_HYPHEN_ZONE (FN_FORMAT + 32) /* Silbentrennung */
-#define FN_SET_KEEP_TOGETHER (FN_FORMAT + 34) /* nicht trennen */
-#define FN_SET_KEEP_WITH_NEXT (FN_FORMAT + 35) /* mit folgendem zus. */
+#define FN_INDENT_TO_TABSTOP (FN_FORMAT + 17) /* indent to tabstop */
+#define FN_FLIP_HORZ_GRAFIC (FN_FORMAT + 25) /* mirror horizontally */
+#define FN_FLIP_VERT_GRAFIC (FN_FORMAT + 26) /* mirror vertically */
+#define FN_SET_LINE_SPACE (FN_FORMAT + 27) /* parametrized line distance */
+#define FN_SET_ADJUST (FN_FORMAT + 28) /* parametrized alignemnt */
+#define FN_SET_LRMARGIN (FN_FORMAT + 29) /* left/right margin */
+#define FN_SET_ULMARGIN (FN_FORMAT + 30) /* upper/lower margin */
+#define FN_UNINDENT_TO_TABSTOP (FN_FORMAT + 31) /* indent to previous tabstop */
+
+#define FN_SET_HYPHEN_ZONE (FN_FORMAT + 32) /* hyphenation */
+#define FN_SET_KEEP_TOGETHER (FN_FORMAT + 34) /* no hyphenation */
+#define FN_SET_KEEP_WITH_NEXT (FN_FORMAT + 35) /* keep together with following */
#define FN_SET_WIDOW (FN_FORMAT + 36) /* Widows */
#define FN_SET_ORPHAN (FN_FORMAT + 37) /* Orphans */
#define FN_REGISTER_COLLECTION (FN_FORMAT + 43) /* Referenzvorlage an der Seite */
-#define FN_REGISTER_MODE (FN_FORMAT + 44) /* Registermodus an/aus */
-#define FN_NUM_FORMAT_TABLE_DLG (FN_FORMAT + 45) /* Zahlenformat in Tabelle */
-#define FN_FORMAT_BORDER_DLG (FN_FORMAT + 48) /* Umrandung */
-#define FN_FORMAT_PAGE_COLUMN_DLG (FN_FORMAT + 49) /* Spalten pro Seite */
-#define FN_FORMAT_BACKGROUND_DLG (FN_FORMAT + 50) /* Hintergrund */
-#define FN_FORMAT_PAGE (FN_FORMAT + 51) /* Seite */
-#define FN_FORMAT_PAGE_DLG (FN_FORMAT + 52) /* Seite */
-#define FN_FORMAT_COLUMN (FN_FORMAT + 53) /* Spalten */
-#define FN_FORMAT_DROPCAPS (FN_FORMAT + 54) /* Initialien */
-#define FN_FORMAT_FRAME (FN_FORMAT + 55) /* Rahmen */
-#define FN_FORMAT_FRAME_DLG (FN_FORMAT + 56) /* Rahmen */
-#define FN_FORMAT_GRAFIC (FN_FORMAT + 57) /* Grafik */
-#define FN_FORMAT_GRAFIC_DLG (FN_FORMAT + 58) /* Grafik */
-#define FN_FORMAT_TABLE (FN_FORMAT + 59) /* Tabelle */
-#define FN_FORMAT_TABLE_DLG (FN_FORMAT + 60) /* Tabelle */
-#define FN_FORMAT_OLE_DLG (FN_FORMAT + 61) /* OLE bearbeiten */
-
-#define FN_NEW_STYLE_BY_EXAMPLE (FN_FORMAT + 62) /* Vorlage erzeugen by Example */
-#define FN_UPDATE_STYLE_BY_EXAMPLE (FN_FORMAT + 63) /* Vorlage aktualisieren */
-#define FN_STYLE_SHEET_FRAME_DLG (FN_FORMAT + 64) /* Rahmenvorlage */
-#define FN_STYLE_SHEET_DOC_DLG (FN_FORMAT + 65) /* Dokumentvorlage */
-#define FN_STYLE_SHEET_GRAFIK_DLG (FN_FORMAT + 66) /* Dokumentvorlage */
-#define FN_FORMAT_FOOTNOTE (FN_FORMAT + 67) /* Fussnoten */
-#define FN_FORMAT_FOOTNOTE_DLG (FN_FORMAT + 68) /* Fussnoten-Dialog */
+#define FN_REGISTER_MODE (FN_FORMAT + 44) /* Register mode on/off */
+#define FN_NUM_FORMAT_TABLE_DLG (FN_FORMAT + 45) /* number format in table */
+#define FN_FORMAT_BORDER_DLG (FN_FORMAT + 48) /* */
+#define FN_FORMAT_PAGE_COLUMN_DLG (FN_FORMAT + 49) /* columns per page */
+#define FN_FORMAT_BACKGROUND_DLG (FN_FORMAT + 50) /* background */
+#define FN_FORMAT_PAGE (FN_FORMAT + 51) /* page */
+#define FN_FORMAT_PAGE_DLG (FN_FORMAT + 52) /* page */
+#define FN_FORMAT_COLUMN (FN_FORMAT + 53) /* columns */
+#define FN_FORMAT_DROPCAPS (FN_FORMAT + 54) /* initials */
+#define FN_FORMAT_FRAME (FN_FORMAT + 55) /* frame */
+#define FN_FORMAT_FRAME_DLG (FN_FORMAT + 56) /* frame */
+#define FN_FORMAT_GRAFIC (FN_FORMAT + 57) /* graphic */
+#define FN_FORMAT_GRAFIC_DLG (FN_FORMAT + 58) /* graphic */
+#define FN_FORMAT_TABLE (FN_FORMAT + 59) /* table */
+#define FN_FORMAT_TABLE_DLG (FN_FORMAT + 60) /* table */
+#define FN_FORMAT_OLE_DLG (FN_FORMAT + 61) /* edit OLE */
+
+#define FN_NEW_STYLE_BY_EXAMPLE (FN_FORMAT + 62) /* create style by example */
+#define FN_UPDATE_STYLE_BY_EXAMPLE (FN_FORMAT + 63) /* update style */
+#define FN_STYLE_SHEET_FRAME_DLG (FN_FORMAT + 64) /* frame style */
+#define FN_STYLE_SHEET_DOC_DLG (FN_FORMAT + 65) /* document style */
+#define FN_STYLE_SHEET_GRAFIK_DLG (FN_FORMAT + 66) /* document style */
+#define FN_FORMAT_FOOTNOTE (FN_FORMAT + 67) /* footnotes */
+#define FN_FORMAT_FOOTNOTE_DLG (FN_FORMAT + 68) /* footnote dialog */
// already defined in Svx
//#define FN_FORMAT_RESET (FN_FORMAT + 69)
@@ -487,52 +487,52 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_FRAME_WRAP (FN_FORMAT + 73)
#define FN_FRAME_WRAPTHRU (FN_FORMAT + 74)
-#define FN_FRAME_ALIGN_HORZ_LEFT (FN_FORMAT + 75) /* Rahmen horz. links */
-#define FN_FRAME_ALIGN_HORZ_RIGHT (FN_FORMAT + 76) /* Rahmen horz. rechts */
-#define FN_FRAME_ALIGN_HORZ_CENTER (FN_FORMAT + 77) /* Rahmen horz. zentriert */
-#define FN_FRAME_ALIGN_VERT_TOP (FN_FORMAT + 78) /* Rahmen vert. oben */
-#define FN_FRAME_ALIGN_VERT_BOTTOM (FN_FORMAT + 79) /* Rahmen vert. unten */
-#define FN_FRAME_ALIGN_VERT_CENTER (FN_FORMAT + 80) /* Rahmen vert. zentriert */
+#define FN_FRAME_ALIGN_HORZ_LEFT (FN_FORMAT + 75)
+#define FN_FRAME_ALIGN_HORZ_RIGHT (FN_FORMAT + 76)
+#define FN_FRAME_ALIGN_HORZ_CENTER (FN_FORMAT + 77)
+#define FN_FRAME_ALIGN_VERT_TOP (FN_FORMAT + 78)
+#define FN_FRAME_ALIGN_VERT_BOTTOM (FN_FORMAT + 79)
+#define FN_FRAME_ALIGN_VERT_CENTER (FN_FORMAT + 80)
-#define FN_SET_FRM_POSITION (FN_FORMAT + 82)/* Rahmenposition -- " -- */
-#define FN_SET_FRM_OPTIONS (FN_FORMAT + 86)/* Rahmenoptionen -- " -- */
+#define FN_SET_FRM_POSITION (FN_FORMAT + 82)/* frame position -- " -- */
+#define FN_SET_FRM_OPTIONS (FN_FORMAT + 86)/* frame position -- " -- */
-#define FN_SET_PAGE_STYLE (FN_FORMAT + 93) /* Anwenden Seitenv. */
+#define FN_SET_PAGE_STYLE (FN_FORMAT + 93) /* apply page style */
#define FN_FORMAT_TITLEPAGE_DLG (FN_FORMAT + 98) /* Title Page */
#define FN_TABLE_REP (FN_FORMAT + 99) /* TableRepresentation */
-#define FN_CONVERT_TEXT_TABLE (FN_FORMAT + 100) /* Konvertierung Text <-> Tabelle */
-#define FN_TABLE_INSERT_ROW (FN_FORMAT + 101) /* Tabelle: Zeile einfuegen */
-#define FN_TABLE_INSERT_COL (FN_FORMAT + 102) /* Tabelle: Spalte einfuegen */
-#define FN_TABLE_DELETE_ROW (FN_FORMAT + 103) /* Tabelle: Zeile loeschen */
-#define FN_TABLE_DELETE_COL (FN_FORMAT + 104) /* Tabelle: Spalte loeschen */
-#define FN_TABLE_SPLIT_CELLS (FN_FORMAT + 105) /* Tabelle: Zellen teilen */
-#define FN_TABLE_MERGE_CELLS (FN_FORMAT + 106) /* Tabelle: Zellen verbinden */
-#define FN_TABLE_SET_ROW_HEIGHT (FN_FORMAT + 107) /* Tabelle: Zeilenhoehe setzen */
-#define FN_TABLE_SET_COL_WIDTH (FN_FORMAT + 108) /* Tabelle: Spaltenbreite setzen */
-#define FN_TABLE_SET_ULSPACE (FN_FORMAT + 109) /* Tabelle: oberen / unteren Abstand
einstellen */
-#define FN_OPTIMIZE_TABLE (FN_FORMAT + 110) /* ToolBoxItem fuer Optimierung in Tabellen
*/
-#define FN_TABLE_SET_SHADOW (FN_FORMAT + 111) /* Tabelle: Schatten einstellen */
-#define FN_TABLE_GOTO_CELL (FN_FORMAT + 112) /* Tabelle: Zelle anspringen */
-#define FN_TABLE_SELECT_ROW (FN_FORMAT + 113) /* Tabelle: Zeile selektieren */
-#define FN_TABLE_SELECT_COL (FN_FORMAT + 114) /* Tabelle: Spalte selektieren */
-#define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* Tabelle: Tabelle selektieren */
-#define FN_TABLE_SET_READ_ONLY (FN_FORMAT + 116) /* Tabelle: Tabelle schuetzen */
-#define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* Tabelle: Tabellezellen schuetzen */
-#define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* Tabelle: Tabellezellen schuetzen
aufheben */
+#define FN_CONVERT_TEXT_TABLE (FN_FORMAT + 100) /* convert text <-> table */
+#define FN_TABLE_INSERT_ROW (FN_FORMAT + 101) /* */
+#define FN_TABLE_INSERT_COL (FN_FORMAT + 102) /* */
+#define FN_TABLE_DELETE_ROW (FN_FORMAT + 103) /* */
+#define FN_TABLE_DELETE_COL (FN_FORMAT + 104) /* */
+#define FN_TABLE_SPLIT_CELLS (FN_FORMAT + 105) /* */
+#define FN_TABLE_MERGE_CELLS (FN_FORMAT + 106) /* */
+#define FN_TABLE_SET_ROW_HEIGHT (FN_FORMAT + 107) /* */
+#define FN_TABLE_SET_COL_WIDTH (FN_FORMAT + 108) /* */
+#define FN_TABLE_SET_ULSPACE (FN_FORMAT + 109) /* table: set upper / lower offset */
+#define FN_OPTIMIZE_TABLE (FN_FORMAT + 110) /* ToolBoxItem for optimizing tables */
+#define FN_TABLE_SET_SHADOW (FN_FORMAT + 111) /* */
+#define FN_TABLE_GOTO_CELL (FN_FORMAT + 112) /* */
+#define FN_TABLE_SELECT_ROW (FN_FORMAT + 113) /* */
+#define FN_TABLE_SELECT_COL (FN_FORMAT + 114) /* */
+#define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* */
+#define FN_TABLE_SET_READ_ONLY (FN_FORMAT + 116) /* protect table */
+#define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* protect table cells */
+#define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* undo table cell protection */
#define FN_TABLE_HEADLINE_REPEAT (FN_FORMAT + 120) /* also used in SwXTextTable*/
-#define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* Tabelle: Zellen anpassen */
+#define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* */
-#define FN_FRAME_UP (FN_FORMAT + 122) /* Rahmen um eine Ebene nach
oben */
-#define FN_FRAME_DOWN (FN_FORMAT + 123) /* Rahmen um eine Ebene nach
unten */
+#define FN_FRAME_UP (FN_FORMAT + 122) /* frame by one level up */
+#define FN_FRAME_DOWN (FN_FORMAT + 123) /* frame by one level down */
#define FN_TABLE_INSERT_CHART (FN_FORMAT + 124)
-#define FN_SET_FRM_LRSPACE (FN_FORMAT + 125) /* Rahmen Seitenabstand
*/
-#define FN_SET_FRM_ULSPACE (FN_FORMAT + 126) /* Rahmen Kopf-/Fussabstand
*/
+#define FN_SET_FRM_LRSPACE (FN_FORMAT + 125) /* frame page offset */
+#define FN_SET_FRM_ULSPACE (FN_FORMAT + 126) /* frame head-/foot offset */
#define FN_TABLE_SET_LRSPACE (FN_FORMAT + 127) /* Tabelle: linker / rechter Abstand
einstellen */
-#define FN_TABLE_OPTIMAL_HEIGHT (FN_FORMAT + 128) /* Zellenhoehe optimal*/
+#define FN_TABLE_OPTIMAL_HEIGHT (FN_FORMAT + 128) /* optimal cell height */
#define FN_TABLE_DELETE_TABLE (FN_FORMAT + 129) /* remove current table*/
#define FN_TABLE_SELECT_CELL (FN_FORMAT + 130) /* selects the current table cell */
#define FN_CONVERT_TEXT_TO_TABLE (FN_FORMAT + 131) /* convert selected text to table */
@@ -542,19 +542,19 @@ included in c-context files, so c++ style stuff will cause problems.
/*--------------------------------------------------------------------
Region: Page Template
--------------------------------------------------------------------*/
-#define FN_NEW_PAGE_STYLE (FN_FORMAT + 129) /* Anlegen Seitenvorlage */
-#define FN_PAGE_STYLE_SET_LR_MARGIN (FN_FORMAT + 130) /* linker / rechter Rand */
-#define FN_PAGE_STYLE_SET_UL_MARGIN (FN_FORMAT + 131) /* oberer / unterer Rand */
-#define FN_PAGE_STYLE_SET_PAGE (FN_FORMAT + 134) /* linke, rechte... */
-#define FN_PAGE_STYLE_SET_PAPER_SIZE (FN_FORMAT + 135) /* Papiergroesse */
-#define FN_PAGE_STYLE_SET_PAPER_BIN (FN_FORMAT + 136) /* Druckerschacht */
-#define FN_PAGE_STYLE_SET_NUMBER_FORMAT (FN_FORMAT + 137) /* Numerierungsart */
-#define FN_PAGE_STYLE_SET_COLS (FN_FORMAT + 138) /* Spaltenanzahl */
-
-/* OS: Diese Ids werden nur noch fuer die Hilfe benoetigt und sind fuer den
- Dialog durch die Ids ohne _DLG ersetzt*/
-#define FN_TABLE_INSERT_COL_DLG (FN_FORMAT + 142) /* Tabelle: Dlg. Spalte einfuegen */
-#define FN_TABLE_INSERT_ROW_DLG (FN_FORMAT + 143) /* Tabelle: Dlg. Zeile einfuegen */
+#define FN_NEW_PAGE_STYLE (FN_FORMAT + 129) /* create page style */
+#define FN_PAGE_STYLE_SET_LR_MARGIN (FN_FORMAT + 130) /* left / right margin */
+#define FN_PAGE_STYLE_SET_UL_MARGIN (FN_FORMAT + 131) /* upper / lower margin */
+#define FN_PAGE_STYLE_SET_PAGE (FN_FORMAT + 134) /* */
+#define FN_PAGE_STYLE_SET_PAPER_SIZE (FN_FORMAT + 135) /* */
+#define FN_PAGE_STYLE_SET_PAPER_BIN (FN_FORMAT + 136) /* paper tray */
+#define FN_PAGE_STYLE_SET_NUMBER_FORMAT (FN_FORMAT + 137) /* */
+#define FN_PAGE_STYLE_SET_COLS (FN_FORMAT + 138) /* number of columns */
+
+/* these Ids are only required by Help and are replaced by the Ids without _DLG
+ * for the dialog */
+#define FN_TABLE_INSERT_COL_DLG (FN_FORMAT + 142) /* */
+#define FN_TABLE_INSERT_ROW_DLG (FN_FORMAT + 143) /* */
#define FN_GOTO_NEXT_CELL (FN_FORMAT + 145) /* Table: go to next cell */
#define FN_GOTO_PREV_CELL (FN_FORMAT + 146) /* Table: go to previous cell */
@@ -565,72 +565,72 @@ included in c-context files, so c++ style stuff will cause problems.
Region: Ribbon
--------------------------------------------------------------------*/
-#define FN_SET_BACKGROUND_COLOR (FN_FORMAT + 150) /* Hintergrundfarbe */
+#define FN_SET_BACKGROUND_COLOR (FN_FORMAT + 150) /* */
-#define FN_SET_BORDER_POS (FN_FORMAT + 152) /* Position Umrandung */
-#define FN_SET_BORDER_LINES (FN_FORMAT + 153) /* Linienart Umrandung */
-#define FN_SET_BORDER_COLOR (FN_FORMAT + 154) /* Farbe Umrandung */
+#define FN_SET_BORDER_POS (FN_FORMAT + 152) /* */
+#define FN_SET_BORDER_LINES (FN_FORMAT + 153) /* */
+#define FN_SET_BORDER_COLOR (FN_FORMAT + 154) /* */
-#define FN_FORMULA_CALC (FN_FORMAT + 156) /* Formelauswahl */
-#define FN_FORMULA_CANCEL (FN_FORMAT + 157) /* Formel nicht uebernehmen */
-#define FN_FORMULA_APPLY (FN_FORMAT + 158) /* Formel uebernehmen */
+#define FN_FORMULA_CALC (FN_FORMAT + 156) /* select formula */
+#define FN_FORMULA_CANCEL (FN_FORMAT + 157) /* don't apply formula */
+#define FN_FORMULA_APPLY (FN_FORMAT + 158) /* apply formula */
-#define FN_TABLE_UNSET_READ_ONLY (FN_FORMAT + 159) /* Zellenschutz fuer Tab. aufheben */
+#define FN_TABLE_UNSET_READ_ONLY (FN_FORMAT + 159) /* undo cell protection for table */
-#define FN_FORMULA_POSITION (FN_FORMAT + 160) /* Positionsanzeige */
-#define FN_FORMULA_EDIT (FN_FORMAT + 161) /* Editfeld */
+#define FN_FORMULA_POSITION (FN_FORMAT + 160) /* position display*/
+#define FN_FORMULA_EDIT (FN_FORMAT + 161) /* edit-field */
-#define FN_FRAME_WRAP_IDEAL (FN_FORMAT + 163) /* Rahmen Idealer Umlauf */
-#define FN_FRAME_WRAPTHRU_TRANSP (FN_FORMAT + 164) /* Rahmen Transparenter Durchlauf */
+#define FN_FRAME_WRAP_IDEAL (FN_FORMAT + 163) /* frame ideal wrapping */
+#define FN_FRAME_WRAPTHRU_TRANSP (FN_FORMAT + 164) /* frame transparent wrapping */
-#define FN_FRAME_ALIGN_VERT_ROW_TOP (FN_FORMAT + 165) /* Rahmen vert. Zeile oben */
-#define FN_FRAME_ALIGN_VERT_ROW_BOTTOM (FN_FORMAT + 166) /* Rahmen vert. Zeile unten */
-#define FN_FRAME_ALIGN_VERT_ROW_CENTER (FN_FORMAT + 167) /* Rahmen vert. Zeile zentriert */
+#define FN_FRAME_ALIGN_VERT_ROW_TOP (FN_FORMAT + 165) /* */
+#define FN_FRAME_ALIGN_VERT_ROW_BOTTOM (FN_FORMAT + 166) /* */
+#define FN_FRAME_ALIGN_VERT_ROW_CENTER (FN_FORMAT + 167) /* */
-#define FN_FRAME_ALIGN_VERT_CHAR_TOP (FN_FORMAT + 168) /* Rahmen vert. Zeichen oben */
-#define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM (FN_FORMAT + 169) /* Rahmen vert. Zeichen unten */
-#define FN_FRAME_ALIGN_VERT_CHAR_CENTER (FN_FORMAT + 170) /* Rahmen vert. Zeichen
zentriert */
+#define FN_FRAME_ALIGN_VERT_CHAR_TOP (FN_FORMAT + 168) /* */
+#define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM (FN_FORMAT + 169) /* */
+#define FN_FRAME_ALIGN_VERT_CHAR_CENTER (FN_FORMAT + 170) /* */
-#define FN_TABLE_SET_DEF_BORDER (FN_FORMAT + 171) /* vordefinierte
Umrandungen setzen */
+#define FN_TABLE_SET_DEF_BORDER (FN_FORMAT + 171) /* set predefined border
*/
-#define FN_FRAME_WRAP_LEFT (FN_FORMAT + 172) /* Rahmen Umlauf links */
-#define FN_FRAME_WRAP_RIGHT (FN_FORMAT + 173) /* Rahmen Umlauf links */
+#define FN_FRAME_WRAP_LEFT (FN_FORMAT + 172) /* */
+#define FN_FRAME_WRAP_RIGHT (FN_FORMAT + 173) /* */
-#define FN_TABLE_SET_ROW_AUTOHEIGHT (FN_FORMAT + 174) /* Tabelle: Minimale automatische
Zeilenhoehe setzen */
+#define FN_TABLE_SET_ROW_AUTOHEIGHT (FN_FORMAT + 174) /* table: set minimal automatic row height
*/
-#define FN_WRAP_ANCHOR_ONLY (FN_FORMAT + 181) /* Umlauf nur fuer ersten Absatz
*/
+#define FN_WRAP_ANCHOR_ONLY (FN_FORMAT + 181) /* wrap only for first paragraph
*/
-#define FN_TABLE_BALANCE_CELLS (FN_FORMAT + 182) /* Spalten gleichmaessig verteilen */
-#define FN_TABLE_BALANCE_ROWS (FN_FORMAT + 183) /* Zeilen gleichmaessig verteilen */
+#define FN_TABLE_BALANCE_CELLS (FN_FORMAT + 182) /* evenly distribute columns */
+#define FN_TABLE_BALANCE_ROWS (FN_FORMAT + 183) /* evenly distribute rows */
-#define FN_FRAME_WRAP_CONTOUR (FN_FORMAT + 184) /* Rahmen Kunturumlauf */
+#define FN_FRAME_WRAP_CONTOUR (FN_FORMAT + 184) /* */
-#define FN_TABLE_VERT_NONE (FN_FORMAT + 185) /* vertikale Ausrichtung in
Tabellenzellen */
-#define FN_TABLE_VERT_CENTER (FN_FORMAT + 186) /* -"- */
+#define FN_TABLE_VERT_NONE (FN_FORMAT + 185) /* vertical alignment in table
cells */
+#define FN_TABLE_VERT_CENTER (FN_FORMAT + 186) /* -"- */
#define FN_TABLE_VERT_BOTTOM (FN_FORMAT + 187) /* -"- */
#define FN_TABLE_SET_VERT_ALIGN (FN_FORMAT + 188) /* -"- */
-#define FN_TABLE_MODE_FIX (FN_FORMAT + 189) /* Tabellenmodus */
+#define FN_TABLE_MODE_FIX (FN_FORMAT + 189) /* table mode */
#define FN_TABLE_MODE_FIX_PROP (FN_FORMAT + 190) /* -"- */
#define FN_TABLE_MODE_VARIABLE (FN_FORMAT + 191) /* -"- */
#define FN_TABLE_BOX_TEXTDIRECTION (FN_FORMAT + 192) /* text direction of table cells */
-#define FN_TABLE_AUTOSUM (FN_FORMAT + 195) /* Autosumme*/
-#define FN_SET_CONTROL_HANDLER (FN_FORMAT + 199) /* Macro setzen */
+#define FN_TABLE_AUTOSUM (FN_FORMAT + 195) /* */
+#define FN_SET_CONTROL_HANDLER (FN_FORMAT + 199) /* set macro */
-#define FN_IS_IMAGE (FN_FORMAT2 + 6) /* Numerierung : mit Grafik?*/
+#define FN_IS_IMAGE (FN_FORMAT2 + 6) /* numbering: with graphic? */
-#define FN_GOTO_NEXT_REGION (FN_FORMAT2 + 9) /* Naechsten Bereich anspringen */
-#define FN_GOTO_PREV_REGION (FN_FORMAT2 + 10) /* Vorherigen " */
+#define FN_GOTO_NEXT_REGION (FN_FORMAT2 + 9) /* */
+#define FN_GOTO_PREV_REGION (FN_FORMAT2 + 10) /* */
-#define FN_GET_SBXCONTROL (FN_FORMAT2 + 11) /* SbxObject rausreichen */
-#define FN_ABSTRACT_NEWDOC (FN_FORMAT2 + 12) /* Abstract in neuem Doc */
-#define FN_ABSTRACT_STARIMPRESS (FN_FORMAT2 + 13) /* Abstract an StarImpress */
+#define FN_GET_SBXCONTROL (FN_FORMAT2 + 11) /* */
+#define FN_ABSTRACT_NEWDOC (FN_FORMAT2 + 12) /* abstract in new document */
+#define FN_ABSTRACT_STARIMPRESS (FN_FORMAT2 + 13) /* abstract to StarImpress */
#define FN_NAME_SHAPE (FN_FORMAT2 + 14) /* Name shapes */
#define FN_TITLE_DESCRIPTION_SHAPE (FN_FORMAT2 + 15) /* shape title and description */
-#define FN_NUMBER_FORMAT (FN_FORMAT2 + 120) /* Boxen/NumberFormatter
eistellen */
+#define FN_NUMBER_FORMAT (FN_FORMAT2 + 120) /* set Boxen/NumberFormatter
*/
#define FN_NUMBER_STANDARD (FN_FORMAT2 + 121)
#define FN_NUMBER_TWODEC (FN_FORMAT2 + 123)
#define FN_NUMBER_SCIENTIFIC (FN_FORMAT2 + 124)
@@ -653,9 +653,9 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_FORMAT_LINENUMBER (FN_FORMAT2 + 144)
-#define FN_TABLE_RELATIVE_WIDTH (FN_FORMAT2 + 147) /* Tabelle:
relative Breite - UNO */
-#define FN_TABLE_WIDTH (FN_FORMAT2 + 148) /*
Tabelle: Breite - UNO */
-#define FN_TABLE_IS_RELATIVE_WIDTH (FN_FORMAT2 + 149) /* Tabelle: ist
Breite relativ?- UNO */
+#define FN_TABLE_RELATIVE_WIDTH (FN_FORMAT2 + 147) /* UNO */
+#define FN_TABLE_WIDTH (FN_FORMAT2 + 148) /*
UNO */
+#define FN_TABLE_IS_RELATIVE_WIDTH (FN_FORMAT2 + 149) /* UNO */
#define FN_INC_INDENT_OFFSET (FN_FORMAT2 + 150)
#define FN_DEC_INDENT_OFFSET (FN_FORMAT2 + 151)
@@ -676,72 +676,72 @@ included in c-context files, so c++ style stuff will cause problems.
Region: Extras
--------------------------------------------------------------------*/
-#define FN_LINE_NUMBERING_DLG (FN_EXTRA + 2 ) /* Zeilennumerierung */
-#define FN_HYPHENATE_OPT_DLG (FN_EXTRA + 5 ) /* Silbentrennung */
-#define FN_ADD_UNKNOWN (FN_EXTRA + 6 ) /* Woerter lernen */
-#define FN_DICTIONARY_DLG (FN_EXTRA + 8 ) /* Woerterbuecher */
-#define FN_NUMBERING (FN_EXTRA + 9 ) /* Nummerierung/Bullets */
-#define FN_NUMBERING_DLG (FN_EXTRA + 10) /* Nummerierung/Bullets */
-#define FN_NUMBERING_OUTLINE (FN_EXTRA + 11) /* Gliederungsnumerierung */
-#define FN_NUMBERING_OUTLINE_DLG (FN_EXTRA + 12) /* Gliederungsnumerierung */
-#define FN_SORTING_DLG (FN_EXTRA + 14) /* Sortieren */
-#define FN_CALCULATE (FN_EXTRA + 15) /* Berechnen */
-#define FN_GENERATE_TOC_DLG (FN_EXTRA + 16) /* Inhaltsverzeichnis */
-#define FN_GENERATE_INDEX_DLG (FN_EXTRA + 17) /* Stichwortverzeichnis */
-#define FN_GENERATE_DIR_DLG (FN_EXTRA + 18) /* Verzeichnis */
-#define FN_GLOSSARY_DLG (FN_EXTRA + 20) /* Textbausteine */
-#define FN_MACRO_CHOOSER (FN_EXTRA + 21) /* Makro aufnehmen */
-
-#define FN_PLAY_MACRO (FN_EXTRA + 23) /* Makro abspielen */
-#define FN_LAUNCH_BASIC (FN_EXTRA + 25) /* Makro abspielen */
-#define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* Textbausteine expandieren */
-#define FN_CONFIG_TOOLBOX (FN_EXTRA + 29) /* Konfiguration Toolbox */
-#define FN_CONFIG_MENU (FN_EXTRA + 30) /* Konfiguration Menu */
-#define FN_CONFIG_KEY (FN_EXTRA + 31) /* Konfiguration Tastatur */
-#define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* Seitennummer aendern */
-
-#define FN_MACRO_POPUP (FN_EXTRA + 37) /* Alle Macrofunktionen */
-#define FN_BULLET (FN_EXTRA + 38) /* Bullet-Liste */
+#define FN_LINE_NUMBERING_DLG (FN_EXTRA + 2 ) /* */
+#define FN_HYPHENATE_OPT_DLG (FN_EXTRA + 5 ) /* */
+#define FN_ADD_UNKNOWN (FN_EXTRA + 6 ) /* learn words */
+#define FN_DICTIONARY_DLG (FN_EXTRA + 8 ) /* dictionaries */
+#define FN_NUMBERING (FN_EXTRA + 9 ) /* numbering/bullets*/
+#define FN_NUMBERING_DLG (FN_EXTRA + 10) /* numbering/bullets */
+#define FN_NUMBERING_OUTLINE (FN_EXTRA + 11) /* */
+#define FN_NUMBERING_OUTLINE_DLG (FN_EXTRA + 12) /* */
+#define FN_SORTING_DLG (FN_EXTRA + 14) /* */
+#define FN_CALCULATE (FN_EXTRA + 15) /* */
+#define FN_GENERATE_TOC_DLG (FN_EXTRA + 16) /* table of contents */
+#define FN_GENERATE_INDEX_DLG (FN_EXTRA + 17) /* index */
+#define FN_GENERATE_DIR_DLG (FN_EXTRA + 18) /* */
+#define FN_GLOSSARY_DLG (FN_EXTRA + 20) /* text building blocks */
+#define FN_MACRO_CHOOSER (FN_EXTRA + 21) /* record macro */
+
+#define FN_PLAY_MACRO (FN_EXTRA + 23) /* run macro */
+#define FN_LAUNCH_BASIC (FN_EXTRA + 25) /* run macro */
+#define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* expand text building blocks */
+#define FN_CONFIG_TOOLBOX (FN_EXTRA + 29) /* configure toolbox*/
+#define FN_CONFIG_MENU (FN_EXTRA + 30) /* configure menu */
+#define FN_CONFIG_KEY (FN_EXTRA + 31) /* configure keyboard */
+#define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* change page numbers*/
+
+#define FN_MACRO_POPUP (FN_EXTRA + 37) /* all macro functions*/
+#define FN_BULLET (FN_EXTRA + 38) /* bullet list */
// Region: Glossary
#define FN_AUTO_CORRECT (FN_EXTRA + 49 ) /* Autocorrect from Basic */
-#define FN_UPDATE_TOX (FN_EXTRA + 53) /* alle Verzeichnisse aktualisieren */
-#define FN_UPDATE_CUR_TOX (FN_EXTRA + 54) /* aktuelles Verzeichnisse aktualisieren */
+#define FN_UPDATE_TOX (FN_EXTRA + 53) /* update all indices */
+#define FN_UPDATE_CUR_TOX (FN_EXTRA + 54) /* update current index */
#define FN_REMOVE_CUR_TOX (FN_EXTRA + 55) /* remove the current TOX*/
-#define FN_NAVIGATION_PI_GOTO_PAGE (FN_EXTRA + 59 ) /* Seitenanwahl aus Navi-PI */
+#define FN_NAVIGATION_PI_GOTO_PAGE (FN_EXTRA + 59 ) /* goto page from navigation-PI */
#define FN_LETTER_WIZZARD (FN_EXTRA + 60 )
#define FN_FAX_WIZZARD (FN_EXTRA + 61 )
#define FN_MEMO_WIZZARD (FN_EXTRA + 62 )
#define FN_AGENDA_WIZZARD (FN_EXTRA + 63 )
-#define FN_SET_BASIC_METRIC (FN_EXTRA + 80) /* Defaultmetrik Basic setzen */
+#define FN_SET_BASIC_METRIC (FN_EXTRA + 80) /* set default metric Basic */
-#define FN_RESERVED_9 (FN_EXTRA + 86) /* Platzhalter */
-#define FN_RESERVED_8 (FN_EXTRA + 87) /* Platzhalter */
-#define FN_RESERVED_7 (FN_EXTRA + 88) /* Platzhalter */
-#define FN_RESERVED_6 (FN_EXTRA + 89) /* Platzhalter */
-#define FN_RESERVED_5 (FN_EXTRA + 90) /* Platzhalter */
-#define FN_RESERVED_4 (FN_EXTRA + 91) /* Platzhalter */
-#define FN_RESERVED_3 (FN_EXTRA + 92) /* Platzhalter */
-#define FN_RESERVED_2 (FN_EXTRA + 93) /* Platzhalter */
-#define FN_RESERVED_1 (FN_EXTRA + 94) /* Platzhalter */
+#define FN_RESERVED_9 (FN_EXTRA + 86) /* place holder */
+#define FN_RESERVED_8 (FN_EXTRA + 87) /* place holder */
+#define FN_RESERVED_7 (FN_EXTRA + 88) /* place holder */
+#define FN_RESERVED_6 (FN_EXTRA + 89) /* place holder */
+#define FN_RESERVED_5 (FN_EXTRA + 90) /* place holder */
+#define FN_RESERVED_4 (FN_EXTRA + 91) /* place holder */
+#define FN_RESERVED_3 (FN_EXTRA + 92) /* place holder */
+#define FN_RESERVED_2 (FN_EXTRA + 93) /* place holder */
+#define FN_RESERVED_1 (FN_EXTRA + 94) /* place holder */
#define FN_COLLECTION_GROUP_CNT (FN_EXTRA + 96)
#define FN_COLLECTION_GROUP_IDX (FN_EXTRA + 97)
-#define FN_COLL_TYPE (FN_EXTRA + 98) /* Typ fuer GlobalDoc-Collection*/
+#define FN_COLL_TYPE (FN_EXTRA + 98) /* type for GlobalDoc-Collection*/
#define FN_COLL_ADD (FN_EXTRA + 99)
-#define FN_COLL_TITLE (FN_EXTRA2 + 1) /* Bereichsname oder Index-Title
*/
-#define FN_SHADOWCURSOR (FN_EXTRA2 + 4) /* Shadow Cursor
ein/ausschalten */
+#define FN_COLL_TITLE (FN_EXTRA2 + 1) /* area name or index title */
+#define FN_SHADOWCURSOR (FN_EXTRA2 + 4) /* enable/disable Shadow
Cursor */
-#define FN_VIEW_IN_FRAME (FN_EXTRA2 + 8) /* die View befindet sich in einem FrameDoc*/
+#define FN_VIEW_IN_FRAME (FN_EXTRA2 + 8) /* the view is in a FrameDoc */
-#define FN_UNO_PARA_STYLE (FN_EXTRA2 + 9) // jetzt kommen diverse UNO-Ids fuer die
-#define FN_UNO_PAGE_STYLE (FN_EXTRA2 + 10) // PropertyMap
+#define FN_UNO_PARA_STYLE (FN_EXTRA2 + 9) // starting here are UNI-Ids for the
PropertyMap listed
+#define FN_UNO_PAGE_STYLE (FN_EXTRA2 + 10)
#define FN_UNO_FRAME_STYLE_NAME (FN_EXTRA2 + 12)
#define FN_UNO_NUM_START_VALUE (FN_EXTRA2 + 13)
@@ -895,13 +895,13 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_DELETE_PARA (FN_SELECTION + 33) /* DeleteToEndOfPara */
#define FN_DELETE_BACK_PARA (FN_SELECTION + 34) /* DeleteToStartOfPara */
#define FN_DELETE_WHOLE_LINE (FN_SELECTION + 35) /* DeleteLine ??? */
-#define FN_SET_INS_MODE (FN_SELECTION + 36) /* Einfuegemodus / Overwrite */
+#define FN_SET_INS_MODE (FN_SELECTION + 36) /* Insertmode / Overwrite */
#define FN_PAGEUP (FN_SELECTION + 37) /* PageUpWithCursor */
#define FN_PAGEDOWN (FN_SELECTION + 38) /* PageDownWithCursor */
#define FN_SET_ADD_MODE (FN_SELECTION + 39) /* Selektionsmodus */
#define FN_SET_EXT_MODE (FN_SELECTION + 40) /* Selektionsmodus */
#define FN_ESCAPE (FN_SELECTION + 41) /* Normal */
-#define FN_SHIFT_BACKSPACE (FN_SELECTION + 42) /* wie Backspace */
+#define FN_SHIFT_BACKSPACE (FN_SELECTION + 42) /* like Backspace */
#define FN_SELECT_WORD (FN_SELECTION + 43) /* select word*/
#define FN_GOTO_NEXT_OBJ (FN_SELECTION + 44) /* Goto next object */
@@ -912,22 +912,22 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_NEXT_TABLE (FN_SELECTION + 49) /* to the next table */
#define FN_PREV_TABLE (FN_SELECTION + 50) /* to the previous table */
-#define FN_START_OF_NEXT_COLUMN (FN_SELECTION + 51) /* zum Anfang der naechsten Spalte */
-#define FN_END_OF_NEXT_COLUMN (FN_SELECTION + 52) /* zum Ende der naechsten Spalte */
-#define FN_START_OF_PREV_COLUMN (FN_SELECTION + 53) /* zum Anfang der vorhergehenden Spalte
*/
-#define FN_END_OF_PREV_COLUMN (FN_SELECTION + 54) /* zum Ende der vorhergehenden Spalte */
+#define FN_START_OF_NEXT_COLUMN (FN_SELECTION + 51) /* to the start of the next column */
+#define FN_END_OF_NEXT_COLUMN (FN_SELECTION + 52) /* to the end of the next column */
+#define FN_START_OF_PREV_COLUMN (FN_SELECTION + 53) /* to the start of the previous column
*/
+#define FN_END_OF_PREV_COLUMN (FN_SELECTION + 54) /* to the end of the previous column */
-#define FN_FOOTNOTE_TO_ANCHOR (FN_SELECTION + 55) /* aus der Fussnote zum Anchor */
-#define FN_NEXT_FOOTNOTE (FN_SELECTION + 56) /* zur naechsten Fussnote */
-#define FN_PREV_FOOTNOTE (FN_SELECTION + 57) /* zur vorhergehenden Fussnote
*/
+#define FN_FOOTNOTE_TO_ANCHOR (FN_SELECTION + 55) /* from the footnote to the anchor */
+#define FN_NEXT_FOOTNOTE (FN_SELECTION + 56) /* to the next footnote */
+#define FN_PREV_FOOTNOTE (FN_SELECTION + 57) /* to the previous footnote */
-#define FN_CNTNT_TO_NEXT_FRAME (FN_SELECTION + 58) /* aus dem Inhalt zum naechsten Rahmen
*/
-#define FN_FRAME_TO_ANCHOR (FN_SELECTION + 59) /* vom Rahmen zum Anker */
+#define FN_CNTNT_TO_NEXT_FRAME (FN_SELECTION + 58) /* from content to the next frame */
+#define FN_FRAME_TO_ANCHOR (FN_SELECTION + 59) /* from frame to the anchor */
-#define FN_TO_HEADER (FN_SELECTION + 60) /* Toggle zwischen Content und
Kopfzeile */
-#define FN_TO_FOOTER (FN_SELECTION + 61) /* Toggle zwischen Content und
Fusszeile */
+#define FN_TO_HEADER (FN_SELECTION + 60) /* toggle between content and
header */
+#define FN_TO_FOOTER (FN_SELECTION + 61) /* toggle between content and
footer */
-#define FN_IDX_MARK_TO_IDX (FN_SELECTION + 62) /* von der
Verzeichnismarkierung zum Verzeichnis */
+#define FN_IDX_MARK_TO_IDX (FN_SELECTION + 62) /* from the index mark to the
index */
#define FN_TO_FOOTNOTE_AREA (FN_SELECTION + 63) /* jump into the appropriate footnote area
*/
@@ -939,12 +939,12 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_GOTO_NEXT_MARK (FN_SELECTION + 76) /* Go to next marker */
#define FN_GOTO_PREV_MARK (FN_SELECTION + 77) /* Go to previous marker
*/
-#define FN_NEXT_TOXMARK (FN_SELECTION + 83) /* zur naechsten
Verz. Markierung */
-#define FN_PREV_TOXMARK (FN_SELECTION + 84) /* zur vorherigen
Verz. Markierung */
-#define FN_NEXT_TBLFML (FN_SELECTION + 85) /* zur naechsten
Tabellenformel */
-#define FN_PREV_TBLFML (FN_SELECTION + 86) /* zur vorherigen
Tabellenformel */
-#define FN_NEXT_TBLFML_ERR (FN_SELECTION + 87) /* zur naechsten fehl.
Tabellenformel */
-#define FN_PREV_TBLFML_ERR (FN_SELECTION + 88) /* zur vorherigen fehl.
Tabellenformel */
+#define FN_NEXT_TOXMARK (FN_SELECTION + 83) /* to the next
index mark */
+#define FN_PREV_TOXMARK (FN_SELECTION + 84) /* to the previous
index mark */
+#define FN_NEXT_TBLFML (FN_SELECTION + 85) /* to the next table formula
*/
+#define FN_PREV_TBLFML (FN_SELECTION + 86) /* to the previous table
formula */
+#define FN_NEXT_TBLFML_ERR (FN_SELECTION + 87) /* to the next broken
table formula */
+#define FN_PREV_TBLFML_ERR (FN_SELECTION + 88) /* to the previous broken
table formula */
#define FN_READONLY_SELECTION_MODE (FN_SELECTION + 89) /* switches text selection mode in
readonly documents*/
#define FN_SELECTION_MODE_DEFAULT (FN_SELECTION + 90) /* use default selection mode - not
block mode */
@@ -955,19 +955,18 @@ included in c-context files, so c++ style stuff will cause problems.
--------------------------------------------------------------------*/
#define FN_IS_MODIFIED (FN_QUERY +16) /* Was the document
modified? */
-#define FN_RESET_MODIFIED (FN_QUERY +17) /* Geaendert-Flag
zuruecksetzen */
+#define FN_RESET_MODIFIED (FN_QUERY +17) /* Reset modified flag */
#define FN_GET_DOC_INFO (FN_QUERY +22) /* Wert Dokumentinfo
erfragen */
#define FN_GET_ERRNO (FN_QUERY +26) /* Get error number */
-#define FN_GET_DOCMAN_PATH (FN_QUERY +27) /* Pfad zu einer Gruppe im
Docmgr erfragen */
+#define FN_GET_DOCMAN_PATH (FN_QUERY +27) /* Get path to a group in
Docmgr */
#define FN_TXTATR_INET (FN_QUERY +29) /* INet-Attribut */
#define FN_EXECUTE_DRAG (FN_QUERY +30) /* Start drag and drop */
-#define FN_GET_PRINT_AREA (FN_QUERY +32) /* Attribut fuer druckbaren
Seitenbereich besorgen */
+#define FN_GET_PRINT_AREA (FN_QUERY +32) /* Get attribute for
printable area of page */
-#define FN_GET_PARAGRAPH (FN_QUERY +48) /* Paragraph-Object von der
Textshell
- an die View weiterreichen*/
+#define FN_GET_PARAGRAPH (FN_QUERY +48) /* Get Paragraph-Object from the
text shell to the view */
#define FN_DB_FORM_LETTER (FN_QUERY2 + 0) /* form letter
*/
#define FN_DB_INSERT_CONTENT (FN_QUERY2 + 1) /* merge data into
fields*/
@@ -1069,34 +1068,34 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_PARAM_GRF_CLIENTMAP (FN_PARAM+74) /* ClientMap */
#define FN_PARAM_GRF_SERVERMAP (FN_PARAM+75) /* ServerMap */
#define FN_PARAM_GRF_TARGETFRAME (FN_PARAM+76) /* TargetFrame */
-#define FN_INET_FIELD_MACRO (FN_PARAM+77) /* Id fuer URL-Feld-Macros*/
+#define FN_INET_FIELD_MACRO (FN_PARAM+77) /* Id for URL-Field-Macros*/
#define FN_PARAM_PRINTER (FN_PARAM+78) /* Printer */
#define FN_PARAM_STDFONTS (FN_PARAM+79) /* ConfigItem Standardfonts */
#define FN_PARAM_WRTSHELL (FN_PARAM2) /* SwWrtShell */
-#define FN_COND_COLL (FN_PARAM2+1) /* Item fuer bed. Vorlagen */
-#define FN_PARAM_SELECTION (FN_PARAM2+2) /* selektiertes Wort fuer
Format/Zeichen/Hyperlink */
+#define FN_COND_COLL (FN_PARAM2+1) /* Item for conditional templates */
+#define FN_PARAM_SELECTION (FN_PARAM2+2) /* selected word for
format/character/hyperlink */
#define FN_PARAM_ACT_NUMBER (FN_PARAM2+3) /* PointerItem die aktuelle NumRule */
-#define FN_PARAM_CHILD_LEVELS (FN_PARAM2+4) /* Werden Child-Levels benutzt ?*/
+#define FN_PARAM_CHILD_LEVELS (FN_PARAM2+4) /* are child levels used? */
-#define FN_PARAM_NUM_PRESET (FN_PARAM2+5) /* vorgewaehlte Numerierung*/
+#define FN_PARAM_NUM_PRESET (FN_PARAM2+5) /* predefined numbering */
#define FN_PARAM_HEIGHT (FN_PARAM2+6) /* Param for height */
-#define FN_PARAM_DIST (FN_PARAM2+7) /* und Breite, wg. metrischer Umwandlung */
+#define FN_PARAM_DIST (FN_PARAM2+7) /* and width, for metric transformation */
-#define FN_PARAM_SHADOWCURSOR (FN_PARAM2+8) /* Fuer ShadowCursor Optionen */
+#define FN_PARAM_SHADOWCURSOR (FN_PARAM2+8) /* for ShadowCursor options */
-#define FN_PARAM_ACT_NUMLEVEL (FN_PARAM2+9) /* BYTE-Item mit aktuellen NumLevel */
+#define FN_PARAM_ACT_NUMLEVEL (FN_PARAM2+9) /* BYTE-Item with current NumLevel */
#define FN_PARAM_9 (FN_PARAM2+10)
#define FN_PARAM_10 (FN_PARAM2+11)
#define FN_TEXT_RANGE (FN_PARAM2+12) /* TextRange Property*/
-#define FN_PARAM_CRSR_IN_PROTECTED (FN_PARAM2+13) /* Cursor in geschuetzten Bereichen*/
+#define FN_PARAM_CRSR_IN_PROTECTED (FN_PARAM2+13) /* Cursor in protected areas */
#define FN_PARAM_TOX_TYPE (FN_PARAM2+14) /* TOX type in tox dialog*/
#define FN_PARAM_LINK_DISPLAY_NAME (FN_PARAM2+15) /* LinkDisplayName property*/
#define FN_PARAM_NUM_LEVEL (FN_PARAM2+16) /* rtf filter*/
@@ -1209,7 +1208,7 @@ included in c-context files, so c++ style stuff will cause problems.
#define SID_SW_DOCMAN_PATH (SID_OFASLOTS_START + 6)
#endif
-// defines for Event-Zuweisung per Macro
+// defines for Event-assignments per Macro
#define MAC_EVENT_MOUSEOVER 0x01 //
#define MAC_EVENT_MOUSECLICK 0x02 //
#define MAC_EVENT_MOUSEOUT 0x03 //
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 5e4adf2..8f84a8f 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -34,11 +34,11 @@
#include <tools/link.hxx>
#include <tools/rtti.hxx>
#include "swdllapi.h"
-#include <swtypes.hxx> // fuer SWPOSDOC
-#include <viewsh.hxx> // fuer ViewShell
-#include <calbck.hxx> // fuer SwClient
-#include <cshtyp.hxx> // fuer die CursorShell Typen
-#include <crstate.hxx> // fuer die CursorMove-Staties
+#include <swtypes.hxx> // for SWPOSDOC
+#include <viewsh.hxx> // for ViewShell
+#include <calbck.hxx> // for SwClient
+#include <cshtyp.hxx> // for CursorShell types
+#include <crstate.hxx> // for CursorMove-States
#include <toxe.hxx> // SwTOXSearchDir
#include <tblsel.hxx> //SwTblSearchType
#include <viscrs.hxx>
@@ -46,8 +46,6 @@
#include <tblsel.hxx>
#include <IDocumentMarkAccess.hxx>
-// einige Forward Deklarationen
-
class KeyCode;
class SfxItemSet;
class SfxPoolItem;
@@ -91,7 +89,7 @@ namespace com { namespace sun { namespace star { namespace container {
class XStringKeyMap;
}}}}
-// enum und struktur, um ueber die Doc-Position Informationen zu erfragen
+// enum and struct to get informations via the Doc-Position
struct SwContentAtPos
{
@@ -138,20 +136,18 @@ struct SwContentAtPos
nDist = 0; // #i23726#
}
- // befindet sich der Node in einem geschuetzten Bereich?
BOOL IsInProtectSect() const;
bool IsInRTLText()const;
};
-// ReturnWerte von SetCrsr (werden verodert)
-const int CRSR_POSOLD = 0x01, // Cursor bleibt an alter Doc-Position
- CRSR_POSCHG = 0x02; // Position vom Layout veraendert
+// return values of SetCrsr (can be combined via ||)
+const int CRSR_POSOLD = 0x01, // cursor stays at old position
+ CRSR_POSCHG = 0x02; // position changed by the layout
// Helperfunction to resolve backward references in regular expressions
String *ReplaceBackReferences( const com::sun::star::util::SearchOptions& rSearchOpt, SwPaM* pPam
);
-// die Cursor - Shell
class SW_DLLPUBLIC SwCrsrShell : public ViewShell, public SwModify
{
friend class SwCallLink;
@@ -159,48 +155,47 @@ class SW_DLLPUBLIC SwCrsrShell : public ViewShell, public SwModify
friend class SwSelPaintRects;
friend class SwChgLinkFlag;
- //Braucht den Crsr als IntrnlCrsr.
+ // requires the Crsr as InternalCrsr
friend BOOL GetAutoSumSel( const SwCrsrShell&, SwCellFrms& );
-public: // public, damit defaultet werden kann !!
+public:
- /* ein enum fuer den Aufruf von UpdateCrsr */
+ /* for calling UpdateCrsr */
enum CrsrFlag {
- UPDOWN = (1 << 0), // Up/Down auf Spalte halten
- SCROLLWIN = (1 << 1), // Window Scrollen
- CHKRANGE = (1 << 2), // ueberpruefen von ueberlappenden PaM's
- NOCALRECT = (1 << 3), // CharRect nicht neu berechnen
- READONLY = (1 << 4) // Sichtbar machen trotz Readonly
+ UPDOWN = (1 << 0), // keep Up/Down on columns
+ SCROLLWIN = (1 << 1), // scroll window
+ CHKRANGE = (1 << 2), // check overlapping PaMs
+ NOCALRECT = (1 << 3), // don't recalculate CharRect
+ READONLY = (1 << 4) // make visible in spite of Readonly
};
private:
- SwRect aCharRect; // Char-SRectangle auf dem der Cursor steht
- Point aCrsrHeight; // Hohe&Offset von sichtbaren Cursor
- Point aOldRBPos; // Right/Bottom von letzter VisArea
- // (wird im Invalidate vom Cursor benutzt)
+ SwRect aCharRect; // Char-SRectangle on which the cursor is located
+ Point aCrsrHeight; // height & offset from visible Cursor
+ Point aOldRBPos; // Right/Bottom of last VisArea
+ // (used in Invalidate by Cursor)
- // um event. Macro was anhaengt auszufuehren.
Link aFlyMacroLnk; // Link will be called, if the Crsr is set
// into a fly. A macro can be then becalled
Link aChgLnk; // link will be called by every attribut/
// format changes at cursor position.
- Link aGrfArrivedLnk; // Link calls to UI if a grafik is arrived
+ Link aGrfArrivedLnk; // Link calls to UI if a graphic is arrived
- SwShellCrsr* pCurCrsr; // der aktuelle Cursor
- SwShellCrsr* pCrsrStk; // Stack fuer den Cursor
- SwVisCrsr *pVisCrsr; // der Sichtbare-Cursor
+ SwShellCrsr* pCurCrsr; // current cursor
+ SwShellCrsr* pCrsrStk; // stack for the cursor
+ SwVisCrsr *pVisCrsr; // the visible cursor
IBlockCursor *pBlockCrsr; // interface of cursor for block (=rectangular) selection
- SwShellTableCrsr* pTblCrsr; // Tabellen-Crsr; nur in Tabellen, wenn
- // die Selection ueber 2 Spalten liegt
+ SwShellTableCrsr* pTblCrsr; // table Crsr; only in tables when the
+ // selection lays over 2 columns
- SwNodeIndex* pBoxIdx; // fuers erkennen der veraenderten
- SwTableBox* pBoxPtr; // Tabellen-Zelle
+ SwNodeIndex* pBoxIdx; // for recognizing of the changed
+ SwTableBox* pBoxPtr; // table row
- long nUpDownX; // versuche den Cursor bei Up/Down immer in
- // der gleichen Spalte zu bewegen
+ long nUpDownX; // try to move the cursor on up/down always
+ // in the same column
long nLeftFrmPos;
ULONG nAktNode; // save CursorPos at Start-Action
xub_StrLen nAktCntnt;
@@ -208,39 +203,38 @@ private:
bool bAktSelection;
/*
- * Mit den Methoden SttCrsrMove und EndCrsrMove wird dieser Zaehler
- * Inc-/Decrementiert. Solange der Zaehler ungleich 0 ist, erfolgt
- * auf den akt. Cursor kein Update. Dadurch koennen "komplizierte"
- * Cursorbewegungen (ueber Find()) realisiert werden.
+ * Via the Method SttCrsrMove and EndCrsrMove this counter gets
+ * incremented/decremented. As long as the counter is inequal to 0, the
+ * current Cursor gets no update. This way, "complicated" cursor movements
+ * (via Find()) can be realised.
*/
USHORT nCrsrMove;
- USHORT nBasicActionCnt; // Actions, die vom Basic geklammert wurden
- CrsrMoveState eMvState; // Status fuers Crsr-Travelling - GetCrsrOfst
+ USHORT nBasicActionCnt; // Actions which are parenthesized by Basic
+ CrsrMoveState eMvState; // Status for Crsr-Travelling - GetCrsrOfst
String sMarkedListId;
int nMarkedListLevel;
- BOOL bHasFocus : 1; // Shell ist in einem Window "aktiv"
- BOOL bSVCrsrVis : 1; // SV-Cursor Un-/Sichtbar
- BOOL bChgCallFlag : 1; // Attributaenderung innerhalb von
- // Start- und EndAction
- BOOL bVisPortChgd : 1; // befindet sich im VisPortChg-Aufruf
- // (wird im Invalidate vom Cursor benutzt)
-
- BOOL bCallChgLnk : 1; // Flag fuer abgeleitete Klassen:
- // TRUE -> ChgLnk callen
- // Zugriff nur ueber SwChgLinkFlag
- BOOL bAllProtect : 1; // Flag fuer Bereiche
- // TRUE -> alles geschuetzt / versteckt
- BOOL bInCMvVisportChgd : 1; // Flag fuer CrsrMoves
- // TRUE -> die Sicht wurde verschoben
+ BOOL bHasFocus : 1; // Shell is "active" in a window
+ BOOL bSVCrsrVis : 1; // SV-Cursor visible/invisible
+ BOOL bChgCallFlag : 1; // attribute change inside Start- and EndAction
+ BOOL bVisPortChgd : 1; // in VisPortChg-Call
+ // (used in Invalidate by the Cursor)
+
+ BOOL bCallChgLnk : 1; // flag for derived classes
+ // TRUE -> call ChgLnk
+ // access only via SwChgLinkFlag
+ BOOL bAllProtect : 1; // Flag for areas
+ // TRUE -> everything protected / hidden
+ BOOL bInCMvVisportChgd : 1; // Flag for CrsrMoves
+ // TRUE -> view was moved
BOOL bGCAttr : 1; // TRUE -> es existieren nichtaufgespannte Attr.
- BOOL bIgnoreReadonly : 1; // TRUE -> Beim naechsten EndAction trotz
- // Readonly den Crsr sichtbar machen.
- BOOL bSelTblCells : 1; // TRUE -> Zellen uebers InputWin selektieren
- BOOL bAutoUpdateCells : 1; // TRUE -> Zellen werden autoformatiert
- BOOL bBasicHideCrsr : 1; // TRUE -> HideCrsr vom Basic
- BOOL bSetCrsrInReadOnly : 1;// TRUE -> Cursor darf in ReadOnly-Bereiche
+ BOOL bIgnoreReadonly : 1; // TRUE -> make the cursor visible on next
+ // EndAction in spite of Readonly
+ BOOL bSelTblCells : 1; // TRUE -> select cells over the InputWin
+ BOOL bAutoUpdateCells : 1; // TRUE -> autoformat cells
+ BOOL bBasicHideCrsr : 1; // TRUE -> HideCrsr from Basic
+ BOOL bSetCrsrInReadOnly : 1;// TRUE -> Cursor is allowed in ReadOnly-Areas
BOOL bOverwriteCrsr : 1; // TRUE -> show Overwrite Crsr
bool mbMacroExecAllowed : 1;
@@ -295,7 +289,7 @@ protected:
};
int CompareCursor( CrsrCompareType eType ) const;
- // Setzt alle PaMs in OldNode auf NewPos + Offset
+ // set all PaMs in OldNode to NewPos + Offset
void PaMCorrAbs(const SwNodeIndex &rOldNode, const SwPosition &rNewPos,
const xub_StrLen nOffset = 0 );
@@ -312,17 +306,17 @@ protected:
public:
TYPEINFO();
SwCrsrShell( SwDoc& rDoc, Window *pWin, const SwViewOption *pOpt = 0 );
- // verkleideter Copy-Constructor
+ // disguised copy constructor
SwCrsrShell( SwCrsrShell& rShell, Window *pWin );
virtual ~SwCrsrShell();
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);
- // neuen Cusror erzeugen und den alten anhaengen
+ // create new cursor and append the old one
SwPaM * CreateCrsr();
- // loesche den aktuellen Cursor und der folgende wird zum Aktuellen
+ // delete the current cursor and make the following into the current
BOOL DestroyCrsr();
- // TableCursor in normale Cursor verwandeln, Tablemode aufheben
+ // transform TableCursor to normal cursor, nullify Tablemode
void TblCrsrToCursor();
// enter block mode, change normal cursor into block cursor
void CrsrToBlockCrsr();
@@ -336,27 +330,26 @@ public:
SwPaM* GetCrsr( BOOL bMakeTblCrsr = TRUE ) const;
inline SwCursor* GetSwCrsr( BOOL bMakeTblCrsr = TRUE ) const;
- // nur den akt. Cursor returnen
+ // return only the current cursor
SwShellCrsr* _GetCrsr() { return pCurCrsr; }
const SwShellCrsr* _GetCrsr() const { return pCurCrsr; }
- // uebergebenen Cursor anzeigen - fuer UNO
+ // show passed cursor - for UNO
void SetSelection(const SwPaM& rCrsr);
- // alle Cursor aus den ContentNodes entfernen und auf 0 setzen.
- // Wurde aus der FEShell hierher verschoben.
+ // remove all cursors from ContentNodes and set to 0
void ParkCrsr( const SwNodeIndex &rIdx );
- // gebe den akt. Cursor-Stack zurueck.
- // ( Wird in der EditShell beim Loeschen von Inhalten benoetigt! )
+ // return the current cursor stack
+ // (required in EditShell when deleting contents)
inline SwPaM* GetStkCrsr() const;
- // Start der Klammerung, SV-Cursor und selektierte Bereiche hiden
+ // start parenthesing, hide SV-Cursor and selected areas
void StartAction();
- // Ende der Klammerung, SV-Cursor und selektierte Bereiche anzeigen
+ // end parenthesing, show SV-Cursor and selected areas
void EndAction( const BOOL bIdleEnd = FALSE );
- // Basiscursortravelling
+ // basic cursor travelling
long GetUpDownX() const { return nUpDownX; }
BOOL Left( USHORT nCnt, USHORT nMode, BOOL bAllowVisual = FALSE )
@@ -376,7 +369,6 @@ public:
BOOL MoveColumn( SwWhichColumn, SwPosColumn );
BOOL MoveRegion( SwWhichRegion, SwPosRegion );
- // die Suchfunktionen
ULONG Find( const com::sun::star::util::SearchOptions& rSearchOpt,
BOOL bSearchInNotes,
SwDocPositions eStart, SwDocPositions eEnde,
@@ -395,27 +387,25 @@ public:
const com::sun::star::util::SearchOptions* pSearchOpt = 0,
const SfxItemSet* rReplSet = 0 );
- // Positionieren des Cursors
- // returnt
- // CRSR_POSCHG: wenn der ob der SPoint vom Layout korrigiert wurde.
- // CRSR_POSOLD: wenn der Crsr nicht veraendert wurde
+ // Position the Cursor
+ // return values:
+ // CRSR_POSCHG: when cursor was corrected from SPoint by the layout
+ // CRSR_POSOLD: when the cursor was not changed
int SetCrsr( const Point &rPt, BOOL bOnlyText = FALSE, bool bBlock = true );
/*
- * Benachrichtung, dass der sichtbare Bereich sich geaendert
- * hat. aVisArea wird neu gesetzt, anschliessend wird
- * gescrollt. Das uebergebene Rectangle liegt auf
- * Pixelgrenzen, um Pixelfehler beim Scrollen zu vermeiden.
+ * Notification that the visible area was changed. aVisArea is reset, then
+ * scrolling is done. The passed Rectangle lays on pixel borders to avoid
+ * pixel errors.
*/
virtual void VisPortChgd( const SwRect & );
/*
- * Virtuelle PaintMethode, damit die Selection nach dem Paint wieder
- * sichtbar wird.
+ * virtual paint method to make selection visible again after Paint
*/
void Paint( const Rectangle & rRect );
- // Bereiche
+ // Areas
inline void SetMark();
inline BOOL HasMark();
@@ -432,23 +422,23 @@ public:
void SwapPam();
BOOL ChgCurrPam( const Point & rPt,
- BOOL bTstOnly = TRUE, //Nur testen, nicht setzen
- BOOL bTstHit = FALSE ); //Nur genaue Treffer
+ BOOL bTstOnly = TRUE, // test only, don't set
+ BOOL bTstHit = FALSE ); // only exact matches
void KillPams();
- // erzeuge eine Kopie vom Cursor und speicher diese im Stack
+ // story a copy of the cursor in the stack
void Push();
/*
- * Loescht einen Cursor (gesteuert durch bOldCrsr)
- * - vom Stack oder ( bOldCrsr = TRUE )
- * - den aktuellen und der auf dem Stack stehende wird zum aktuellen
- *
- * Return: es war auf dem Stack noch einer vorhanden
+ * Delete a cursor (controlled by bOldCrsr)
+ * - from stack or (bOldCrsr = TRUE)
+ * - delete the current one and replace it with the cursor from the
+ * stack
+ * Return: whether there was one left one the stack
*/
BOOL Pop( BOOL bOldCrsr = TRUE );
/*
- * Verbinde zwei Cursor miteinander.
- * Loesche vom Stack den obersten und setzen dessen Mark im Aktuellen.
+ * Combine 2 Cursors.
+ * Delete the topmost from the stack and move its Mark into the current.
*/
void Combine();
@@ -576,21 +566,20 @@ public:
::sw::mark::IFieldmark* GetFieldmarkBefore();
bool GotoFieldmark( const ::sw::mark::IFieldmark* const pMark );
- // aktualisiere den Crsrs, d.H. setze ihn wieder in den Content.
- // Das sollte nur aufgerufen werden, wenn der Cursor z.B. beim
- // Loeschen von Rahmen irgendwohin gesetzt wurde. Die Position
- // ergibt sich aus seiner aktuellen Position im Layout !!
+ // update Cursr, i.e. reset it into content should only be called when the
+ // cursor was set to a random position e.g. when deleting frames
void UpdateCrsrPos();
- // returne den am akt. Cursor selektierten Text. Dieser wird mit
- // Felder etc. aufgefuellt!!
+ // get the selected text at the current cursor. it will be filled with
+ // fields etc.
String GetSelTxt() const;
- // gebe nur den Text ab der akt. Cursor Position zurueck (bis zum NodeEnde)
+ // return only the text starting from the current cursor position (to the
+ // end of the node)
String GetText() const;
// pruefe ob vom aktuellen Crsr der SPoint/Mark in einer Tabelle stehen
inline const SwTableNode* IsCrsrInTbl( BOOL bIsPtInTbl = TRUE ) const;
- // erfrage die Document - Layout - Position vom akt. Crsr
+ //
inline Point& GetCrsrDocPos( BOOL bPoint = TRUE ) const;
inline BOOL IsCrsrPtAtEnd() const;
@@ -599,13 +588,13 @@ public:
BOOL IsTblComplex() const;
BOOL IsTblComplexForChart();
- // erfrage die akt. TabellenSelektion als Text
+ // get current table selection as text
String GetBoxNms() const;
- // setze Crsr in die naechsten/vorherigen Celle
+ // set Crsr to the next/previous cell
BOOL GoNextCell( BOOL bAppendLine = TRUE );
BOOL GoPrevCell();
- // gehe zu dieser Box (wenn vorhanden und in Tabelle!)
+ // go to this box (if available and inside of table)
BOOL GotoTable( const String& rName );
// select a table row, column or box (based on the current cursor)
@@ -615,24 +604,21 @@ public:
BOOL SelTbl();
- // zum naechsten/vorhergehenden Punkt auf gleicher Ebene
BOOL GotoNextNum();
BOOL GotoPrevNum();
- // zu diesem Gliederungspunkt
BOOL GotoOutline( const String& rName );
- // zum naechsten/vorhergehenden oder angegebenen OultineNode
+ // to the next/previous or the given OutlineNode
void GotoOutline( USHORT nIdx );
- // suche die "Outline-Position" im Nodes-Array vom akt. Kaiptel
+ // find the "outline position" in the nodes array of the current chapter
USHORT GetOutlinePos( BYTE nLevel = UCHAR_MAX );
- // selektiere den angeben Bereich von OutlineNodes. Optional
- // inclusive der Childs. Die USHORT sind die Positionen im
- // OutlineNds-Array!! (EditShell)
+ // select the given range of OutlineNodes. Optionally including the children
+ // the USHORTs are the positions in OutlineNodes-Array (EditShell)
BOOL MakeOutlineSel( USHORT nSttPos, USHORT nEndPos,
BOOL bWithChilds = FALSE );
- BOOL GotoNextOutline(); // naechster Node mit Outline-Num.
- BOOL GotoPrevOutline(); // vorheriger Node mit Outline-Num.
+ BOOL GotoNextOutline();
+ BOOL GotoPrevOutline();
/** Delivers the current shell cursor
@@ -656,55 +642,49 @@ public:
const IBlockCursor* GetBlockCrsr() const { return pBlockCrsr; }
IBlockCursor* GetBlockCrsr() { return pBlockCrsr; }
- // ist der Crsr in einer Tabelle und ist die Selection ueber
- // zwei Spalten
+ // is the Crsr in a table and is the selection over 2 columns
BOOL IsTableMode() const { return 0 != pTblCrsr; }
- // erfrage den Tabellen Crsr; ausserhalb von Tabellen immer 0
const SwShellTableCrsr* GetTableCrsr() const { return pTblCrsr; }
SwShellTableCrsr* GetTableCrsr() { return pTblCrsr; }
USHORT UpdateTblSelBoxes();
- BOOL GotoFtnTxt(); // springe aus dem Content zur Fussnote
- BOOL GotoFtnAnchor(); // springe aus der Fussnote zum Anker
+ BOOL GotoFtnTxt(); // jump from content to footnote
+ BOOL GotoFtnAnchor(); // jump from footnote to anchor
BOOL GotoPrevFtnAnchor();
BOOL GotoNextFtnAnchor();
- BOOL GotoFlyAnchor(); // springe aus dem Rahmen zum Anker
- BOOL GotoHeaderTxt(); // springe aus dem Content zum Header
- BOOL GotoFooterTxt(); // springe aus dem Content zum Footer
- // springe in den Header/Footer des angegebenen oder akt. PageDesc
+ BOOL GotoFlyAnchor(); // jump from the frame to the anchor
+ BOOL GotoHeaderTxt(); // jump from the content to the header
+ BOOL GotoFooterTxt(); // jump from the content to the footer
+ // jump to the header/footer of the given or current PageDesc
BOOL SetCrsrInHdFt( USHORT nDescNo = USHRT_MAX,
BOOL bInHeader = TRUE );
// is point of cursor in header/footer. pbInHeader return TRUE if it is
// in a headerframe otherwise in a footerframe
BOOL IsInHeaderFooter( BOOL* pbInHeader = 0 ) const;
- // springe zum naechsten Verzeichnis [mit dem Namen]
BOOL GotoNextTOXBase( const String* = 0 );
- // springe zum vorherigen Verzeichnis [mit dem Namen]
BOOL GotoPrevTOXBase( const String* = 0 );
- BOOL GotoTOXMarkBase(); // springe zum Verzeichnis vom TOXMark
- // springe zum naechsten (vorherigen) Verzeichniseintrag
+ BOOL GotoTOXMarkBase();
+ // jump to the next or previous index entry
BOOL GotoNxtPrvTOXMark( BOOL bNext = TRUE );
- // Zur naechsten/ vorherigen Verzeichnismarke dieses Typs traveln
+ // jump to the next/previous index mark of this type
const SwTOXMark& GotoTOXMark( const SwTOXMark& rStart, SwTOXSearch eDir );
- // springe zum naechsten (vorherigen) Tabellenformel
- // optional auch nur zu kaputten Formeln springen
+ // jump to the next or previous table formula
+ // optionally only to broken formulas
BOOL GotoNxtPrvTblFormula( BOOL bNext = TRUE,
BOOL bOnlyErrors = FALSE );
// jump to the next / previous hyperlink - inside text and also
// on graphics
BOOL SelectNxtPrvHyperlink( BOOL bNext = TRUE );
- // springe zu dieser Refmark
BOOL GotoRefMark( const String& rRefMark, USHORT nSubType = 0,
USHORT nSeqNo = 0 );
- // hole vom Start/Ende der akt. Selection das nte Zeichen
+ // get the nth character from the start or end of the current selection
sal_Unicode GetChar( BOOL bEnd = TRUE, long nOffset = 0 );
- // erweiter die akt. Selection am Anfang/Ende um n Zeichen
BOOL ExtendSelection( BOOL bEnd = TRUE, xub_StrLen nCount = 1 );
// setze nur den sichtbaren Cursor an die angegebene Dokument-Pos.
// returnt FALSE: wenn der ob der SPoint vom Layout korrigiert wurde.
@@ -712,18 +692,17 @@ public:
BOOL SetVisCrsr( const Point &rPt );
inline void UnSetVisCrsr();
- // springe zum nachsten/vorherigen Feld des entsprechenden Types
+ // jump to the next or previous field of the corresponding type
BOOL MoveFldType( const SwFieldType* pFldType, BOOL bNext,
USHORT nSubType = USHRT_MAX,
USHORT nResType = USHRT_MAX );
- // springe genau zu diesem Feld
BOOL GotoFld( const SwFmtFld& rFld );
// returne die Anzahl der Cursor im Ring (Flag besagt ob man nur
// aufgepspannte haben will - sprich etwas selektiert ist (Basic))
USHORT GetCrsrCnt( BOOL bAll = TRUE ) const;
- // Char Travelling - Methoden (in crstrvl1.cxx)
+ // Char Travelling - methods (in crstrvl1.cxx)
BOOL GoStartWord();
BOOL GoEndWord();
BOOL GoNextWord();
@@ -735,7 +714,7 @@ public:
BOOL SelectWord( const Point* pPt = 0 );
BOOL ExpandToSentenceBorders();
- // Position vom akt. Cursor erfragen
+ // get position from current cursor
BOOL IsStartWord( sal_Int16 nWordType =
com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES )const;
BOOL IsEndWord( sal_Int16 nWordType =
com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES ) const;
BOOL IsInWord( sal_Int16 nWordType = com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES
) const;
@@ -749,10 +728,10 @@ public:
BOOL IsAtLeftMargin() const { return IsAtLRMargin( TRUE ); }
BOOL IsAtRightMargin(BOOL bAPI = FALSE) const { return IsAtLRMargin( FALSE, bAPI ); }
- // loesche alle erzeugten Crsr, setze den Tabellen-Crsr und den letzten
- // Cursor auf seinen TextNode (oder StartNode?).
- // Beim naechsten ::GetCrsr werden sie wieder alle erzeugt.
- // Wird fuers Drag&Drop/ClipBorad-Paste in Tabellen benoetigt.
+ // delete all created cursors, set the table cursor and the last cursor to
+ // its TextNode (or StartNode?)
+ // They all get created on the next ::GetCrsr again
+ // Used for Drag&Drop/Clipboard-Paste in tables
BOOL ParkTblCrsr();
// gibt es nicht aufgespannte Attribute?
@@ -760,7 +739,7 @@ public:
void ClearGCAttr() { bGCAttr = FALSE; }
void UpdateAttr() { bGCAttr = TRUE; }
- // ist das gesamte Dokument geschuetzt/versteckt?? (fuer UI,..)
+ // is the whole document protected/hidden (for UI...)
BOOL IsAllProtect() const { return bAllProtect; }
#ifdef SW_CRSR_TIMER
@@ -771,13 +750,12 @@ public:
BOOL BasicActionPend() const { return nBasicActionCnt != nStartAction; }
- // springe zum benannten Bereich
BOOL GotoRegion( const String& rName );
- // zeige die aktuelle Selektion an
+ // show the current selection
virtual void MakeSelVisible();
- // setzte den Cursor auf einen NICHT geschuetzten/versteckten Node
+ // set the cursor to a NOT protected/hidden node
BOOL FindValidCntntNode( BOOL bOnlyText = FALSE );
BOOL GetContentAtPos( const Point& rPt,
@@ -801,7 +779,6 @@ public:
BOOL IsPageAtPos( const Point &rPt ) const;
- // Attribut selelktieren
BOOL SelectTxtAttr( USHORT nWhich, BOOL bExpand, const SwTxtAttr* pAttr = 0 );
BOOL GotoINetAttr( const SwTxtINetFmt& rAttr );
const SwFmtINetFmt* FindINetAttr( const String& rName ) const;
@@ -811,8 +788,8 @@ public:
void ClearTblBoxCntnt();
BOOL EndAllTblBoxEdit();
- // wird gerufen, wenn eine Tabellenselektion im UpdateCrsr erzeugt wird,
- // ohne das die UI davon etaws weiss
+ // gets called when a table selection gets created in UpdateCrsr without
+ // the UI knowing of it
virtual void NewCoreSelection();
void SetSelTblCells( BOOL bFlag ) { bSelTblCells = bFlag; }
diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx
index abf4a52..27bf882 100644
--- a/sw/inc/crstate.hxx
+++ b/sw/inc/crstate.hxx
@@ -36,21 +36,21 @@
enum SwFillMode
{
- FILL_TAB, // default, Auffuellen mit Tabulatoren
- FILL_SPACE, // ... mit Tabulatoren und Spaces
- FILL_MARGIN, // nur links, zentriert, rechts Ausrichten
- FILL_INDENT // durch linken Absatzeinzug
+ FILL_TAB, // default, fill with tabs
+ FILL_SPACE, // fill with spaces and tabs
+ FILL_MARGIN, // only align left, center, right
+ FILL_INDENT // by left paragraph indention
};
struct SwFillCrsrPos
{
- SwRect aCrsr; // Position und Groesse des Shadowcursors
- USHORT nParaCnt; // Anzahl der einzufuegenden Absaetze
- USHORT nTabCnt; // Anzahl der Tabs bzw. Groesse des Einzugs
- USHORT nSpaceCnt; // Anzahl der einzufuegenden Leerzeichen
- USHORT nColumnCnt; // Anzahl der notwendigen Spaltenumbrueche
- sal_Int16 eOrient; // Absatzausrichtung
- SwFillMode eMode; // Gewuenschte Auffuellregel
+ SwRect aCrsr; // position and size of the ShadowCursor
+ USHORT nParaCnt; // number of paragraphs to insert
+ USHORT nTabCnt; // number of tabs respectively size of indentation
+ USHORT nSpaceCnt; // number of spaces to insert
+ USHORT nColumnCnt; // number of necessary column breaks
+ sal_Int16 eOrient; // paragraph alignment
+ SwFillMode eMode; // desired fill-up rule
SwFillCrsrPos( SwFillMode eMd = FILL_TAB ) :
nParaCnt( 0 ), nTabCnt( 0 ), nSpaceCnt( 0 ), nColumnCnt( 0 ),
eOrient( com::sun::star::text::HoriOrientation::NONE ), eMode( eMd )
@@ -120,36 +120,35 @@ struct SwSpecialPos
{}
};
-// CrsrTravelling-Staties (fuer GetCrsrOfst)
+// CrsrTravelling-States (for GetCrsrOfst)
enum CrsrMoveState
{
MV_NONE, // default
MV_UPDOWN, // Crsr Up/Down
- MV_RIGHTMARGIN, // an rechten Rand
- MV_LEFTMARGIN, // an linken Rand
- MV_SETONLYTEXT, // mit dem Cursr nur im Text bleiben
- MV_TBLSEL // nicht in wiederholte Headlines
+ MV_RIGHTMARGIN, // at right margin
+ MV_LEFTMARGIN, // at left margin
+ MV_SETONLYTEXT, // stay with the cursor inside text
+ MV_TBLSEL // not in repeated headlines
};
-// struct fuer spaetere Erweiterungen
+// struct for later extensions
struct SwCrsrMoveState
{
- SwFillCrsrPos *pFill; // fuer das automatische Auffuellen mit Tabs etc.
+ SwFillCrsrPos *pFill; // for automatic filling with tabs etc
Sw2LinesPos *p2Lines; // for selections inside/around 2line portions
SwSpecialPos* pSpecialPos; // for positions inside fields
- Point aRealHeight; // enthaelt dann die Position/Hoehe des Cursors
+ Point aRealHeight; // contains then the position/height of the cursor
CrsrMoveState eState;
BYTE nCursorBidiLevel;
BOOL bStop :1;
- BOOL bRealHeight :1; // Soll die reale Hoehe berechnet werden?
- BOOL bFieldInfo :1; // Sollen Felder erkannt werden?
- BOOL bPosCorr :1; // Point musste korrigiert werden
- BOOL bFtnNoInfo :1; // Fussnotennumerierung erkannt
- BOOL bExactOnly :1; // GetCrsrOfst nur nach Exakten Treffern
- // suchen lassen, sprich niemals in das
- // GetCntntPos laufen.
- BOOL bFillRet :1; // wird nur im FillModus temp. genutzt
- BOOL bSetInReadOnly :1; // ReadOnlyBereiche duerfen betreten werden
+ BOOL bRealHeight :1; // should the real height be calculated?
+ BOOL bFieldInfo :1; // should be fields recognized?
+ BOOL bPosCorr :1; // Point had to be corrected
+ BOOL bFtnNoInfo :1; // recognized footnote numbering
+ BOOL bExactOnly :1; // let GetCrsrOfst look for exact matches only,
+ // i.e. never let it run into GetCntntPos
+ BOOL bFillRet :1; // only used temporary in FillMode
+ BOOL bSetInReadOnly :1; // ReadOnly areas may be entered
BOOL bRealWidth :1; // Calculation of the width required
BOOL b2Lines :1; // Check 2line portions and fill p2Lines
BOOL bNoScroll :1; // No scrolling of undersized textframes
diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx
index d022df0..3861f74 100644
--- a/sw/inc/iodetect.hxx
+++ b/sw/inc/iodetect.hxx
@@ -33,15 +33,15 @@
#include <sfx2/docfile.hxx>
#include <sfx2/fcontnr.hxx>
#include <osl/endian.h>
-#include <errhdl.hxx> // for ASSERT
+//#include <errhdl.hxx> // for ASSERT
#include <tools/string.hxx>
#include <swdllapi.h>
-#define FILTER_RTF "RTF" // RTF-Filter
+#define FILTER_RTF "RTF" // RTF filter
#define sRtfWH "WH_RTF"
-#define FILTER_TEXT "TEXT" // Text-Filter mit Default-CodeSet
-#define FILTER_BAS "BAS" // StarBasic (identisch mit ANSI)
-#define FILTER_WW8 "CWW8" // WinWord 97-Filter
+#define FILTER_TEXT "TEXT" // text filter with default codeset
+#define FILTER_BAS "BAS" // StarBasic (identical to ANSI)
+#define FILTER_WW8 "CWW8" // WinWord 97 filter
#define FILTER_TEXT_DLG "TEXT_DLG" // text filter with encoding dialog
#define FILTER_XML "CXML" // XML filter
#define FILTER_XMLV "CXMLV" // XML filter
@@ -89,27 +89,27 @@ enum ReaderWriterEnum {
extern SwIoDetect aFilterDetect[];
-// Die folgende Klasse ist ein Wrappe fuer die Basic-I/O-Funktionen
-// des Writer 3.0. Alles ist statisch. Alle u.a. Filternamen sind die
-// Writer-internen Namen, d.h. die namen, die in INSTALL.INI vor dem
-// Gleichheitszeichen stehen, z.b. SWG oder ASCII.
+// The following class is a wrapper for basic i/o functions of Writer 3.0.
+// Everything is static. All filter names mentioned are Writer-internal
+// names, i.e. the names in front of the equality sign in INSTALL.INI, like SWG
+// or ASCII.
class SwIoSystem
{
public:
- // suche ueber den internen FormatNamen den Filtereintrag
+ // find for an internal format name the corresponding filter entry
SW_DLLPUBLIC static const SfxFilter* GetFilterOfFormat( const String& rFormat,
const SfxFilterContainer* pCnt = 0 );
- // Feststellen des zu verwendenden Filters fuer die uebergebene
- // Datei. Der Filtername wird zurueckgeliefert. Konnte kein Filter
- // zurueckgeliefert werden, wird der Name des ASCII-Filters geliefert!
+ // Detect for the given file which filter should be used. The filter name
+ // is returned. If no filter could be found, the name of the ASCII filter
+ // is returned!
static const SfxFilter* GetFileFilter( const String& rFileName,
const String& rPrefFltName,
SfxMedium* pMedium = 0 );
- // Feststellen ob das File in dem vorgegebenen Format vorliegt.
- // Z.z werden nur unsere eigene Filter unterstuetzt!!
+ // Detect whether the given file is in the given format.
+ // For now, only our own filters are supported!
static BOOL IsFileFilter( SfxMedium& rMedium, const String& rFmtName,
const SfxFilter** ppFlt = 0 );
--
1.7.3.2
Context
- [Libreoffice] [PATCH] Easy Hacks: Translation of Comments from German to English · Daniel Di Marco
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.