summaryrefslogtreecommitdiff
path: root/sw/inc/inetfld.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/inetfld.hxx')
-rw-r--r--sw/inc/inetfld.hxx22
1 files changed, 10 insertions, 12 deletions
diff --git a/sw/inc/inetfld.hxx b/sw/inc/inetfld.hxx
index 4160928ea8ce..8cb71f655f6b 100644
--- a/sw/inc/inetfld.hxx
+++ b/sw/inc/inetfld.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36,9 +37,7 @@ class SwINetField;
class SwCharFmt;
class SwDoc;
-/*--------------------------------------------------------------------
- Beschreibung: InterNet-FieldType -> Lade Document mit der URL
- --------------------------------------------------------------------*/
+// InterNet-FieldType -> Load document with URL
class SwINetFieldType : public SwFieldType
{
@@ -56,15 +55,14 @@ public:
SwDoc* GetDoc() const { return pDoc; }
};
-/*--------------------------------------------------------------------
- Beschreibung: InterNet-Field -> Lade Document mit der URL
- --------------------------------------------------------------------*/
+
+// InterNet-Field -> Load document with URL
class SwINetField : public SwField
{
friend class SwINetFieldType;
- String sTargetFrameName; // in diesen Frame soll die URL
+ String sTargetFrameName; // Frame to put the URL.
String sURL;
String sText;
SvxMacroTableDtor* pMacroTbl;
@@ -73,7 +71,7 @@ class SwINetField : public SwField
virtual SwField* Copy() const;
public:
- // Direkte Eingabe alten Wert loeschen
+ // Direct input, delete old value.
SwINetField( SwINetFieldType* pTyp, sal_uInt16 nFmt,
const String& rURL, const String& rText );
virtual ~SwINetField();
@@ -84,11 +82,11 @@ public:
virtual const String& GetPar1() const;
virtual void SetPar1(const String& rStr);
- // HinweisText
+ // Information text.
virtual String GetPar2() const;
virtual void SetPar2(const String& rStr);
- // das ist das akt. Zeichenformat
+ // Current character format.
SwCharFmt* GetCharFmt();
const SwCharFmt* GetCharFmt() const
{ return ((SwINetField*)this)->GetCharFmt(); }
@@ -96,11 +94,10 @@ public:
const String& GetTargetFrameName() const { return sTargetFrameName; }
void SetTargetFrameName( const String& rNm ) { sTargetFrameName = rNm; }
- // setze eine neue oder loesche die akt. MakroTabelle
+ // Set new or delete old MacroTable.
void SetMacroTbl( const SvxMacroTableDtor* pTbl = 0 );
const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; }
- // setze / erfrage ein Makro
void SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro );
const SvxMacro* GetMacro( sal_uInt16 nEvent ) const;
};
@@ -108,3 +105,4 @@ public:
#endif // SW_INETFLD_HXX
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */