24 #include <osl/thread.h>
42 eCharSet = RTL_TEXTENCODING_DONTKNOW;
51 if ( nTokenCount < 3 )
57 if( aToken.equalsIgnoreAsciiCase(
pStrFix ) )
65 if ( nTokenCount == 4 )
74 if ( nTokenCount >= 7 )
76 if ( nTokenCount >= 8 )
78 if ( nTokenCount >= 9 )
80 if ( nTokenCount >= 10 )
82 if ( nTokenCount >= 11 )
84 if ( nTokenCount >= 12 )
94 if ( nTokenCount >= 13 )
130 eCharSet = (nEnc == RTL_TEXTENCODING_DONTKNOW ?
131 osl_getThreadTextEncoding() : nEnc);
sal_Unicode nFieldSepCode
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)
static rtl_TextEncoding GetCharsetValue(std::u16string_view rCharSet)
static OUString GetCharsetString(rtl_TextEncoding eVal)
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, if multiple separators weighted comma, tab, semicolon, space and other.
sal_Int32 getTokenCount(std::string_view rIn, char cTok)
ScImportOptions(std::u16string_view rStr)
sal_Int32 toInt32(std::u16string_view str, sal_Int16 radix=10)
void SetTextEncoding(rtl_TextEncoding nEnc)
OUString BuildString() const
rtl_TextEncoding eCharSet