Public Member Functions | Protected Member Functions | Private Attributes

IE_Imp_MathML Class Reference

#include <ie_imp_MathML.h>

Inheritance diagram for IE_Imp_MathML:

List of all members.

Public Member Functions

 IE_Imp_MathML (PD_Document *pDocument, const IE_Imp_MathML_EntityTable &EntityTable)
virtual ~IE_Imp_MathML ()
virtual bool pasteFromBuffer (PD_DocumentRange *pDocRange, const unsigned char *pData, UT_uint32 lenData, const char *szEncoding=0)
const UT_ByteBufPtrgetByteBuf (void) const

Protected Member Functions

virtual UT_Error _loadFile (GsfInput *input)
UT_Error _parseStream (ImportStream *pStream)

Private Attributes

UT_ByteBufPtr m_pByteBuf
const IE_Imp_MathML_EntityTablem_EntityTable

Constructor & Destructor Documentation

IE_Imp_MathML::IE_Imp_MathML ( PD_Document pDocument,
const IE_Imp_MathML_EntityTable EntityTable 
IE_Imp_MathML::~IE_Imp_MathML ( void   )  [virtual]

Member Function Documentation

UT_Error IE_Imp_MathML::_loadFile ( GsfInput *  input  )  [protected, virtual]
UT_Error IE_Imp_MathML::_parseStream ( ImportStream pStream  )  [protected]

Parse stream contents into the document

stream Stream to import from

This code is used for both files and the clipboard

References IE_Imp_MathML_EntityTable::convert(), ImportStream::getChar(), m_EntityTable, m_pByteBuf, UT_ERROR, UT_OK, and UT_return_val_if_fail.

Referenced by _loadFile(), and pasteFromBuffer().

const UT_ByteBufPtr& IE_Imp_MathML::getByteBuf ( void   )  const [inline]

References m_pByteBuf.

Referenced by AbiMathView_FileInsert().

bool IE_Imp_MathML::pasteFromBuffer ( PD_DocumentRange pDocRange,
const unsigned char *  pData,
UT_uint32  lenData,
const char *  szEncoding = 0 
) [virtual]

Member Data Documentation

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