LibreOffice LibreOffice 4.1 SDK C/C++ API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs
textenc.h File Reference
`#include <sal/types.h>`

Go to the source code of this file.

## Macros
#define | RTL_TEXTENC_CAST(val) ((rtl_TextEncoding) val)
#define | RTL_TEXTENCODING_DONTKNOW (RTL_TEXTENC_CAST( 0 ))
#define | RTL_TEXTENCODING_MS_1252 (RTL_TEXTENC_CAST( 1 ))
#define | RTL_TEXTENCODING_APPLE_ROMAN (RTL_TEXTENC_CAST( 2 ))
#define | RTL_TEXTENCODING_IBM_437 (RTL_TEXTENC_CAST( 3 ))
#define | RTL_TEXTENCODING_IBM_850 (RTL_TEXTENC_CAST( 4 ))
#define | RTL_TEXTENCODING_IBM_860 (RTL_TEXTENC_CAST( 5 ))
#define | RTL_TEXTENCODING_IBM_861 (RTL_TEXTENC_CAST( 6 ))
#define | RTL_TEXTENCODING_IBM_863 (RTL_TEXTENC_CAST( 7 ))
#define | RTL_TEXTENCODING_IBM_865 (RTL_TEXTENC_CAST( 8 ))
#define | RTL_TEXTENCODING_SYMBOL (RTL_TEXTENC_CAST( 10 ))
#define | RTL_TEXTENCODING_ASCII_US (RTL_TEXTENC_CAST( 11 ))
#define | RTL_TEXTENCODING_ISO_8859_1 (RTL_TEXTENC_CAST( 12 ))
#define | RTL_TEXTENCODING_ISO_8859_2 (RTL_TEXTENC_CAST( 13 ))
#define | RTL_TEXTENCODING_ISO_8859_3 (RTL_TEXTENC_CAST( 14 ))
#define | RTL_TEXTENCODING_ISO_8859_4 (RTL_TEXTENC_CAST( 15 ))
#define | RTL_TEXTENCODING_ISO_8859_5 (RTL_TEXTENC_CAST( 16 ))
#define | RTL_TEXTENCODING_ISO_8859_6 (RTL_TEXTENC_CAST( 17 ))
#define | RTL_TEXTENCODING_ISO_8859_7 (RTL_TEXTENC_CAST( 18 ))
#define | RTL_TEXTENCODING_ISO_8859_8 (RTL_TEXTENC_CAST( 19 ))
#define | RTL_TEXTENCODING_ISO_8859_9 (RTL_TEXTENC_CAST( 20 ))
#define | RTL_TEXTENCODING_ISO_8859_14 (RTL_TEXTENC_CAST( 21 ))
#define | RTL_TEXTENCODING_ISO_8859_15 (RTL_TEXTENC_CAST( 22 ))
#define | RTL_TEXTENCODING_IBM_737 (RTL_TEXTENC_CAST( 23 ))
#define | RTL_TEXTENCODING_IBM_775 (RTL_TEXTENC_CAST( 24 ))
#define | RTL_TEXTENCODING_IBM_852 (RTL_TEXTENC_CAST( 25 ))
#define | RTL_TEXTENCODING_IBM_855 (RTL_TEXTENC_CAST( 26 ))
#define | RTL_TEXTENCODING_IBM_857 (RTL_TEXTENC_CAST( 27 ))
#define | RTL_TEXTENCODING_IBM_862 (RTL_TEXTENC_CAST( 28 ))
#define | RTL_TEXTENCODING_IBM_864 (RTL_TEXTENC_CAST( 29 ))
#define | RTL_TEXTENCODING_IBM_866 (RTL_TEXTENC_CAST( 30 ))
#define | RTL_TEXTENCODING_IBM_869 (RTL_TEXTENC_CAST( 31 ))
#define | RTL_TEXTENCODING_MS_874 (RTL_TEXTENC_CAST( 32 ))
#define | RTL_TEXTENCODING_MS_1250 (RTL_TEXTENC_CAST( 33 ))
#define | RTL_TEXTENCODING_MS_1251 (RTL_TEXTENC_CAST( 34 ))
#define | RTL_TEXTENCODING_MS_1253 (RTL_TEXTENC_CAST( 35 ))
#define | RTL_TEXTENCODING_MS_1254 (RTL_TEXTENC_CAST( 36 ))
#define | RTL_TEXTENCODING_MS_1255 (RTL_TEXTENC_CAST( 37 ))
#define | RTL_TEXTENCODING_MS_1256 (RTL_TEXTENC_CAST( 38 ))
#define | RTL_TEXTENCODING_MS_1257 (RTL_TEXTENC_CAST( 39 ))
#define | RTL_TEXTENCODING_MS_1258 (RTL_TEXTENC_CAST( 40 ))
#define | RTL_TEXTENCODING_APPLE_ARABIC (RTL_TEXTENC_CAST( 41 ))
#define | RTL_TEXTENCODING_APPLE_CENTEURO (RTL_TEXTENC_CAST( 42 ))
#define | RTL_TEXTENCODING_APPLE_CROATIAN (RTL_TEXTENC_CAST( 43 ))
#define | RTL_TEXTENCODING_APPLE_CYRILLIC (RTL_TEXTENC_CAST( 44 ))
#define | RTL_TEXTENCODING_APPLE_DEVANAGARI (RTL_TEXTENC_CAST( 45 ))
#define | RTL_TEXTENCODING_APPLE_FARSI (RTL_TEXTENC_CAST( 46 ))
#define | RTL_TEXTENCODING_APPLE_GREEK (RTL_TEXTENC_CAST( 47 ))
#define | RTL_TEXTENCODING_APPLE_GUJARATI (RTL_TEXTENC_CAST( 48 ))
#define | RTL_TEXTENCODING_APPLE_GURMUKHI (RTL_TEXTENC_CAST( 49 ))
#define | RTL_TEXTENCODING_APPLE_HEBREW (RTL_TEXTENC_CAST( 50 ))
#define | RTL_TEXTENCODING_APPLE_ICELAND (RTL_TEXTENC_CAST( 51 ))
#define | RTL_TEXTENCODING_APPLE_ROMANIAN (RTL_TEXTENC_CAST( 52 ))
#define | RTL_TEXTENCODING_APPLE_THAI (RTL_TEXTENC_CAST( 53 ))
#define | RTL_TEXTENCODING_APPLE_TURKISH (RTL_TEXTENC_CAST( 54 ))
#define | RTL_TEXTENCODING_APPLE_UKRAINIAN (RTL_TEXTENC_CAST( 55 ))
#define | RTL_TEXTENCODING_APPLE_CHINSIMP (RTL_TEXTENC_CAST( 56 ))
#define | RTL_TEXTENCODING_APPLE_CHINTRAD (RTL_TEXTENC_CAST( 57 ))
#define | RTL_TEXTENCODING_APPLE_JAPANESE (RTL_TEXTENC_CAST( 58 ))
#define | RTL_TEXTENCODING_APPLE_KOREAN (RTL_TEXTENC_CAST( 59 ))
#define | RTL_TEXTENCODING_MS_932 (RTL_TEXTENC_CAST( 60 ))
#define | RTL_TEXTENCODING_MS_936 (RTL_TEXTENC_CAST( 61 ))
#define | RTL_TEXTENCODING_MS_949 (RTL_TEXTENC_CAST( 62 ))
#define | RTL_TEXTENCODING_MS_950 (RTL_TEXTENC_CAST( 63 ))
#define | RTL_TEXTENCODING_SHIFT_JIS (RTL_TEXTENC_CAST( 64 ))
#define | RTL_TEXTENCODING_GB_2312 (RTL_TEXTENC_CAST( 65 ))
#define | RTL_TEXTENCODING_GBT_12345 (RTL_TEXTENC_CAST( 66 ))
#define | RTL_TEXTENCODING_GBK (RTL_TEXTENC_CAST( 67 ))
#define | RTL_TEXTENCODING_BIG5 (RTL_TEXTENC_CAST( 68 ))
#define | RTL_TEXTENCODING_EUC_JP (RTL_TEXTENC_CAST( 69 ))
#define | RTL_TEXTENCODING_EUC_CN (RTL_TEXTENC_CAST( 70 ))
#define | RTL_TEXTENCODING_EUC_TW (RTL_TEXTENC_CAST( 71 ))
#define | RTL_TEXTENCODING_ISO_2022_JP (RTL_TEXTENC_CAST( 72 ))
#define | RTL_TEXTENCODING_ISO_2022_CN (RTL_TEXTENC_CAST( 73 ))
#define | RTL_TEXTENCODING_KOI8_R (RTL_TEXTENC_CAST( 74 ))
#define | RTL_TEXTENCODING_UTF7 (RTL_TEXTENC_CAST( 75 ))
#define | RTL_TEXTENCODING_UTF8 (RTL_TEXTENC_CAST( 76 ))
#define | RTL_TEXTENCODING_ISO_8859_10 (RTL_TEXTENC_CAST( 77 ))
#define | RTL_TEXTENCODING_ISO_8859_13 (RTL_TEXTENC_CAST( 78 ))
#define | RTL_TEXTENCODING_EUC_KR (RTL_TEXTENC_CAST( 79 ))
#define | RTL_TEXTENCODING_ISO_2022_KR (RTL_TEXTENC_CAST( 80 ))
#define | RTL_TEXTENCODING_JIS_X_0201 (RTL_TEXTENC_CAST( 81 ))
#define | RTL_TEXTENCODING_JIS_X_0208 (RTL_TEXTENC_CAST( 82 ))
#define | RTL_TEXTENCODING_JIS_X_0212 (RTL_TEXTENC_CAST( 83 ))
#define | RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 ))
#define | RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 ))
#define | RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 ))
#define | RTL_TEXTENCODING_TIS_620 (RTL_TEXTENC_CAST( 87 ))
#define | RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 88 ))
#define | RTL_TEXTENCODING_ISCII_DEVANAGARI (RTL_TEXTENC_CAST( 89 ))
#define | RTL_TEXTENCODING_JAVA_UTF8 (RTL_TEXTENC_CAST( 90 ))
#define | RTL_TEXTENCODING_ADOBE_STANDARD (RTL_TEXTENC_CAST( 91 ))
#define | RTL_TEXTENCODING_ADOBE_SYMBOL (RTL_TEXTENC_CAST( 92 ))
#define | RTL_TEXTENCODING_PT154 (RTL_TEXTENC_CAST( 93 ))
#define | RTL_TEXTENCODING_ADOBE_DINGBATS (RTL_TEXTENC_CAST( 94 ))
#define | RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 ))
#define | RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF ))
#define | RTL_TEXTENCODING_UCS4 (RTL_TEXTENC_CAST( 0xFFFE ))
#define | RTL_TEXTENCODING_UCS2 (RTL_TEXTENC_CAST( 0xFFFF ))
#define | RTL_TEXTENCODING_UNICODE RTL_TEXTENCODING_UCS2

