CGXExcelTable::ReadFromStream
virtual BOOL ReadFromStream(IStream* pStream, DWORD dwLength) = 0;
pStream
Stream to read from
dwLength
Length of record to read from
Remarks
With tables the read operation does not apply data immediately after the read as is the case with CGXExcelHandler. Table data is typically referenced and applied as part of the read code of handlers and other tables. For this reason there is no object instance that gets passed into a table’s ReadFromStream method. As with CGXExcelHandler the length of the data to be read includes the fixed header. The length of the fixed header for each record (for BIFF 8) is four bytes. Therefore the actual read should be for no more than dwLength – 4 bytes.
See Also
CGXExcelHandler::ReadFromStream CGXExcelTable::WriteToStream