<< Return to Main Index

< Return to Class Index

CGXExcelReaderImpl::OnWriteHandlerNotFound

virtual BOOL OnWriteHandlerNotFound(int type, LPSTREAM pstm, DWORD& dwLength);

type

the handler type as documented in the Excel SDK

pstm

Pointer to an Istream interface

dwLength

The length count

Remarks

This funtion will be called if there is a handler or table that is specified in the write map but is not located when performaing the actual write operation. This is a good place to add support for certain fields especially if they are always the same length and composition. It is also a good place for testing the writing of fields with sample data. The length count dwLength is to be incremented if you do perform a write operation.

See Also

CGXExcelHandler::WriteToStream CGXExcelTable::WriteToStream

CGXExcelReaderImpl

Class Overview | Class Members