24#include <osl/thread.h>
42 eCharSet = RTL_TEXTENCODING_DONTKNOW;
52 if ( nTokenCount < 3 )
58 if( aToken.equalsIgnoreAsciiCase(
pStrFix ) )
66 if ( nTokenCount == 4 )
75 if ( nTokenCount >= 7 )
77 if ( nTokenCount >= 8 )
79 if ( nTokenCount >= 9 )
81 if ( nTokenCount >= 10 )
83 if ( nTokenCount >= 11 )
85 if ( nTokenCount >= 12 )
95 if ( nTokenCount >= 13 )
98 if (nTokenCount >= 14)
135 eCharSet = (nEnc == RTL_TEXTENCODING_DONTKNOW ?
136 osl_getThreadTextEncoding() : nEnc);
static bool isAsciiNumeric(std::u16string_view rStr)
static sal_Unicode GetWeightedFieldSep(const OUString &rFieldSeps, bool bDecodeNumbers)
From the import field separators obtain the one most likely to be used for export,...
static rtl_TextEncoding GetCharsetValue(std::u16string_view rCharSet)
static OUString GetCharsetString(rtl_TextEncoding eVal)
OUString BuildString() const
void SetTextEncoding(rtl_TextEncoding nEnc)
ScImportOptions(std::u16string_view rStr)
sal_Unicode nFieldSepCode
rtl_TextEncoding eCharSet
sal_Int32 getTokenCount(std::string_view rIn, char cTok)
sal_Int32 toInt32(std::u16string_view str, sal_Int16 radix=10)
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)