#include <ie_exp_MsWord_97.h>
Public Member Functions | |
IE_Exp_MsWord_97 (PD_Document *pDocument) | |
~IE_Exp_MsWord_97 () | |
void | write (const char *sz) |
void | write (const char *sz, UT_uint32 length) |
Protected Member Functions | |
UT_Error | _writeDocument (void) |
bool | _openFile (const char *szFileName) |
UT_uint32 | _writeBytes (const UT_Byte *pBytes, UT_uint32 length) |
bool | _writeBytes (const UT_Byte *pBytes) |
bool | _closeFile (void) |
void | _abortFile (void) |
Private Attributes | |
s_MsWord_97_Listener * | m_pListener |
char * | fileName |
wvExporter * | m_pExporter |
Friends | |
class | s_MsWord_97_Listener |
IE_Exp_MsWord_97::IE_Exp_MsWord_97 | ( | PD_Document * | pDocument | ) |
References IE_Exp::m_error, and m_pListener.
IE_Exp_MsWord_97::~IE_Exp_MsWord_97 | ( | ) |
void IE_Exp_MsWord_97::_abortFile | ( | void | ) | [protected, virtual] |
Reimplemented from IE_Exp.
References _closeFile().
bool IE_Exp_MsWord_97::_closeFile | ( | void | ) | [protected] |
bool IE_Exp_MsWord_97::_openFile | ( | const char * | szFileName | ) | [protected, virtual] |
Reimplemented from IE_Exp.
References m_pExporter, UT_DEBUGMSG, and UT_return_val_if_fail.
UT_uint32 IE_Exp_MsWord_97::_writeBytes | ( | const UT_Byte * | pBytes, | |
UT_uint32 | length | |||
) | [protected, virtual] |
Reimplemented from IE_Exp.
References m_pExporter, UT_DEBUGMSG, UT_ERROR, and UT_return_val_if_fail.
Referenced by _writeBytes(), and write().
bool IE_Exp_MsWord_97::_writeBytes | ( | const UT_Byte * | pBytes | ) | [protected, virtual] |
Reimplemented from IE_Exp.
References _writeBytes(), and UT_return_val_if_fail.
UT_Error IE_Exp_MsWord_97::_writeDocument | ( | void | ) | [protected, virtual] |
Implements IE_Exp.
References DELETEP, IE_Exp::getDoc(), IE_Exp::getDocRange(), IE_Exp::m_error, m_pListener, s_MsWord_97_Listener, PD_Document::tellListener(), PD_Document::tellListenerSubset(), UT_IE_COULDNOTWRITE, and UT_OK.
void IE_Exp_MsWord_97::write | ( | const char * | sz | ) | [virtual] |
Reimplemented from IE_Exp.
void IE_Exp_MsWord_97::write | ( | const char * | sz, | |
UT_uint32 | length | |||
) | [virtual] |
Reimplemented from IE_Exp.
References _writeBytes(), and IE_Exp::m_error.
friend class s_MsWord_97_Listener [friend] |
Referenced by _writeDocument().
char* IE_Exp_MsWord_97::fileName [private] |
wvExporter* IE_Exp_MsWord_97::m_pExporter [private] |
Referenced by _closeFile(), _openFile(), s_MsWord_97_Listener::_outputData(), and _writeBytes().
Referenced by _writeDocument(), and IE_Exp_MsWord_97().