Commit 98883119 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete OfficeExcel

delete drawingCtxCharts

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57137 954022d7-b5bf-4e40-9824-e11837661b57
parent 5912160a
......@@ -358,19 +358,16 @@ function GetNativeId()
return window.native.GetFileId();
}
function clearTimeout() {};
function setTimeout() {};
function clearInterval() {};
function setInterval() {};
function clearTimeout() {}
function setTimeout() {}
function clearInterval() {}
function setInterval() {}
window.clearTimeout = clearTimeout;
window.setTimeout = setTimeout;
window.clearInterval = clearInterval;
window.setInterval = setInterval;
window["OfficeExcel"] = {type:'common'};
var OfficeExcel = window["OfficeExcel"];
var console = {
log : function(param) { window.native.ConsoleLog(param); }
};
......
......@@ -125,7 +125,6 @@
this.drawingGraphicCtx = undefined;
this.overlayGraphicCtx = undefined;
this.stringRender = undefined;
this.drawingCtxCharts = undefined;
// Комментарии для всего документа
this.cellCommentator = null;
......@@ -198,8 +197,6 @@
this.drawingGraphicCtx = this.buffers.mainGraphic;
this.overlayGraphicCtx = this.buffers.overlayGraphic;
this.drawingCtxCharts = asc_DC({units: 1/*pt*/, fmgrGraphics: this.fmgrGraphics, font: this.m_oFont});
// Обновляем размеры (чуть ниже, потому что должны быть проинициализированы ctx)
this._canResize();
......@@ -1324,7 +1321,6 @@
// ToDo перепроверить на новых исходниках, должно поправиться, был баг в отрисовке!!!!!!!!!!!!!
this.drawingCtx.initContextSmoothing();
this.overlayCtx.initContextSmoothing();
this.drawingCtxCharts.initContextSmoothing();
return true;
};
......@@ -1367,7 +1363,6 @@
this.buffers.overlay.changeZoom(factor);
this.buffers.mainGraphic.changeZoom(factor);
this.buffers.overlayGraphic.changeZoom(factor);
this.drawingCtxCharts.changeZoom(factor);
// Нужно сбросить кэш букв
var i, length;
for (i = 0, length = this.fmgrGraphics.length; i < length; ++i)
......
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