Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


From c027b32054bd6222aee64757d0e87af373ad421b Mon Sep 17 00:00:00 2001
From: Christoph Herzog <rhogez@googlemail.com>
Date: Fri, 7 Jan 2011 23:58:52 +0100
Subject: [PATCH] Transl. German comments in sw/inc/IDocumentFieldsAccess.hxx

Only one comment in this file. In case whitespace of the patch in the body of this mail got messed up again (if so, please let me know) I additionally put it in attachment (patch is under the LGPLv2+/MPL").

---
sw/inc/IDocumentFieldsAccess.hxx | 55 +++----------------------------------
 1 files changed, 5 insertions(+), 50 deletions(-)

diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 0beafdd..2e4e4b3 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -54,32 +54,18 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
  class IDocumentFieldsAccess
  {
  public:
-    /**
-    */
     virtual const SwFldTypes *GetFldTypes() const = 0;
 -    /**
-    */
     virtual SwFieldType *InsertFldType(const SwFieldType &) = 0;
 -    /**
-    */
virtual SwFieldType *GetSysFldType( const sal_uInt16 eWhich ) const = 0;
 -    /**
-    */
virtual SwFieldType* GetFldType(sal_uInt16 nResId, const String& rName, bool bDbFieldMatching) const = 0;
 -    /**
-    */
     virtual void RemoveFldType(sal_uInt16 nFld) = 0;
 -    /**
-    */
     virtual void UpdateFlds( SfxPoolItem* pNewHt, bool bCloseDB) = 0;
 -    /**
-    */
     virtual void InsDeletedFldType(SwFieldType &) = 0;
      /**
@@ -96,8 +82,6 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
     */
virtual bool PutValueToField(const SwPosition & rPos, const com::sun::star::uno::Any& rVal, USHORT nWhich) = 0;
 -    // rufe das Update der Expression Felder auf; alle Ausdruecke werden
-    // neu berechnet.
      /** Updates a field.
@@ -111,39 +95,22 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
     */
virtual bool UpdateFld(SwTxtFld * rDstFmtFld, SwField & rSrcFld, SwMsgPoolItem * pMsgHnt, bool bUpdateTblFlds) = 0;
 -    /**
-    */
     virtual void UpdateRefFlds(SfxPoolItem* pHt) = 0;
 -    /**
-    */
     virtual void UpdateTblFlds(SfxPoolItem* pHt) = 0;
 -    /**
-    */
     virtual void UpdateExpFlds(SwTxtFld* pFld, bool bUpdateRefFlds) = 0;
 -    /**
-    */
     virtual void UpdateUsrFlds() = 0;
 -    /**
-    */
     virtual void UpdatePageFlds(SfxPoolItem*) = 0;
 -    /**
-    */
     virtual void LockExpFlds() = 0;
 -    /**
-    */
     virtual void UnlockExpFlds() = 0;
 -    /**
-    */
     virtual bool IsExpFldsLocked() const = 0;
 -
     virtual SwDocUpdtFld& GetUpdtFlds() const = 0;
      /*        @@@MAINTAINABILITY-HORROR@@@
@@ -152,35 +119,23 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
     */
virtual bool SetFieldsDirty(bool b, const SwNode* pChk, ULONG nLen) = 0;
 -    /**
-    */
virtual void SetFixFields(bool bOnlyTimeDate, const DateTime* pNewDateTime) = 0;
 -    // Setze im Calculator alle SetExpresion Felder, die bis zur
- // angegebenen Position (Node [ + ::com::sun::star::ucb::Content]) gueltig sind. Es kann
-    // eine erzeugte Liste aller Felder mit uebergegeben werden.
-    // (ist die Adresse != 0, und der Pointer == 0 wird eine neue
-    // Liste returnt.)
+
+ // In Calculator set all SetExpression fields that are valid up to the indicated position
+    // (Node [ + ::com::sun::star::ucb::Content]).
+    // A generated list of all fields may be passed along too
+ // (if the addreess != 0 and the pointer == 0 a new list will be returned). virtual void FldsToCalc(SwCalc& rCalc, ULONG nLastNd, sal_uInt16 nLastCnt) = 0;
 -    /**
-    */
virtual void FldsToCalc(SwCalc& rCalc, const _SetGetExpFld& rToThisFld) = 0;
 -    /**
-    */
virtual void FldsToExpand(SwHash**& ppTbl, sal_uInt16& rTblSize, const _SetGetExpFld& rToThisFld) = 0;
 -    /**
-    */
     virtual bool IsNewFldLst() const = 0;
 -    /**
-    */
     virtual void SetNewFldLst( bool bFlag) = 0;
 -    /**
-    */
     virtual void InsDelFldInFldLst(bool bIns, const SwTxtFld& rFld) = 0;
  protected:
--
1.7.1

From c027b32054bd6222aee64757d0e87af373ad421b Mon Sep 17 00:00:00 2001
From: Christoph Herzog <rhogez@googlemail.com>
Date: Fri, 7 Jan 2011 23:58:52 +0100
Subject: [PATCH] Transl. German comments in sw/inc/IDocumentFieldsAccess.hxx

---
 sw/inc/IDocumentFieldsAccess.hxx |   55 +++----------------------------------
 1 files changed, 5 insertions(+), 50 deletions(-)

diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 0beafdd..2e4e4b3 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -54,32 +54,18 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
  class IDocumentFieldsAccess
  {
  public:
-    /**
-    */
     virtual const SwFldTypes *GetFldTypes() const = 0;
 
-    /**
-    */
     virtual SwFieldType *InsertFldType(const SwFieldType &) = 0;
 
-    /**
-    */
     virtual SwFieldType *GetSysFldType( const sal_uInt16 eWhich ) const = 0;
 
-    /**
-    */
     virtual SwFieldType* GetFldType(sal_uInt16 nResId, const String& rName, bool bDbFieldMatching) 
const = 0;
 
-    /**
-    */
     virtual void RemoveFldType(sal_uInt16 nFld) = 0;
 
-    /**
-    */
     virtual void UpdateFlds( SfxPoolItem* pNewHt, bool bCloseDB) = 0;
 
-    /**
-    */
     virtual void InsDeletedFldType(SwFieldType &) = 0;
 
     /**
@@ -96,8 +82,6 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
     */
     virtual bool PutValueToField(const SwPosition & rPos, const com::sun::star::uno::Any& rVal, 
USHORT nWhich) = 0;
 
-    // rufe das Update der Expression Felder auf; alle Ausdruecke werden
-    // neu berechnet.
 
     /** Updates a field.
 
@@ -111,39 +95,22 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
     */
     virtual bool UpdateFld(SwTxtFld * rDstFmtFld, SwField & rSrcFld, SwMsgPoolItem * pMsgHnt, bool 
bUpdateTblFlds) = 0;
 
-    /**
-    */
     virtual void UpdateRefFlds(SfxPoolItem* pHt) = 0;
 
-    /**
-    */
     virtual void UpdateTblFlds(SfxPoolItem* pHt) = 0;
 
-    /**
-    */
     virtual void UpdateExpFlds(SwTxtFld* pFld, bool bUpdateRefFlds) = 0;
 
-    /**
-    */
     virtual void UpdateUsrFlds() = 0;
 
-    /**
-    */
     virtual void UpdatePageFlds(SfxPoolItem*) = 0;
 
-    /**
-    */
     virtual void LockExpFlds() = 0;
 
-    /**
-    */
     virtual void UnlockExpFlds() = 0;
 
-    /**
-    */
     virtual bool IsExpFldsLocked() const = 0;
 
-
     virtual SwDocUpdtFld& GetUpdtFlds() const = 0;
 
     /* @@@MAINTAINABILITY-HORROR@@@
@@ -152,35 +119,23 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } 
}
     */
     virtual bool SetFieldsDirty(bool b, const SwNode* pChk, ULONG nLen) = 0;
 
-    /**
-    */
     virtual void SetFixFields(bool bOnlyTimeDate, const DateTime* pNewDateTime) = 0;
 
-    // Setze im Calculator alle SetExpresion Felder, die bis zur
-    // angegebenen Position (Node [ + ::com::sun::star::ucb::Content]) gueltig sind. Es kann
-    // eine erzeugte Liste aller Felder mit uebergegeben werden.
-    // (ist die Adresse != 0, und der Pointer == 0 wird eine neue
-    // Liste returnt.)
+
+    // In Calculator set all SetExpression fields that are valid up to the indicated position
+    // (Node [ + ::com::sun::star::ucb::Content]).
+    // A generated list of all fields may be passed along too
+    // (if the addreess != 0 and the pointer == 0 a new list will be returned).
     virtual void FldsToCalc(SwCalc& rCalc, ULONG nLastNd, sal_uInt16 nLastCnt) = 0;
 
-    /**
-    */
     virtual void FldsToCalc(SwCalc& rCalc, const _SetGetExpFld& rToThisFld) = 0;
 
-    /**
-    */
     virtual void FldsToExpand(SwHash**& ppTbl, sal_uInt16& rTblSize, const _SetGetExpFld& 
rToThisFld) = 0;
 
-    /**
-    */
     virtual bool IsNewFldLst() const = 0;
 
-    /**
-    */
     virtual void SetNewFldLst( bool bFlag) = 0;
 
-    /**
-    */
     virtual void InsDelFldInFldLst(bool bIns, const SwTxtFld& rFld) = 0;
 
 protected:
-- 
1.7.1


Context


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.