lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 1f7cfed4 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54120 954022d7-b5bf-4e40-9824-e11837661b57
parent e746a745
...@@ -241,6 +241,9 @@ function NativeOpenFile() ...@@ -241,6 +241,9 @@ function NativeOpenFile()
function NativeOpenFile2() function NativeOpenFile2()
{ {
g_oTextMeasurer = new CTextMeasurerWrapper();
g_oTextMeasurer.Init();
window.g_file_path = "native_open_file"; window.g_file_path = "native_open_file";
window.NATIVE_DOCUMENT_TYPE = window.native.GetEditorType(); window.NATIVE_DOCUMENT_TYPE = window.native.GetEditorType();
var doc_bin = window.native.GetFileString(window.g_file_path); var doc_bin = window.native.GetFileString(window.g_file_path);
...@@ -354,4 +357,8 @@ window.clearInterval = clearInterval; ...@@ -354,4 +357,8 @@ window.clearInterval = clearInterval;
window.setInterval = setInterval; window.setInterval = setInterval;
window["OfficeExcel"] = {type:'common'}; window["OfficeExcel"] = {type:'common'};
var OfficeExcel = window["OfficeExcel"]; var OfficeExcel = window["OfficeExcel"];
\ No newline at end of file
var console = {
log : function(param) { window.native.ConsoleLog(param); }
};
\ No newline at end of file
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