diff options
author | Caolán McNamara <cmc@openoffice.org> | 2002-08-13 13:52:35 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2002-08-13 13:52:35 +0000 |
commit | 5ea8591b52ec0cb6afdc0b2118ef258d91d4715d (patch) | |
tree | c04d7ec255008f75cbe96f616f3bbeb8a48c601e /sw/inc/shellio.hxx | |
parent | 1732f7f21f113f6341cf115f949a224dfe5de394 (diff) |
#102209# AutoDetect ucs2/utf8 byte marks
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r-- | sw/inc/shellio.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index 72e5ec0ff4e1..a47a36be544a 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -2,9 +2,9 @@ * * $RCSfile: shellio.hxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: mib $ $Date: 2002-06-24 12:51:56 $ + * last change: $Author: cmc $ $Date: 2002-08-13 14:52:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -668,7 +668,10 @@ public: static FASTBOOL IsValidStgFilter( SvStorage& , const SfxFilter& ); - static const SfxFilter* GetTextFilter( const sal_Char* pBuf, ULONG nLen ); + static bool IsDetectableText(const sal_Char* pBuf, ULONG &rLen, + CharSet *pCharSet=0, bool *pSwap=0, LineEnd *pLineEnd=0); + + static const SfxFilter* GetTextFilter(const sal_Char* pBuf, ULONG nLen); // gebe einen bestimmten Reader zurueck static Reader* GetReader( const String& rFltName ); |