## Typedefs
typedef sal_uInt16 | rtl_TextEncoding
| The various supported text encodings. More...

## Macro Definition Documentation

#define RTL_TEXTENC_CAST | ( |  | val | ) | ((rtl_TextEncoding) val)

#define RTL_TEXTENCODING_ADOBE_DINGBATS (RTL_TEXTENC_CAST( 94 ))

#define RTL_TEXTENCODING_ADOBE_STANDARD (RTL_TEXTENC_CAST( 91 ))

#define RTL_TEXTENCODING_ADOBE_SYMBOL (RTL_TEXTENC_CAST( 92 ))

#define RTL_TEXTENCODING_APPLE_ARABIC (RTL_TEXTENC_CAST( 41 ))

#define RTL_TEXTENCODING_APPLE_CENTEURO (RTL_TEXTENC_CAST( 42 ))

#define RTL_TEXTENCODING_APPLE_CHINSIMP (RTL_TEXTENC_CAST( 56 ))

#define RTL_TEXTENCODING_APPLE_CHINTRAD (RTL_TEXTENC_CAST( 57 ))

#define RTL_TEXTENCODING_APPLE_CROATIAN (RTL_TEXTENC_CAST( 43 ))

#define RTL_TEXTENCODING_APPLE_CYRILLIC (RTL_TEXTENC_CAST( 44 ))

