Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Global Functions in Global Namespace C++
in Sourcefile tencinfo.h


rtl_getBestMimeCharsetFromTextEncoding
extern "C"
const sal_Char * rtl_getBestMimeCharsetFromTextEncoding(
rtl_TextEncoding eTextEncoding );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a text encoding to the best matching MIME charset.
Parameters
eTextEncoding
    Any rtl_TextEncoding value.

    
Return
The best matching MIME charset string, or null if none matches.

rtl_getBestUnixCharsetFromTextEncoding
extern "C"
const sal_Char * rtl_getBestUnixCharsetFromTextEncoding(
rtl_TextEncoding eTextEncoding );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a text encoding to the best matching Unix charset.
Parameters
eTextEncoding
    Any rtl_TextEncoding value.

    
Return
The best matching Unix charset string, or null if none matches.

rtl_getBestWindowsCharsetFromTextEncoding
extern "C"
sal_uInt8 rtl_getBestWindowsCharsetFromTextEncoding(
rtl_TextEncoding eTextEncoding );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a text encoding to the best matching numeric Windows charset.
Parameters
eTextEncoding
    Any rtl_TextEncoding value.

    
Return
The best matching numeric Windows charset, or 1 if none matches.

rtl_getTextEncodingFromMimeCharset
extern "C"
rtl_TextEncoding rtl_getTextEncodingFromMimeCharset(
const sal_Char * pMimeCharset );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a MIME charset to a text encoding.
Parameters
pMimeCharset
    Any MIME charset string.  Must not be null.

    
Return
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if no mapping is applicable.

rtl_getTextEncodingFromUnixCharset
extern "C"
rtl_TextEncoding rtl_getTextEncodingFromUnixCharset(
const sal_Char * pUnixCharset );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a Unix charset to a text encoding.
Parameters
pMimeCharset
    Any Unix charset string.  Must not be null.

    
Return
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if no mapping is applicable.

rtl_getTextEncodingFromWindowsCharset
extern "C"
rtl_TextEncoding rtl_getTextEncodingFromWindowsCharset(
sal_uInt8 nWinCharset );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Map from a numeric Windows charset to a text encoding.
Parameters
nWinCharset
    Any numeric Windows charset.

    
Return
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if no mapping is applicable.

rtl_getTextEncodingInfo
extern "C"
sal_Bool rtl_getTextEncodingInfo(
rtl_TextEncoding eTextEncoding,
rtl_TextEncodingInfo * pEncInfo );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Return information about a text encoding.
Parameters
eTextEncoding
    Any rtl_TextEncoding value.

    
pEncInfo
    Returns information about the given encoding.  Must not be null, and the
    StructSize member must be set correctly.

    
Return
True if information about the given encoding is available, false otherwise.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.