Commit f41d0b69 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55584 954022d7-b5bf-4e40-9824-e11837661b57
parent b0601b9c
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
var oParser, wb, ws, date1, date2, dif = 1e-9, var oParser, wb, ws, date1, date2, dif = 1e-9,
data = getTestWorkbook(), data = getTestWorkbook(),
sData = data + ""; sData = data + "";
if ( c_oSerFormat.Signature === sData.substring( 0, c_oSerFormat.Signature.length ) ) { if ( Asc.c_oSerFormat.Signature === sData.substring( 0, Asc.c_oSerFormat.Signature.length ) ) {
var sUrlPath = "offlinedocs/"; var sUrlPath = "offlinedocs/";
var wb = new Workbook( sUrlPath, new Asc.asc_CHandlersList(), {} ); var wb = new Workbook( sUrlPath, new Asc.asc_CHandlersList(), {} );
// wb.initGlobalObjects(); // wb.initGlobalObjects();
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
g_oUndoRedoGraphicObjects = new UndoRedoGraphicObjects(wb); g_oUndoRedoGraphicObjects = new UndoRedoGraphicObjects(wb);
g_oIdCounter.Set_Load(false); g_oIdCounter.Set_Load(false);
var oBinaryFileReader = new BinaryFileReader( sUrlPath ); var oBinaryFileReader = new Asc.BinaryFileReader( sUrlPath );
oBinaryFileReader.Read( sData, wb ); oBinaryFileReader.Read( sData, wb );
} }
ws = wb.getWorksheet( wb.getActive() ); ws = wb.getWorksheet( wb.getActive() );
......
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