Kaydet (Commit) f80f169f authored tarafından Christoph Herzog's avatar Christoph Herzog Kaydeden (comit) Thorsten Behrens

Translations of comments in writer/sw/inc

üst 534216a3
......@@ -52,14 +52,14 @@ namespace com { namespace sun { namespace star { namespace i18n {
typedef SwFieldType* SwFldTypePtr;
#define GROW_FLDTYPES 16
//PageDescriptor-Schnittstelle
//typedef SwPageDesc * SwPageDescPtr;
//SV_DECL_PTRARR_DEL(SwPageDescs, SwPageDescPtr,1,1);
// PageDescriptor-interface
// typedef SwPageDesc * SwPageDescPtr;
// SV_DECL_PTRARR_DEL(SwPageDescs, SwPageDescPtr,1,1);
typedef SwFrmFmt* SwFrmFmtPtr;
SV_DECL_PTRARR_DEL(SwFrmFmts,SwFrmFmtPtr,4,4)
//Spezifische Frameformate (Rahmen, DrawObjecte)
// Specific frame formats (frames, DrawObjects).
SV_DECL_PTRARR_DEL(SwSpzFrmFmts,SwFrmFmtPtr,0,4)
typedef SwCharFmt* SwCharFmtPtr;
......@@ -73,7 +73,8 @@ SV_DECL_PTRARR_DEL( SwTOXTypes, SwTOXTypePtr, 0, 1 )
// Undo
#define INIT_UNDOS 5
#define GROW_UNDOS 5
// Das Array der Undo-History
// Array of Undo-history.
typedef SwUndo* SwUndoPtr;
SV_DECL_PTRARR_DEL( SwUndos, SwUndoPtr, INIT_UNDOS, GROW_UNDOS )
......@@ -103,9 +104,9 @@ public:
void Remove( USHORT nP, USHORT nL = 1 );
void DeleteAndDestroy( USHORT nP, USHORT nL=1 );
// suche den naechsten oder vorherigen Redline mit dergleichen Seq.No
// Mit dem Lookahead kann die Suche eingeschraenkt werden. 0 oder
// USHRT_MAX suchen im gesamten Array.
// Search next or previous Redline with the same Seq. No.
// Search can be restricted via Lookahaed.
// Using 0 or USHRT_MAX makes search the whole array.
USHORT FindNextOfSeqNo( USHORT nSttPos, USHORT nLookahead = 20 ) const;
USHORT FindPrevOfSeqNo( USHORT nSttPos, USHORT nLookahead = 20 ) const;
USHORT FindNextSeqNo( USHORT nSeqNo, USHORT nSttPos,
......
......@@ -41,7 +41,7 @@ public:
SwDocFac( SwDoc *pDoc = 0 );
~SwDocFac();
// Das Dokument ist nach dem Aufruf von Read(..) angelegt
// Document is created after calling Read(...).
SwDoc* GetDoc();
};
......
......@@ -64,31 +64,31 @@ class IDocumentChartDataProviderAccess;
class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
{
SwDoc* pDoc; // Document
rtl::Reference< SfxStyleSheetBasePool > mxBasePool; // Durchreiche fuer Formate
FontList* pFontList; // aktuelle FontListe
// Nix geht ohne die WrtShell (historische Gruende)
// RuekwaertsPointer auf die View (historische Gruende)
// Dieser gilt solange bis im Activate ein neuer gesetzt wird
// oder dieser im Dtor der View geloescht wird
//
SwDoc* pDoc; // Document.
rtl::Reference< SfxStyleSheetBasePool > mxBasePool; // Passing through for formats.
FontList* pFontList; // Current Fontlist.
// For "historical reasons" nothing can be done without the WrtShell.
// Back-pointer on View (again "for historical reasons").
// Back-pointer is valid until in Activate a new one is set
// or until it is deleted in the View's Dtor.
SwView* pView;
SwWrtShell* pWrtShell;
Timer aFinishedTimer; // Timer fuers ueberpriefen der
// Grafik-Links. Sind alle da,
// dann ist Doc voll. geladen
Timer aFinishedTimer; // Timer for checking graphics-links.
// If all are present, the doc is loaded completely.
comphelper::EmbeddedObjectContainer* pOLEChildList;
sal_Int16 nUpdateDocMode; // contains the com::sun::star::document::UpdateDocMode
bool bInUpdateFontList; //prevent nested calls of UpdateFontList
bool bIsATemplate; //prevent nested calls of UpdateFontList
// Methoden fuer den Zugriff aufs Doc
// Methods for access to doc.
SW_DLLPRIVATE void AddLink();
SW_DLLPRIVATE void RemoveLink();
// Hint abfangen fuer DocInfo
// Catch hint for DocInfo.
SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
// FileIO
......@@ -102,14 +102,14 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
SW_DLLPRIVATE virtual USHORT PrepareClose( BOOL bUI = TRUE, BOOL bForBrowsing = FALSE );
// DocInfo dem Doc melden
//
// Make DocInfo known to the Doc.
SW_DLLPRIVATE virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog(
Window *pParent, const SfxItemSet &);
// OLE-Geraffel
// OLE-stuff
SW_DLLPRIVATE virtual void Draw( OutputDevice*, const JobSetup&, USHORT);
// Methoden fuer StyleSheets
// Methods for StyleSheets
SW_DLLPRIVATE USHORT Edit( const String &rName, const String& rParent, USHORT nFamily,
USHORT nMask, BOOL bNew,
BOOL bColumn = FALSE,
......@@ -124,7 +124,7 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener
USHORT nFamily, USHORT nMask, SwWrtShell* pShell = 0);
SW_DLLPRIVATE void InitDraw();
SW_DLLPRIVATE void SubInitNew(); // fuer InitNew und HtmlSourceModus
SW_DLLPRIVATE void SubInitNew(); // for InitNew and HtmlSourceMode.
SW_DLLPRIVATE void RemoveOLEObjects();
SW_DLLPRIVATE void CalcLayoutForOLEObjects();
......@@ -143,7 +143,7 @@ protected:
public:
using SotObject::GetInterface;
// aber selbst implementieren
// but we implement this ourselves.
SFX_DECL_INTERFACE(SW_DOCSHELL)
SFX_DECL_OBJECTFACTORY()
TYPEINFO();
......@@ -152,16 +152,16 @@ public:
static rtl::OUString GetEventName( sal_Int32 nId );
//Das Doc wird fuer SO-Datenaustausch benoetigt!
//Doc is required for SO data exchange!
SwDocShell( SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED );
SwDocShell( const sal_uInt64 i_nSfxCreationFlags );
SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode = SFX_CREATE_MODE_STANDARD );
~SwDocShell();
// OLE 2.0-Benachrichtigung
// OLE 2.0-notification.
DECL_LINK( Ole2ModifiedHdl, void * );
// OLE-Geraffel
// OLE-stuff.
virtual void SetVisArea( const Rectangle &rRect );
virtual Rectangle GetVisArea( USHORT nAspect ) const;
virtual Printer *GetDocumentPrinter();
......@@ -181,7 +181,7 @@ public:
void StateAlways(SfxItemSet &);
void StateStyleSheet(SfxItemSet&, SwWrtShell* pSh = 0 );
// Doc rausreichen aber VORSICHT
// returns Doc. But be careful!
inline SwDoc* GetDoc() { return pDoc; }
inline const SwDoc* GetDoc() const { return pDoc; }
IDocumentDeviceAccess* getIDocumentDeviceAccess();
......@@ -192,13 +192,13 @@ public:
void UpdateFontList();
void UpdateChildWindows();
// globaler IO
// global IO.
virtual BOOL Save();
// fuer VorlagenPI
// For Style PI.
virtual SfxStyleSheetBasePool* GetStyleSheetPool();
// Fuer Organizer
// For Organizer.
virtual BOOL Insert(SfxObjectShell &rSource,
USHORT nSourceIdx1,
USHORT nSourceIdx2,
......@@ -214,22 +214,22 @@ public:
virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily );
// View setzen fuer Aktionen ueber Shell
// Set View for actions via Shell.
void SetView(SwView* pVw);
const SwView *GetView() const { return pView; }
SwView *GetView() { return pView; }
// Zugriff auf die zur SwView gehoerige SwWrtShell
// Accress to the SwWrtShell belonging to SwView.
SwWrtShell *GetWrtShell() { return pWrtShell; }
const SwWrtShell *GetWrtShell() const { return pWrtShell; }
// fuer die Core - die kennt die DocShell aber keine WrtShell!
// For Core - it knows the DocShell but not the WrtShell!
SwFEShell *GetFEShell();
const SwFEShell *GetFEShell() const
{ return ((SwDocShell*)this)->GetFEShell(); }
// Fuer Einfuegen Dokument
// For inserting document.
Reader* StartConvertFrom(SfxMedium& rMedium, SwReader** ppRdr,
SwCrsrShell* pCrsrSh = 0, SwPaM* pPaM = 0);
......@@ -252,7 +252,7 @@ public:
void _LoadStyles( SfxObjectShell& rSource, BOOL bPreserveCurrentDocument );
// Seitenvorlagedialog anzeigen, ggf. auf Spaltenpage
// Display dialog for page style. If required display column page.
void FormatPage( const String& rPage,
BOOL bColumn = FALSE,
SwWrtShell* pActShell = 0 );
......@@ -264,10 +264,10 @@ public:
void LoadingFinished();
// eine Uebertragung wird abgebrochen (wird aus dem SFX gerufen)
// Cancel transfer (called from SFX).
virtual void CancelTransfers();
// Doc aus Html-Source neu laden
// Re-read Doc from Html-source.
void ReloadFromHtml( const String& rStreamName, SwSrcView* pSrcView );
sal_Int16 GetUpdateDocMode() const {return nUpdateDocMode;}
......
......@@ -47,7 +47,7 @@ class SwFrmFmt;
class SwNumRule;
/*--------------------------------------------------------------------
Beschreibung: Lokale Hilfsklasse
Local helper class.
--------------------------------------------------------------------*/
class SwPoolFmtList : public SvStringsDtor
{
......@@ -59,7 +59,7 @@ public:
/*--------------------------------------------------------------------
Beschreibung: temp. StyleSheet
Temporary StyleSheet.
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwDocStyleSheet : public SfxStyleSheetBase
{
......@@ -78,10 +78,10 @@ class SW_DLLPUBLIC SwDocStyleSheet : public SfxStyleSheetBase
BOOL bPhysical;
// leere Huelse zum richtigen StyleSheet (Core) machen
// Make empty shell a real StyleSheet (Core).
SW_DLLPRIVATE void Create();
// den StyleSheet mit Daten fuellen
// Fill StyleSheet with data.
enum FillStyleType {
FillOnlyName,
FillAllInfo,
......@@ -127,9 +127,8 @@ public:
virtual ULONG GetHelpId( String& rFile );
virtual void SetHelpId( const String& r, ULONG nId );
// Vorbelegen der member ohne physikalischen Zugriff
// wird vom StyleSheetPool benutzt
//
// Preset the members without physical access.
// Used by StyleSheetPool.
void PresetName(const String& rName) { aName = rName; }
void PresetNameAndFamily(const String& rName);
void PresetParent(const String& rName){ aParent = rName; }
......@@ -156,7 +155,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Iterator fuer den Pool
Iterator for Pool.
--------------------------------------------------------------------*/
class SwStyleSheetIterator : public SfxStyleSheetIterator, public SfxListener
......@@ -186,15 +185,12 @@ public:
virtual void Notify( SfxBroadcaster&, const SfxHint& );
};
/*--------------------------------------------------------------------
Beschreibung: Pool fuer
--------------------------------------------------------------------*/
class SwDocStyleSheetPool : public SfxStyleSheetBasePool
{
rtl::Reference< SwDocStyleSheet > mxStyleSheet;
SwDoc& rDoc;
BOOL bOrganizer : 1; // TRUE: fuer den Organizer
BOOL bOrganizer : 1; // TRUE: for Organizer.
virtual SfxStyleSheetBase* Create( const String&, SfxStyleFamily, USHORT nMask);
......@@ -233,7 +229,7 @@ public:
protected:
virtual ~SwDocStyleSheetPool();
//Fuer die daemlicheren Compiler
//For not-so-clever compilers.
private:
SwDocStyleSheetPool( const SwDocStyleSheetPool& );
};
......
......@@ -54,7 +54,7 @@ enum SwAuthorFormat
};
/*--------------------------------------------------------------------
Beschreibung: Untertyp der Dokumentstatistik
Subtype of document statistics.
--------------------------------------------------------------------*/
enum SwDocStatSubType
......@@ -99,7 +99,7 @@ namespace nsSwDocInfoSubType
}
enum RegInfoFormat // Nur noch zum laden alter Dokumente!!!
enum RegInfoFormat // Only for loading of old documents!!!
{
RF_AUTHOR,
RF_TIME,
......@@ -116,18 +116,18 @@ enum SwPageNumSubType
enum SwExtUserSubType
{
EU_COMPANY /*EU_FIRMA*/,
EU_FIRSTNAME /*EU_VORNAME*/,
EU_NAME /*EU_NAME*/,
EU_SHORTCUT /*EU_ABK*/,
EU_STREET /*EU_STRASSE*/,
EU_COUNTRY /*EU_LAND*/,
EU_ZIP /*EU_PLZ*/,
EU_CITY /*EU_ORT*/,
EU_TITLE /*EU_TITEL*/,
EU_POSITION /*EU_POS*/,
EU_PHONE_PRIVATE /*EU_TELPRIV*/,
EU_PHONE_COMPANY /*EU_TELFIRMA*/,
EU_COMPANY,
EU_FIRSTNAME,
EU_NAME,
EU_SHORTCUT,
EU_STREET,
EU_COUNTRY,
EU_ZIP,
EU_CITY,
EU_TITLE,
EU_POSITION,
EU_PHONE_PRIVATE,
EU_PHONE_COMPANY,
EU_FAX,
EU_EMAIL,
EU_STATE,
......@@ -145,7 +145,7 @@ enum SwJumpEditFormat
};
/*--------------------------------------------------------------------
Beschreibung: Seitennummer
Page number.
--------------------------------------------------------------------*/
class SwPageNumberFieldType : public SwFieldType
......@@ -164,7 +164,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Seitennummerierung
Page numbering.
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwPageNumberField : public SwField
......@@ -192,7 +192,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Autoren
Authors.
--------------------------------------------------------------------*/
class SwAuthorFieldType : public SwFieldType
......@@ -205,7 +205,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: AutorenFeld
Author field.
--------------------------------------------------------------------*/
class SwAuthorField : public SwField
......@@ -226,7 +226,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Filename
Filename
--------------------------------------------------------------------*/
class SwFileNameFieldType : public SwFieldType
......@@ -240,7 +240,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: FileName
FileNameField
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwFileNameField : public SwField
......@@ -261,7 +261,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: TemplName
TemplName
--------------------------------------------------------------------*/
class SwTemplNameFieldType : public SwFieldType
......@@ -275,7 +275,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: TemplName
TemplNameField
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwTemplNameField : public SwField
......@@ -291,7 +291,7 @@ public:
/*--------------------------------------------------------------------
Beschreibung: Docstatistik
Document statistics
--------------------------------------------------------------------*/
class SwDocStatFieldType : public SwFieldType
......@@ -308,7 +308,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Dokumentstatistik
DocStatField
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwDocStatField : public SwField
......@@ -331,7 +331,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: versteckter Text
Hidden text.
--------------------------------------------------------------------*/
class SwHiddenTxtFieldType : public SwFieldType
......@@ -347,7 +347,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Versteckter Text
HiddenTxtField
--------------------------------------------------------------------*/
class SwHiddenTxtField : public SwField
......@@ -403,7 +403,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Feld das zu einer Leerzeile (ohne Hoehe) expandiert
Field that expands to an empty line (without height).
--------------------------------------------------------------------*/
class SwHiddenParaFieldType : public SwFieldType
......@@ -415,7 +415,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Versteckter Absatz
Hidded paragraph.
--------------------------------------------------------------------*/
class SwHiddenParaField : public SwField
......@@ -423,7 +423,7 @@ class SwHiddenParaField : public SwField
String aCond;
BOOL bIsHidden:1;
public:
// Direkte Eingabe alten Wert loeschen
// Direct input, delete old value.
SwHiddenParaField(SwHiddenParaFieldType*, const String& rCond);
virtual String Expand() const;
......@@ -432,7 +432,7 @@ public:
void SetHidden(BOOL bHidden) { bIsHidden = bHidden; }
BOOL IsHidden() const { return bIsHidden; }
// Bedingung erfragen/setzen
//Query, set condition.
virtual const String& GetPar1() const;
virtual void SetPar1(const String& rStr);
virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const;
......@@ -440,7 +440,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Macro ausfuehren
Run Macro.
--------------------------------------------------------------------*/
class SwMacroFieldType : public SwFieldType
......@@ -454,7 +454,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Macrofeld
MacroField.
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwMacroField : public SwField
......@@ -464,7 +464,7 @@ class SW_DLLPUBLIC SwMacroField : public SwField
BOOL bIsScriptURL;
public:
// Direkte Eingabe alten Wert loeschen
// Direct input, delete old value.
SwMacroField( SwMacroFieldType*, const String& rLibAndName,
const String& rTxt);
......@@ -477,7 +477,7 @@ public:
virtual String Expand() const;
virtual SwField* Copy() const;
// Library und FileName
// Library and FileName
virtual const String& GetPar1() const;
virtual void SetPar1(const String& rStr);
......@@ -496,7 +496,7 @@ public:
/*--------------------------------------------------------------------
Beschreibung: PostIts
PostIts
--------------------------------------------------------------------*/
class SwPostItFieldType : public SwFieldType
......@@ -511,14 +511,14 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: PostIt
PostItField
--------------------------------------------------------------------*/
class SW_DLLPUBLIC SwPostItField : public SwField
{
String sTxt; // die Anmerkung
String sAuthor; // der Author
DateTime aDateTime; // Datum und Zeit der Anmerkung
String sTxt;
String sAuthor;
DateTime aDateTime;
OutlinerParaObject* mpText;
SwTextAPIObject* m_pTextObject;
......@@ -553,7 +553,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: DokumentInfo
DocumentInfo
--------------------------------------------------------------------*/
class SwDocInfoFieldType : public SwValueFieldType
......@@ -589,7 +589,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: erweiterte Benutzereinstellung
Extended User settings.
--------------------------------------------------------------------*/
......@@ -627,7 +627,7 @@ public:
/*--------------------------------------------------------------------
Beschreibung: Relatives Seitennummern - Feld
Relative page numbers - field.
--------------------------------------------------------------------*/
class SwRefPageSetFieldType : public SwFieldType
......@@ -636,12 +636,12 @@ public:
SwRefPageSetFieldType();
virtual SwFieldType* Copy() const;
// ueberlagert, weil es nichts zum Updaten gibt!
// Overlay, because there is nothing to update!
virtual void Modify( SfxPoolItem *, SfxPoolItem * );
};
/*--------------------------------------------------------------------
Beschreibung: Relative Seitennummerierung
Relative page numbering.
--------------------------------------------------------------------*/
class SwRefPageSetField : public SwField
......@@ -668,7 +668,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: relatives Seitennummern - Abfrage Feld
Relative page numbers - query field.
--------------------------------------------------------------------*/
class SwRefPageGetFieldType : public SwFieldType
......@@ -682,7 +682,7 @@ public:
SwRefPageGetFieldType( SwDoc* pDoc );
virtual SwFieldType* Copy() const;
// ueberlagert, um alle RefPageGet-Felder zu updaten
// Overlay in order to update all RefPageGet-fields.
virtual void Modify( SfxPoolItem *, SfxPoolItem * );
USHORT MakeSetList( _SetGetExpFlds& rTmpLst );
......@@ -690,7 +690,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Relative Seitennummerierung Abfragen
Query relative page numbering.
--------------------------------------------------------------------*/
class SwRefPageGetField : public SwField
......@@ -710,7 +710,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Feld zum Anspringen und Editieren
Field to jump to and edit.
--------------------------------------------------------------------*/
class SwJumpEditFieldType : public SwFieldType
......@@ -735,11 +735,11 @@ public:
virtual String Expand() const;
virtual SwField* Copy() const;
// Platzhalter-Text
// Placeholder-Text
virtual const String& GetPar1() const;
virtual void SetPar1(const String& rStr);
// HinweisText
// Hint-Text
virtual String GetPar2() const;
virtual void SetPar2(const String& rStr);
......@@ -750,7 +750,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Script Fieldtype
Script Fieldtype.
--------------------------------------------------------------------*/
class SwScriptFieldType : public SwFieldType
......@@ -763,16 +763,16 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Script Field
ScriptField.
--------------------------------------------------------------------*/
class SwScriptField : public SwField
{
String sType; // Type von Code (Java/VBScript/...)
String sCode; // der Code als Text
// der Code als JavaCode ?
String sType; // Type of Code (Java/VBScript/...)
String sCode; // Code as text.
// Code as JavaCode ?
BOOL bCodeURL; // Code enthaelt URL eines Scripts
BOOL bCodeURL; // Code contains URL of a script.
public:
SwScriptField( SwScriptFieldType*, const String& rType,
......@@ -797,7 +797,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Combined Character Fieldtype
Combined Character Fieldtype
--------------------------------------------------------------------*/
class SwCombinedCharFieldType : public SwFieldType
......@@ -809,7 +809,7 @@ public:
};
/*--------------------------------------------------------------------
Beschreibung: Script Field
ScriptField
--------------------------------------------------------------------*/
#define MAX_COMBINED_CHARACTERS 6
......
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