Logo Search packages:      
Sourcecode: abiword version File versions

IE_Exp_Psion Class Reference

#include <ie_exp_Psion.h>

Inheritance diagram for IE_Exp_Psion:

IE_Exp_Psion_TextEd IE_Exp_Psion_Word

List of all members.

Detailed Description

Abstract base class for Psion exporters

The actual Word and TextEd exporters are derived from this class. Exporter classes are used to write an AbiWord file to disk. This specific implementation is meant for Psion files. It extends its base class with the _constructListener method, that should return a corresponding listener (a Psion Word listener for Psion Word exporters, and a Psion TextEd listener for Psion TextEd exporters). It also redefines the _writeDocument method, which you do not need to override in the derived classes.

Definition at line 205 of file ie_exp_Psion.h.

Public Member Functions

virtual UT_Error copyToBuffer (PD_DocumentRange *pDocRange, UT_ByteBuf *pBuf)
UT_Confidence_t getFidelity () const
virtual char * getFileName (void)
const UT_UTF8String * getProperty (const char *key)
 IE_Exp_Psion (PD_Document *pDocument)
bool isCopying () const
virtual char rewindChar (void)
void setProps (const char *props)
void write (const UT_String &inStr)
virtual void write (const char *sz, UT_uint32 length)
virtual void write (const char *sz)
UT_Error writeFile (const char *szFilename)

Static Public Member Functions

static UT_Error constructExporter (PD_Document *pDocument, const char *szFilename, IEFileType ieft, IE_Exp **ppie, IEFileType *pieft=NULL)
static const char * descriptionForFileType (IEFileType ieft)
static bool enumerateDlgLabels (UT_uint32 ndx, const char **pszDesc, const char **pszSuffixList, IEFileType *ft)
static IEFileType fileTypeForDescription (const char *szSuffix)
static IEFileType fileTypeForSuffix (const char *szSuffix)
static IEFileType fileTypeForSuffixes (const char *suffixList)
static UT_uint32 getExporterCount (void)
static void registerExporter (IE_ExpSniffer *)
static IE_ExpSniffer * snifferForFileType (IEFileType ieft)
static const char * suffixesForFileType (IEFileType ieft)
static void unregisterAllExporters ()
static void unregisterExporter (IE_ExpSniffer *)

Protected Member Functions

virtual void _abortFile (void)
void _cancelExport ()
virtual bool _closeFile (void)
virtual PL_Psion_Listener_constructListener (void)=0
virtual bool _openFile (const char *szFilename)
virtual bool _writeBytes (const UT_Byte *sz)
virtual UT_uint32 _writeBytes (const UT_Byte *pBytes, UT_uint32 length)
virtual UT_Error _writeDocument (void)
PD_DocumentgetDoc () const
PD_DocumentRangegetDocRange () const

Protected Attributes

bool m_error

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

Generated by  Doxygen 1.6.0   Back to index