You've already forked lazarus-ccr
fpspreadsheet: Activate virtual reading mode for OOXML reader / fpsspeedtest
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3432 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -153,12 +153,6 @@ begin
|
||||
if not CgFormats.Checked[i] then
|
||||
continue;
|
||||
|
||||
// Currently no reader support for xlsx, skip test to avoid the exception.
|
||||
if SPREAD_FORMAT[i] = sfOOXML then begin
|
||||
Log := Log + ' n/a ';
|
||||
continue;
|
||||
end;
|
||||
|
||||
FCurFormat := SPREAD_FORMAT[i];
|
||||
StatusMsg('Reading ' + GetFileFormatName(FCurFormat));
|
||||
|
||||
|
@ -611,6 +611,9 @@ begin
|
||||
raise Exception.Create('unknown error type');
|
||||
end else
|
||||
raise Exception.Create('Unknown data type');
|
||||
|
||||
if FIsVirtualMode then
|
||||
Workbook.OnReadCellData(Workbook, rowIndex, colIndex, cell);
|
||||
end;
|
||||
|
||||
procedure TsSpreadOOXMLReader.ReadCellXfs(ANode: TDOMNode);
|
||||
|
Reference in New Issue
Block a user