CGXExcelHandler::WriteToStream

virtual BOOL WriteToStream(IStream* pStream, gxexpointer p, DWORD& dwLength);

pStream

Stream to write data to.

p

Pointer that contains data for the write operation

dwLength

The length of data that was written out should be added to this variable.

Remarks

For a description og gxexpointer please refer to CGXExcelHandler::ReadFromStream. The write operation takes place as a single step translation from the grid object that is passed in to a buffer that is written out to the stream. The object decides on the types of objects that it can translate. Most objects will translate only one kind of object. But it is possible for an object to translate several kinds of objects (for example a CGXGridParan and CGXData since the CGXData object can be accessed from the parameter object)

If you are writing your derived CGXExcelHandler class please refer to the ‘Excel Introduction documentation’that is installed with Objective Grid Pro for notes on helper classes that can aid with the write operation.

See Also

 CGXExcelHandler::ReadFromStream  CGXExcelHandler::InitializeCore  CGXExcelHandler::InitializeParam  CGXExcelHandler::InitializeStyle  CGXExcelHandler::InitializeData

CGXExcelHandler

 Class Overview |  Class Members