#include <ie_imp_T602.h>
Public Member Functions | |
IE_Imp_T602 (PD_Document *pDocument) | |
~IE_Imp_T602 () | |
Protected Member Functions | |
virtual UT_Error | _loadFile (GsfInput *input) |
UT_uint16 | _conv (unsigned char c) |
bool | _getbyte (unsigned char &c) |
UT_Error | _writeheader () |
UT_Error | _writeTP () |
UT_Error | _writePP () |
UT_Error | _writeSP () |
UT_Error | _write_fh (UT_String &fh, UT_uint32 id, bool hea) |
UT_Error | _ins (UT_uint16) |
UT_Error | _dotcom (unsigned char ch) |
UT_Error | _inschar (unsigned char c, bool eol) |
Private Attributes | |
GsfInput * | m_importFile |
int | m_charset |
UT_String | m_family |
UT_String | m_basefamily |
bool | m_softcr |
int | m_basesize |
int | m_size |
UT_String | m_lmargin |
UT_String | m_rmargin |
int | m_bold |
int | m_italic |
int | m_underline |
int | m_tpos |
int | m_big |
UT_String | m_color |
int | m_sfont |
bool | m_eol |
int | m_lheight |
UT_uint32 | m_footer |
UT_uint32 | m_header |
UT_uint32 | m_fhc |
UT_String | m_fbuff |
UT_String | m_hbuff |
bool | m_writeheader |
IE_Imp_T602::IE_Imp_T602 | ( | PD_Document * | pDocument | ) |
IE_Imp_T602::~IE_Imp_T602 | ( | ) |
UT_uint16 IE_Imp_T602::_conv | ( | unsigned char | c | ) | [protected] |
References m_charset.
Referenced by _inschar().
UT_Error IE_Imp_T602::_dotcom | ( | unsigned char | ch | ) | [protected] |
References _getbyte(), _ins(), _inschar(), _writeheader(), m_charset, m_eol, m_fbuff, m_fhc, m_footer, m_hbuff, m_header, m_lheight, m_writeheader, UCS_FF, UT_DEBUGMSG, and X_CheckT602Error.
Referenced by _inschar().
bool IE_Imp_T602::_getbyte | ( | unsigned char & | c | ) | [protected] |
References m_importFile, and UT_ASSERT.
Referenced by _dotcom(), and _loadFile().
References IE_Imp::appendSpan(), and X_CheckDocError.
Referenced by _dotcom(), and _inschar().
UT_Error IE_Imp_T602::_inschar | ( | unsigned char | c, | |
bool | eol | |||
) | [protected] |
References _conv(), _dotcom(), _ins(), _writeTP(), IE_Imp::appendStrux(), m_basefamily, m_basesize, m_big, m_bold, m_color, m_eol, m_family, m_italic, m_sfont, m_size, m_softcr, m_tpos, m_underline, PTX_Block, X_CheckDocError, and X_CheckT602Error.
Referenced by _dotcom(), _loadFile(), and _write_fh().
UT_Error IE_Imp_T602::_loadFile | ( | GsfInput * | input | ) | [protected, virtual] |
Implements IE_Imp.
References _getbyte(), _inschar(), _write_fh(), _writeheader(), m_eol, m_fbuff, m_footer, m_hbuff, m_header, m_importFile, m_writeheader, and X_CheckT602Error.
References _inschar(), _writePP(), _writeTP(), IE_Imp::appendObject(), IE_Imp::appendStrux(), UT_String::c_str(), m_bold, m_color, m_family, m_italic, m_size, m_tpos, m_underline, PTO_Field, PTX_Section, UT_DEBUGMSG, UT_std_string_sprintf(), X_CheckDocError, and X_CheckT602Error.
Referenced by _loadFile().
UT_Error IE_Imp_T602::_writeheader | ( | ) | [protected] |
References _writePP(), _writeSP(), _writeTP(), m_writeheader, and X_CheckT602Error.
Referenced by _dotcom(), and _loadFile().
UT_Error IE_Imp_T602::_writePP | ( | ) | [protected] |
References IE_Imp::appendStrux(), m_lheight, PTX_Block, UT_DEBUGMSG, UT_std_string_sprintf(), and X_CheckDocError.
Referenced by _write_fh(), and _writeheader().
UT_Error IE_Imp_T602::_writeSP | ( | ) | [protected] |
References IE_Imp::appendStrux(), UT_String::c_str(), m_footer, m_header, m_lmargin, m_rmargin, PTX_Section, UT_DEBUGMSG, UT_std_string_sprintf(), and X_CheckDocError.
Referenced by _writeheader().
UT_Error IE_Imp_T602::_writeTP | ( | ) | [protected] |
References IE_Imp::appendFmt(), UT_String::c_str(), gchar, m_bold, m_color, m_family, m_italic, m_size, m_tpos, m_underline, UT_DEBUGMSG, UT_String_sprintf(), and X_CheckDocError.
Referenced by _inschar(), _write_fh(), and _writeheader().
UT_String IE_Imp_T602::m_basefamily [private] |
Referenced by _inschar().
int IE_Imp_T602::m_basesize [private] |
Referenced by _inschar().
int IE_Imp_T602::m_big [private] |
Referenced by _inschar().
int IE_Imp_T602::m_bold [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
int IE_Imp_T602::m_charset [private] |
UT_String IE_Imp_T602::m_color [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
bool IE_Imp_T602::m_eol [private] |
Referenced by _dotcom(), _inschar(), and _loadFile().
UT_String IE_Imp_T602::m_family [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
UT_String IE_Imp_T602::m_fbuff [private] |
Referenced by _dotcom(), and _loadFile().
UT_uint32 IE_Imp_T602::m_fhc [private] |
Referenced by _dotcom().
UT_uint32 IE_Imp_T602::m_footer [private] |
Referenced by _dotcom(), _loadFile(), and _writeSP().
UT_String IE_Imp_T602::m_hbuff [private] |
Referenced by _dotcom(), and _loadFile().
UT_uint32 IE_Imp_T602::m_header [private] |
Referenced by _dotcom(), _loadFile(), and _writeSP().
GsfInput* IE_Imp_T602::m_importFile [private] |
Referenced by _getbyte(), and _loadFile().
int IE_Imp_T602::m_italic [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
int IE_Imp_T602::m_lheight [private] |
Referenced by _dotcom(), and _writePP().
UT_String IE_Imp_T602::m_lmargin [private] |
Referenced by _writeSP().
UT_String IE_Imp_T602::m_rmargin [private] |
Referenced by _writeSP().
int IE_Imp_T602::m_sfont [private] |
Referenced by _inschar().
int IE_Imp_T602::m_size [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
bool IE_Imp_T602::m_softcr [private] |
Referenced by _inschar().
int IE_Imp_T602::m_tpos [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
int IE_Imp_T602::m_underline [private] |
Referenced by _inschar(), _write_fh(), and _writeTP().
bool IE_Imp_T602::m_writeheader [private] |
Referenced by _dotcom(), _loadFile(), and _writeheader().