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