Commit d0a0d896 authored by ElenaSubbotina's avatar ElenaSubbotina Committed by Alexander Trofimov

x2t - разрешение на поддержку xls версии 5.0

parent 9f3f79f5
......@@ -94,12 +94,18 @@ bool COfficeFileFormatChecker::isXlsFormatFile (POLE::Storage * storage)
{
if (storage == NULL) return false;
POLE::Stream stream(storage, "Workbook");
unsigned char buffer[10];
POLE::Stream stream(storage, "Workbook");
unsigned char buffer[10];
if (stream.read(buffer,10) >0)
return true;
POLE::Stream stream2(storage, "Book");
if (stream2.read(buffer,10) >0)
return true;
return false;
}
bool COfficeFileFormatChecker::isPptFormatFile (POLE::Storage * storage)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment