Kaydet (Commit) f7d86140 authored tarafından Christoph Herzog's avatar Christoph Herzog

Translations of German comments.

üst 4f51d1b7
......@@ -352,16 +352,16 @@ public:
class SwHiddenTxtField : public SwField
{
String aTRUETxt; // Text wenn Bedingung sal_True
String aFALSETxt; // Wenn Bedingung falsch
String aContent; // Ausgewerteter DB-Text
String aTRUETxt; // Text if condition sal_True.
String aFALSETxt; // If condition false.
String aContent; // Evaluated DB-text.
String aCond; // Bedingung
String aCond; // Condition.
sal_uInt16 nSubType;
sal_Bool bCanToggle : 1; // kann das Feld einzeln getoggelt werden?
sal_Bool bIsHidden : 1; // ist es nicht sichtbar?
sal_Bool bValid : 1; // DB-Feld evaluiert?
sal_Bool bCanToggle : 1; // Can field be toggled alone?
sal_Bool bIsHidden : 1; // Is it not visible?
sal_Bool bValid : 1; // Is DB-field evaluated?
virtual String Expand() const;
virtual SwField* Copy() const;
......
......@@ -52,8 +52,8 @@ class SW_DLLPUBLIC SwFmtFrmSize: public SfxPoolItem
Size aSize;
SwFrmSize eFrmHeightType;
SwFrmSize eFrmWidthType;
sal_uInt8 nWidthPercent; //Fuer Tabellen kann die Breite in Prozent
sal_uInt8 nHeightPercent; //angegeben sein.
sal_uInt8 nWidthPercent;
sal_uInt8 nHeightPercent;
// For tables: width can be given in percent.
......
......@@ -66,15 +66,13 @@ enum REFERENCEMARK
};
/*--------------------------------------------------------------------
Beschreibung: Referenz holen
--------------------------------------------------------------------*/
// Get reference.
class SwGetRefFieldType : public SwFieldType
{
SwDoc* pDoc;
protected:
// ueberlagert, um alle Ref-Felder zu updaten
// Overlay in order to update all ref-fields.
virtual void Modify( const SfxPoolItem*, const SfxPoolItem * );
public:
SwGetRefFieldType(SwDoc* pDoc );
......@@ -89,9 +87,6 @@ public:
sal_uInt16* pStt, sal_uInt16* pEnd = 0 );
};
/*--------------------------------------------------------------------
Beschreibung: Referenzfeld
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwGetRefField : public SwField
{
......@@ -130,7 +125,7 @@ public:
void SetExpand( const String& rStr ) { sTxt = rStr; }
// SubType erfragen/setzen
// Get/set sub type.
virtual sal_uInt16 GetSubType() const;
virtual void SetSubType( sal_uInt16 n );
......@@ -143,11 +138,11 @@ public:
String GetExpandedTxtOfReferencedTxtNode() const;
// SequenceNo erfragen/setzen (nur fuer REF_SEQUENCEFLD interressant)
// Get/set SequenceNo (of interest only for REF_SEQUENCEFLD).
sal_uInt16 GetSeqNo() const { return nSeqNo; }
void SetSeqNo( sal_uInt16 n ) { nSeqNo = n; }
// Name der Referenz
// Name of reference.
virtual const String& GetPar1() const;
virtual void SetPar1(const String& rStr);
......
......@@ -34,7 +34,7 @@
class SW_DLLPUBLIC Ring
{
Ring *pNext;
Ring* pPrev; // zur Optimierung, damit das ein/ausketten schneller geht!
Ring* pPrev; // In order to speed up inserting and deleting.
protected:
Ring() { pNext = this; pPrev = this; }
......
......@@ -46,7 +46,7 @@ namespace com { namespace sun { namespace star {
namespace text { class XTextSection; }
} } }
// Forward Deklaration
class SwSectionFmt;
class SwDoc;
class SwSection;
......@@ -69,9 +69,9 @@ enum SectionType { CONTENT_SECTION,
enum LinkCreateType
{
CREATE_NONE, // nichts weiter tun
CREATE_CONNECT, // Link gleich connecten
CREATE_UPDATE // Link connecten und updaten
CREATE_NONE, // Do nothing.
CREATE_CONNECT, // Connect created link.
CREATE_UPDATE // Connect created link and update it.
};
class SW_DLLPUBLIC SwSectionData
......@@ -82,22 +82,22 @@ private:
String m_sSectionName;
String m_sCondition;
String m_sLinkFileName;
String m_sLinkFilePassword; // must be changed to Sequence
String m_sLinkFilePassword; // Must be changed to Sequence.
::com::sun::star::uno::Sequence <sal_Int8> m_Password;
/// it seems this flag caches the current final "hidden" state
/// It seems this flag caches the current final "hidden" state.
bool m_bHiddenFlag : 1;
/// flags that correspond to attributes in the format:
/// Flags that correspond to attributes in the format:
/// may have different value than format attribute:
/// format attr has value for this section, while flag is
/// effectively ORed with parent sections!
bool m_bProtectFlag : 1;
// edit in readonly sections
// Edit in readonly sections.
bool m_bEditInReadonlyFlag : 1;
bool m_bHidden : 1; // all paragraphs hidden?
bool m_bCondHiddenFlag : 1; // Hiddenflag for condition
bool m_bConnectFlag : 1; // connected to server?
bool m_bHidden : 1; // All paragraphs hidden?
bool m_bCondHiddenFlag : 1; // Hiddenflag for condition.
bool m_bConnectFlag : 1; // Connected to server?
public:
......@@ -155,15 +155,15 @@ public:
class SW_DLLPUBLIC SwSection
: public SwClient
{
// damit beim Anlegen/Loeschen von Frames das Flag richtig gepflegt wird!
// In order to correctly maintain the flag when creating/deleting frames.
friend class SwSectionNode;
// the "read CTOR" of SwSectionFrm have to change the Hiddenflag
// The "read CTOR" of SwSectionFrm have to change the Hiddenflag.
friend class SwSectionFrm;
private:
SwSectionData m_Data;
SwServerObjectRef m_RefObj; // set if DataServer
SwServerObjectRef m_RefObj; // Set if DataServer.
::sfx2::SvBaseLinkRef m_RefLink;
SW_DLLPRIVATE void ImplSetHiddenFlag(
......@@ -191,8 +191,8 @@ public:
SwSectionFmt* GetFmt() { return (SwSectionFmt*)GetRegisteredIn(); }
SwSectionFmt* GetFmt() const { return (SwSectionFmt*)GetRegisteredIn(); }
// setze die Hidden/Protected -> gesamten Baum updaten !
// (Attribute/Flags werden gesetzt/erfragt)
// Set hidden/protected -> update the whole tree!
// (Attributes/flags are set/get.)
bool IsHidden() const { return m_Data.IsHidden(); }
void SetHidden (bool const bFlag = true);
bool IsProtect() const;
......@@ -200,15 +200,15 @@ public:
bool IsEditInReadonly() const;
void SetEditInReadonly(bool const bFlag = true);
// erfrage die internen Flags (Zustand inklusive Parents nicht, was
// aktuell an der Section gesetzt ist!!)
// Get internal flags (state including parents, not what is
// currently set at section!).
bool IsHiddenFlag() const { return m_Data.IsHiddenFlag(); }
bool IsProtectFlag() const { return m_Data.IsProtectFlag(); }
bool IsEditInReadonlyFlag() const { return m_Data.IsEditInReadonlyFlag(); }
void SetCondHidden(bool const bFlag = true);
bool IsCondHidden() const { return m_Data.IsCondHidden(); }
// erfrage (auch ueber die Parents), ob diese Section versteckt sein soll.
// Query (also for parents) if this section is to be hidden.
sal_Bool CalcHiddenFlag() const;
......@@ -219,25 +219,25 @@ public:
const String& GetLinkFileName() const;
void SetLinkFileName(String const& rNew, String const*const pPassWd = 0);
// password of linked file (only valid during runtime!)
// Password of linked file (only valid during runtime!)
String const& GetLinkFilePassword() const
{ return m_Data.GetLinkFilePassword(); }
void SetLinkFilePassword(String const& rS)
{ m_Data.SetLinkFilePassword(rS); }
// get / set password of this section
// Get / set password of this section
::com::sun::star::uno::Sequence<sal_Int8> const& GetPassword() const
{ return m_Data.GetPassword(); }
void SetPassword(::com::sun::star::uno::Sequence <sal_Int8> const& rNew)
{ m_Data.SetPassword(rNew); }
// Daten Server-Methoden
// Data server methods.
void SetRefObject( SwServerObject* pObj );
const SwServerObject* GetObject() const { return & m_RefObj; }
SwServerObject* GetObject() { return & m_RefObj; }
bool IsServer() const { return m_RefObj.Is(); }
// Methoden fuer gelinkte Bereiche
// Methods for linked ranges.
sal_uInt16 GetUpdateType() const { return m_RefLink->GetUpdateMode(); }
void SetUpdateType(sal_uInt16 const nType )
{ m_RefLink->SetUpdateMode(nType); }
......@@ -255,12 +255,12 @@ public:
bool IsLinkType() const { return m_Data.IsLinkType(); }
// Flags fuer UI - Verbindung geklappt?
// Flags for UI. Did connection work?
bool IsConnectFlag() const { return m_Data.IsConnectFlag(); }
void SetConnectFlag(bool const bFlag = true)
{ m_Data.SetConnectFlag(bFlag); }
// return the TOX base class if the section is a TOX section
// Return the TOX base class if the section is a TOX section
const SwTOXBase* GetTOXBase() const;
void BreakLink();
......@@ -276,45 +276,45 @@ class SW_DLLPUBLIC SwSectionFmt
{
friend class SwDoc;
/** why does this exist in addition to the m_wXObject in SwFrmFmt?
/** Why does this exist in addition to the m_wXObject in SwFrmFmt?
in case of an index, both a SwXDocumentIndex and a SwXTextSection
register at this SwSectionFmt, so we need to have two refs.
*/
::com::sun::star::uno::WeakReference<
::com::sun::star::text::XTextSection> m_wXTextSection;
SW_DLLPRIVATE void UpdateParent(); // Parent wurde veraendert
SW_DLLPRIVATE void UpdateParent(); // Parent has been changed.
protected:
SwSectionFmt( SwSectionFmt* pDrvdFrm, SwDoc *pDoc );
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew );
public:
TYPEINFO(); //Bereits in Basisklasse Client drin.
TYPEINFO(); // Already contained in base class client.
~SwSectionFmt();
//Vernichtet alle Frms in aDepend (Frms werden per PTR_CAST erkannt).
// Deletes all Frms in aDepend (Frms are recognized via PTR_CAST).
virtual void DelFrms();
//Erzeugt die Ansichten
// Creates views.
virtual void MakeFrms();
// erfrage vom Format Informationen
// Get information from Format.
virtual sal_Bool GetInfo( SfxPoolItem& ) const;
SwSection* GetSection() const;
inline SwSectionFmt* GetParent() const;
inline SwSection* GetParentSection() const;
// alle Sections, die von dieser abgeleitet sind
// - sortiert nach : Name oder Position oder unsortiert
// - alle oder nur die, die sich im normalten Nodes-Array befinden
// All sections that are derived from this one:
// - sorted according to name or position or unsorted
// - all of them or only those that are in the normal Nodes-array.
sal_uInt16 GetChildSections( SwSections& rArr,
SectionSort eSort = SORTSECT_NOT,
sal_Bool bAllSections = sal_True ) const;
// erfrage, ob sich die Section im Nodes-Array oder UndoNodes-Array
// befindet.
// Query whether section is in Nodes-array or in UndoNodes-array.
sal_Bool IsInNodesArr() const;
SwSectionNode* GetSectionNode(bool const bEvenIfInUndo = false);
......@@ -322,7 +322,7 @@ public:
{ return const_cast<SwSectionFmt *>(this)
->GetSectionNode(bEvenIfInUndo); }
// ist die Section eine gueltige fuers GlobalDocument?
// Is section a valid one for global document?
const SwSection* GetGlobalDocSection() const;
SW_DLLPRIVATE ::com::sun::star::uno::WeakReference<
......
......@@ -30,9 +30,7 @@
#include <sfx2/shell.hxx>
/*--------------------------------------------------------------------
Beschreibung: Mapping fuer UI-Parameter
--------------------------------------------------------------------*/
// Mapping for UI-parameters
#define SW_BASESHELL (SFX_INTERFACE_SW_START + 1)
#define SW_TEXTSHELL (SFX_INTERFACE_SW_START + 2)
......
This diff is collapsed.
......@@ -44,7 +44,7 @@ struct SW_DLLPUBLIC ShellResource : public Resource
String aPostItPage;
String aPostItLine;
// Calc Fehlerstrings
// Calc error-strings.
String aCalc_Syntax;
String aCalc_ZeroDiv;
String aCalc_Brack;
......@@ -55,21 +55,21 @@ struct SW_DLLPUBLIC ShellResource : public Resource
String aCalc_Default;
String aCalc_Error;
// fuers GetRefFeld - oben/unten
// For GetRefField - up/down.
String aGetRefFld_Up;
String aGetRefFld_Down;
// for GetRefField - referenced item not found
// For GetRefField - referenced item not found.
String aGetRefFld_RefItemNotFound;
// fuer dynamisches Menu - String "alle"
// For dynamic menu - string "all".
String aStrAllPageHeadFoot;
// fuer einige Listboxen - String "keine"
// For some list boxes - string "none"
String aStrNone;
// fuer Felder, die Fixiert sind
// For fixed fields.
String aFixedStr;
// custom fields of type css::util::Duration
// Custom fields of type css::util::Duration.
String sDurationFormat;
//names of TOXs
//Names of TOXs.
String aTOXIndexName;
String aTOXUserName;
String aTOXContentName;
......@@ -82,7 +82,7 @@ struct SW_DLLPUBLIC ShellResource : public Resource
SvStringsDtor aDocInfoLst;
// die AutoFormat-Redline-Kommentare
// The autoFormat-Redline comments.
inline const SvStringsDtor& GetAutoFmtNameLst() const;
enum PageNameMode
......@@ -91,9 +91,9 @@ struct SW_DLLPUBLIC ShellResource : public Resource
FIRST_PAGE,
FOLLOW_PAGE
};
// returns for the specific filter the new names of pagedescs
// Returns for the specific filter the new names of pagedescs
// This method is for the old code of the specific filters with
// now localized names
// now localized names.
String GetPageDescName( sal_uInt16 nNo, PageNameMode eMode );
ShellResource();
......
......@@ -36,9 +36,7 @@
enum SwSortOrder { SRT_ASCENDING, SRT_DESCENDING };
enum SwSortDirection { SRT_COLUMNS, SRT_ROWS };
/*--------------------------------------------------------------------
Beschreibung: SortierSchluessel
--------------------------------------------------------------------*/
struct SW_DLLPUBLIC SwSortKey
{
SwSortKey();
......
......@@ -130,7 +130,7 @@ struct SwSpellArgs : SwArgsBase
* class SwInterHyphInfo
*************************************************************************/
// Parameter-Klasse fuer Hyphenate
// Parameter-class for Hyphenate.
// docedt.cxx: SwDoc::Hyphenate()
// txtedt.cxx: SwTxtNode::Hyphenate()
// txthyph.cxx: SwTxtFrm::Hyphenate()
......
......@@ -28,7 +28,6 @@
#ifndef _SW_ABSTDLG_HXX
#define _SW_ABSTDLG_HXX
// include ---------------------------------------------------------------
#include <tools/solar.h>
#include <tools/string.hxx>
......@@ -338,7 +337,7 @@ public:
};
//-------Swabstract fractory
// Swabstract fractory
class SwAbstractDialogFactory
{
public:
......
......@@ -38,13 +38,12 @@ class SwAutoCorrect : public SvxAutoCorrect
using SvxAutoCorrect::PutText;
protected:
// - return den Ersetzungstext (nur fuer SWG-Format, alle anderen
// koennen aus der Wortliste herausgeholt werden!)
// rShort ist der Stream-Name - gecryptet!
// Return replacement text (only for SWG-format, all others can be obtained from wordlist!).
// rShort is stream-name - encrypted!
virtual sal_Bool GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& , const String& rFileName, const String& rShort, String& rLong );
// - Text mit Attributierung (kann nur der SWG - SWG-Format!)
// rShort ist der Stream-Name - gecryptet!
// Text with attributes (only SWG-format!).
// rShort is stream-name - encrypted!
virtual sal_Bool PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String& rFileName, const String& rShort, SfxObjectShell& ,
String& );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment