LibreOffice Module tools (master) 1
Functions
tenccvt.cxx File Reference
#include <rtl/tencinfo.h>
#include <tools/tenccvt.hxx>
Include dependency graph for tenccvt.cxx:

Go to the source code of this file.

Functions

rtl_TextEncoding GetExtendedCompatibilityTextEncoding (rtl_TextEncoding eEncoding)
 return an encoding which has more defined Characters as the given encoding, but have the same definition for the defined characters e.g. More...
 
rtl_TextEncoding GetExtendedTextEncoding (rtl_TextEncoding eEncoding)
 return an encoding which has more defined Characters as the given encoding. More...
 
rtl_TextEncoding GetOneByteTextEncoding (rtl_TextEncoding eEncoding)
 if the given encoding is an multi-byte encoding (which allows more than one byte per char, e.g. More...
 
rtl_TextEncoding GetSOLoadTextEncoding (rtl_TextEncoding eEncoding)
 
rtl_TextEncoding GetSOStoreTextEncoding (rtl_TextEncoding eEncoding)
 

Function Documentation

◆ GetExtendedCompatibilityTextEncoding()

rtl_TextEncoding GetExtendedCompatibilityTextEncoding ( rtl_TextEncoding  eEncoding)

return an encoding which has more defined Characters as the given encoding, but have the same definition for the defined characters e.g.

: windows-1252 for iso-8859-1 or windows-1254 for iso-8859-9

Definition at line 23 of file tenccvt.cxx.

Referenced by GetExtendedTextEncoding(), and GetSOLoadTextEncoding().

◆ GetExtendedTextEncoding()

rtl_TextEncoding GetExtendedTextEncoding ( rtl_TextEncoding  eEncoding)

return an encoding which has more defined Characters as the given encoding.

The encodings could be different. e.g.: windows-1251 for iso-8859-5

Definition at line 35 of file tenccvt.cxx.

References GetExtendedCompatibilityTextEncoding().

Referenced by GetSOStoreTextEncoding().

◆ GetOneByteTextEncoding()

rtl_TextEncoding GetOneByteTextEncoding ( rtl_TextEncoding  eEncoding)

if the given encoding is an multi-byte encoding (which allows more than one byte per char, e.g.

UTF-8 or Shift-JIS), a one-byte encoding is returned (normally windows-1252).

Definition at line 54 of file tenccvt.cxx.

Referenced by GetSOLoadTextEncoding(), and GetSOStoreTextEncoding().

◆ GetSOLoadTextEncoding()

rtl_TextEncoding GetSOLoadTextEncoding ( rtl_TextEncoding  eEncoding)

Definition at line 69 of file tenccvt.cxx.

References GetExtendedCompatibilityTextEncoding(), and GetOneByteTextEncoding().

◆ GetSOStoreTextEncoding()

rtl_TextEncoding GetSOStoreTextEncoding ( rtl_TextEncoding  eEncoding)

Definition at line 74 of file tenccvt.cxx.

References GetExtendedTextEncoding(), and GetOneByteTextEncoding().