#define RTL_TEXTENCODING_APPLE_DEVANAGARI (RTL_TEXTENC_CAST( 45 ))

#define RTL_TEXTENCODING_APPLE_FARSI (RTL_TEXTENC_CAST( 46 ))

#define RTL_TEXTENCODING_APPLE_GREEK (RTL_TEXTENC_CAST( 47 ))

#define RTL_TEXTENCODING_APPLE_GUJARATI (RTL_TEXTENC_CAST( 48 ))

#define RTL_TEXTENCODING_APPLE_GURMUKHI (RTL_TEXTENC_CAST( 49 ))

#define RTL_TEXTENCODING_APPLE_HEBREW (RTL_TEXTENC_CAST( 50 ))

#define RTL_TEXTENCODING_APPLE_ICELAND (RTL_TEXTENC_CAST( 51 ))

#define RTL_TEXTENCODING_APPLE_JAPANESE (RTL_TEXTENC_CAST( 58 ))

#define RTL_TEXTENCODING_APPLE_KOREAN (RTL_TEXTENC_CAST( 59 ))

#define RTL_TEXTENCODING_APPLE_ROMAN (RTL_TEXTENC_CAST( 2 ))

#define RTL_TEXTENCODING_APPLE_ROMANIAN (RTL_TEXTENC_CAST( 52 ))

