Public Member Functions | Protected Member Functions | Private Attributes

IE_Imp_Object Class Reference

#include <ie_imp_GOChart.h>

Inheritance diagram for IE_Imp_Object:

List of all members.

Public Member Functions

 IE_Imp_Object (PD_Document *pDocument)
virtual ~IE_Imp_Object ()
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

Constructor & Destructor Documentation

IE_Imp_Object::IE_Imp_Object ( PD_Document pDocument  ) 
IE_Imp_Object::~IE_Imp_Object ( void   )  [virtual]

Member Function Documentation

UT_Error IE_Imp_Object::_loadFile ( GsfInput *  input  )  [protected, virtual]
UT_Error IE_Imp_Object::_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 FV_View::cmdInsertEmbed(), FV_View::cmdSelect(), XAP_App::getApp(), ImportStream::getChar(), XAP_Frame::getCurrentView(), XAP_App::getLastFocussedFrame(), FV_View::getPoint(), m_pByteBuf, UT_ERROR, and UT_return_val_if_fail.

Referenced by _loadFile(), and pasteFromBuffer().

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

References m_pByteBuf.

bool IE_Imp_Object::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: