From f0add820a11ca5e405ec35467303034287be34ec Mon Sep 17 00:00:00 2001 From: Daniel Di Marco Date: Mon, 15 Nov 2010 23:37:49 +0100 Subject: translated some comments from german -> english --- sw/inc/iodetect.hxx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'sw/inc/iodetect.hxx') diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index 2fbe4ff1cda8..eb15b77cc747 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -33,15 +33,15 @@ #include #include #include -#include // for ASSERT +//#include // for ASSERT #include #include -#define FILTER_RTF "RTF" // RTF-Filter +#define FILTER_RTF "RTF" // RTF filter #define sRtfWH "WH_RTF" -#define FILTER_TEXT "TEXT" // Text-Filter mit Default-CodeSet -#define FILTER_BAS "BAS" // StarBasic (identisch mit ANSI) -#define FILTER_WW8 "CWW8" // WinWord 97-Filter +#define FILTER_TEXT "TEXT" // text filter with default codeset +#define FILTER_BAS "BAS" // StarBasic (identical to ANSI) +#define FILTER_WW8 "CWW8" // WinWord 97 filter #define FILTER_TEXT_DLG "TEXT_DLG" // text filter with encoding dialog #define FILTER_XML "CXML" // XML filter #define FILTER_XMLV "CXMLV" // XML filter @@ -89,27 +89,27 @@ enum ReaderWriterEnum { extern SwIoDetect aFilterDetect[]; -// Die folgende Klasse ist ein Wrappe fuer die Basic-I/O-Funktionen -// des Writer 3.0. Alles ist statisch. Alle u.a. Filternamen sind die -// Writer-internen Namen, d.h. die namen, die in INSTALL.INI vor dem -// Gleichheitszeichen stehen, z.b. SWG oder ASCII. +// The following class is a wrapper for basic i/o functions of Writer 3.0. +// Everything is static. All filter names mentioned are Writer-internal +// names, i.e. the names in front of the equality sign in INSTALL.INI, like SWG +// or ASCII. class SwIoSystem { public: - // suche ueber den internen FormatNamen den Filtereintrag + // find for an internal format name the corresponding filter entry SW_DLLPUBLIC static const SfxFilter* GetFilterOfFormat( const String& rFormat, const SfxFilterContainer* pCnt = 0 ); - // Feststellen des zu verwendenden Filters fuer die uebergebene - // Datei. Der Filtername wird zurueckgeliefert. Konnte kein Filter - // zurueckgeliefert werden, wird der Name des ASCII-Filters geliefert! + // Detect for the given file which filter should be used. The filter name + // is returned. If no filter could be found, the name of the ASCII filter + // is returned! static const SfxFilter* GetFileFilter( const String& rFileName, const String& rPrefFltName, SfxMedium* pMedium = 0 ); - // Feststellen ob das File in dem vorgegebenen Format vorliegt. - // Z.z werden nur unsere eigene Filter unterstuetzt!! + // Detect whether the given file is in the given format. + // For now, only our own filters are supported! static BOOL IsFileFilter( SfxMedium& rMedium, const String& rFmtName, const SfxFilter** ppFlt = 0 ); -- cgit