#define RTL_TEXTENCODING_APPLE_THAI (RTL_TEXTENC_CAST( 53 ))

#define RTL_TEXTENCODING_APPLE_TURKISH (RTL_TEXTENC_CAST( 54 ))

#define RTL_TEXTENCODING_APPLE_UKRAINIAN (RTL_TEXTENC_CAST( 55 ))

#define RTL_TEXTENCODING_ASCII_US (RTL_TEXTENC_CAST( 11 ))

#define RTL_TEXTENCODING_BIG5 (RTL_TEXTENC_CAST( 68 ))

#define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 ))

#define RTL_TEXTENCODING_DONTKNOW (RTL_TEXTENC_CAST( 0 ))

#define RTL_TEXTENCODING_EUC_CN (RTL_TEXTENC_CAST( 70 ))

#define RTL_TEXTENCODING_EUC_JP (RTL_TEXTENC_CAST( 69 ))

#define RTL_TEXTENCODING_EUC_KR (RTL_TEXTENC_CAST( 79 ))

#define RTL_TEXTENCODING_EUC_TW (RTL_TEXTENC_CAST( 71 ))

#define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 ))

#define RTL_TEXTENCODING_GB_2312 (RTL_TEXTENC_CAST( 65 ))

#define RTL_TEXTENCODING_GBK (RTL_TEXTENC_CAST( 67 ))

#define RTL_TEXTENCODING_GBT_12345 (RTL_TEXTENC_CAST( 66 ))

#define RTL_TEXTENCODING_IBM_437 (RTL_TEXTENC_CAST( 3 ))

#define RTL_TEXTENCODING_IBM_737 (RTL_TEXTENC_CAST( 23 ))

#define RTL_TEXTENCODING_IBM_775 (RTL_TEXTENC_CAST( 24 ))

#define RTL_TEXTENCODING_IBM_850 (RTL_TEXTENC_CAST( 4 ))

#define RTL_TEXTENCODING_IBM_852 (RTL_TEXTENC_CAST( 25 ))

#define RTL_TEXTENCODING_IBM_855 (RTL_TEXTENC_CAST( 26 ))

#define RTL_TEXTENCODING_IBM_857 (RTL_TEXTENC_CAST( 27 ))

#define RTL_TEXTENCODING_IBM_860 (RTL_TEXTENC_CAST( 5 ))

#define RTL_TEXTENCODING_IBM_861 (RTL_TEXTENC_CAST( 6 ))

#define RTL_TEXTENCODING_IBM_862 (RTL_TEXTENC_CAST( 28 ))

#define RTL_TEXTENCODING_IBM_863 (RTL_TEXTENC_CAST( 7 ))

#define RTL_TEXTENCODING_IBM_864 (RTL_TEXTENC_CAST( 29 ))

#define RTL_TEXTENCODING_IBM_865 (RTL_TEXTENC_CAST( 8 ))

#define RTL_TEXTENCODING_IBM_866 (RTL_TEXTENC_CAST( 30 ))

#define RTL_TEXTENCODING_IBM_869 (RTL_TEXTENC_CAST( 31 ))

#define RTL_TEXTENCODING_ISCII_DEVANAGARI (RTL_TEXTENC_CAST( 89 ))

#define RTL_TEXTENCODING_ISO_2022_CN (RTL_TEXTENC_CAST( 73 ))

#define RTL_TEXTENCODING_ISO_2022_JP (RTL_TEXTENC_CAST( 72 ))

#define RTL_TEXTENCODING_ISO_2022_KR (RTL_TEXTENC_CAST( 80 ))

#define RTL_TEXTENCODING_ISO_8859_1 (RTL_TEXTENC_CAST( 12 ))

#define RTL_TEXTENCODING_ISO_8859_10 (RTL_TEXTENC_CAST( 77 ))

#define RTL_TEXTENCODING_ISO_8859_13 (RTL_TEXTENC_CAST( 78 ))

#define RTL_TEXTENCODING_ISO_8859_14 (RTL_TEXTENC_CAST( 21 ))

#define RTL_TEXTENCODING_ISO_8859_15 (RTL_TEXTENC_CAST( 22 ))

#define RTL_TEXTENCODING_ISO_8859_2 (RTL_TEXTENC_CAST( 13 ))

