Classes | Functions | Variables

ie_imp_StarOffice_encodings.cpp File Reference

#include "ut_types.h"
#include "ut_debugmsg.h"
#include "ut_iconv.h"
#include "ie_imp_StarOffice_encodings.h"

Classes

struct  SOEncoding

Functions

UT_iconv_t findConverter (UT_uint8 id)
 Given the charset ID from a staroffice file, returns an iconv handle, or (UT_iconv_t)(-1) if none is found.

Variables

struct SOEncoding SOEncodings []

Function Documentation

UT_iconv_t findConverter ( UT_uint8  id  ) 

Given the charset ID from a staroffice file, returns an iconv handle, or (UT_iconv_t)(-1) if none is found.

The handle must be closed with UT_iconv_close when it's no longer used.

References SOEncodings, UCS_INTERNAL, UT_DEBUGMSG, UT_iconv_isValid(), and UT_iconv_open().

Referenced by IE_Imp_StarOffice::_loadFile(), DocHdr::load(), and SDWDocInfo::load().


Variable Documentation

Referenced by findConverter().