Public Member Functions | Protected Member Functions | Private Attributes

IE_Exp_Text Class Reference

#include <ie_exp_Text.h>

Inheritance diagram for IE_Exp_Text:
IE_Exp IE_Exp_EML IE_Exp_ISCII IE_Exp_PalmDoc

List of all members.

Public Member Functions

 IE_Exp_Text (PD_Document *pDocument, bool bEncoded=false)
 IE_Exp_Text (PD_Document *pDocument, const char *encoding)
virtual ~IE_Exp_Text ()

Protected Member Functions

virtual PL_Listener_constructListener (void)
virtual UT_Error _writeDocument (void)
bool _doEncodingDialog (const char *szEncoding)
void _setEncoding (const char *szEncoding)

Private Attributes

bool m_bIsEncoded
const char * m_szEncoding
bool m_bExplicitlySetEncoding
bool m_bIs16Bit
bool m_bUnicode
bool m_bBigEndian
bool m_bUseBOM

Constructor & Destructor Documentation

IE_Exp_Text::IE_Exp_Text ( PD_Document pDocument,
const char *  encoding 
IE_Exp_Text::~IE_Exp_Text (  )  [virtual]

Member Function Documentation

PL_Listener * IE_Exp_Text::_constructListener ( void   )  [protected, virtual]
bool IE_Exp_Text::_doEncodingDialog ( const char *  szEncoding  )  [protected]
void IE_Exp_Text::_setEncoding ( const char *  szEncoding  )  [protected]

Set exporter's encoding and related members

szEncoding Encoding to export file into

Decides endian and BOM policy based on encoding. Set to 0 to handle raw bytes. This function should be identical to the one in IE_Imp_Text.

References XAP_EncodingManager::get_instance(), XAP_EncodingManager::getUCS2BEName(), XAP_EncodingManager::getUCS2LEName(), m_bBigEndian, m_bIs16Bit, m_bUnicode, m_bUseBOM, and m_szEncoding.

Referenced by _constructListener(), _doEncodingDialog(), _writeDocument(), and IE_Exp_Text().

Member Data Documentation

bool IE_Exp_Text::m_bIs16Bit [private]

Referenced by _constructListener(), and _setEncoding().

bool IE_Exp_Text::m_bIsEncoded [private]

Referenced by _writeDocument(), and IE_Exp_Text().

bool IE_Exp_Text::m_bUnicode [private]

Referenced by _constructListener(), and _setEncoding().

bool IE_Exp_Text::m_bUseBOM [private]

Referenced by _constructListener(), and _setEncoding().

The documentation for this class was generated from the following files: