Commit 94e4d131 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@55747 954022d7-b5bf-4e40-9824-e11837661b57
parent 6b9ac21e
......@@ -377,4 +377,11 @@ function GetLoadInfoForMeasurer(info, lStyle)
SrcBold : bSrcBold,
SrcItalic : bSrcItalic
};
};
\ No newline at end of file
};
CTextMeasurerWrapper.prototype["Init"] = CTextMeasurerWrapper.prototype.Init;
window["CreateTextMeasurerWrapper"] = function()
{
return new CTextMeasurerWrapper();
}
\ No newline at end of file
......@@ -241,5 +241,4 @@ function CFontManager()
// -------------------------------------------------
// declarate unused methods and objects
window["tmw"] = CTextMeasurerWrapper;
window["ftm"] = FT_Memory;
......@@ -250,7 +250,7 @@ function NativeOpenFile()
function NativeOpenFile2()
{
g_oTextMeasurer = new CTextMeasurerWrapper();
g_oTextMeasurer = window["CreateTextMeasurerWrapper"]();
g_oTextMeasurer.Init();
window.g_file_path = "native_open_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