Commit 2fda0124 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47547 954022d7-b5bf-4e40-9824-e11837661b57
parent 7a57b3ea
......@@ -2484,6 +2484,10 @@ function DrawingObjects() {
return (_t.worksheet ? _t.worksheet.model.workbook : null);
}
_t.getCanvasContext = function() {
return shapeCtx.m_oContext;
}
// Проверяет выход за границы
_t.canDraw = function() {
var result = true;
......@@ -3256,7 +3260,7 @@ function DrawingObjects() {
_this.addGraphicObject = function(x, y, extX, extY, flipH, flipV, presetGeom) {
var obj = _this.createDrawingObject();
obj.graphicObject = new CShape(_this);
obj.graphicObject = new CShape(obj);
obj.graphicObject.initDefault(x, y, extX, extY, flipH, flipV, presetGeom);
aObjects.push(obj);
_this.showDrawingObjects(false);
......
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