#define RTL_TEXTENCODING_ISO_8859_3 (RTL_TEXTENC_CAST( 14 ))

#define RTL_TEXTENCODING_ISO_8859_4 (RTL_TEXTENC_CAST( 15 ))

#define RTL_TEXTENCODING_ISO_8859_5 (RTL_TEXTENC_CAST( 16 ))

#define RTL_TEXTENCODING_ISO_8859_6 (RTL_TEXTENC_CAST( 17 ))

#define RTL_TEXTENCODING_ISO_8859_7 (RTL_TEXTENC_CAST( 18 ))

#define RTL_TEXTENCODING_ISO_8859_8 (RTL_TEXTENC_CAST( 19 ))

#define RTL_TEXTENCODING_ISO_8859_9 (RTL_TEXTENC_CAST( 20 ))

#define RTL_TEXTENCODING_JAVA_UTF8 (RTL_TEXTENC_CAST( 90 ))

#define RTL_TEXTENCODING_JIS_X_0201 (RTL_TEXTENC_CAST( 81 ))

#define RTL_TEXTENCODING_JIS_X_0208 (RTL_TEXTENC_CAST( 82 ))

#define RTL_TEXTENCODING_JIS_X_0212 (RTL_TEXTENC_CAST( 83 ))

#define RTL_TEXTENCODING_KOI8_R (RTL_TEXTENC_CAST( 74 ))

#define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 88 ))

#define RTL_TEXTENCODING_MS_1250 (RTL_TEXTENC_CAST( 33 ))

#define RTL_TEXTENCODING_MS_1251 (RTL_TEXTENC_CAST( 34 ))

#define RTL_TEXTENCODING_MS_1252 (RTL_TEXTENC_CAST( 1 ))

#define RTL_TEXTENCODING_MS_1253 (RTL_TEXTENC_CAST( 35 ))

#define RTL_TEXTENCODING_MS_1254 (RTL_TEXTENC_CAST( 36 ))

#define RTL_TEXTENCODING_MS_1255 (RTL_TEXTENC_CAST( 37 ))

#define RTL_TEXTENCODING_MS_1256 (RTL_TEXTENC_CAST( 38 ))

#define RTL_TEXTENCODING_MS_1257 (RTL_TEXTENC_CAST( 39 ))

#define RTL_TEXTENCODING_MS_1258 (RTL_TEXTENC_CAST( 40 ))

#define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 ))

#define RTL_TEXTENCODING_MS_874 (RTL_TEXTENC_CAST( 32 ))

#define RTL_TEXTENCODING_MS_932 (RTL_TEXTENC_CAST( 60 ))

#define RTL_TEXTENCODING_MS_936 (RTL_TEXTENC_CAST( 61 ))

#define RTL_TEXTENCODING_MS_949 (RTL_TEXTENC_CAST( 62 ))

#define RTL_TEXTENCODING_MS_950 (RTL_TEXTENC_CAST( 63 ))

#define RTL_TEXTENCODING_PT154 (RTL_TEXTENC_CAST( 93 ))

#define RTL_TEXTENCODING_SHIFT_JIS (RTL_TEXTENC_CAST( 64 ))

#define RTL_TEXTENCODING_SYMBOL (RTL_TEXTENC_CAST( 10 ))

#define RTL_TEXTENCODING_TIS_620 (RTL_TEXTENC_CAST( 87 ))

#define RTL_TEXTENCODING_UCS2 (RTL_TEXTENC_CAST( 0xFFFF ))

#define RTL_TEXTENCODING_UCS4 (RTL_TEXTENC_CAST( 0xFFFE ))

#define RTL_TEXTENCODING_UNICODE RTL_TEXTENCODING_UCS2

#define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF ))

#define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 ))

#define RTL_TEXTENCODING_UTF7 (RTL_TEXTENC_CAST( 75 ))

#define RTL_TEXTENCODING_UTF8 (RTL_TEXTENC_CAST( 76 ))

## Typedef Documentation

typedef sal_uInt16 rtl_TextEncoding

The various supported text encodings.

Possible values include a wide range of single- and multi-byte encodings (ranging from RTL_TEXTENCODING_MS_1252 to RTL_TEXTENCODING_GB_18030), the ISO 10646 (Unicode) specific encodings RTL_TEXTENCODING_UCS4 and RTL_TEXTENCODING_UCS2 (aka RTL_TEXTENCODING_UNICODE), and RTL_TEXTENCODING_DONTKNOW to indicate an unknown or missing encoding.