diff options
author | Daniel Di Marco <d.dimarco@gmx.de> | 2010-11-15 23:37:49 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-11-16 06:40:23 +0100 |
commit | f0add820a11ca5e405ec35467303034287be34ec (patch) | |
tree | b2ab38b2af694e53d323c837bbbba43fd0b8129a /sw/inc/iodetect.hxx | |
parent | ba00765e6bbcbca6bb53a705e6cb041c04502bda (diff) |
translated some comments from german -> english
Diffstat (limited to 'sw/inc/iodetect.hxx')
-rw-r--r-- | sw/inc/iodetect.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
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 <sfx2/docfile.hxx> #include <sfx2/fcontnr.hxx> #include <osl/endian.h> -#include <errhdl.hxx> // for ASSERT +//#include <errhdl.hxx> // for ASSERT #include <tools/string.hxx> #include <swdllapi.h> -#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 ); |