Commit f3be3aef authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

lockType for other graphics

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48935 954022d7-b5bf-4e40-9824-e11837661b57
parent 4608861c
......@@ -2735,6 +2735,8 @@ function DrawingObjects() {
if ( drawingObject && drawingObject.graphicObject ) {
var boundsChecker = new CSlideBoundsChecker();
boundsChecker.init(1, 1, 1, 1);
boundsChecker.transform3(drawingObject.graphicObject.transform);
boundsChecker.rect(0,0, drawingObject.graphicObject.extX, drawingObject.graphicObject.extY);
drawingObject.graphicObject.draw(boundsChecker);
boundsChecker.CorrectBounds();
// Коррекция для селекта при блокировке
......
......@@ -17,6 +17,7 @@ function CChartAsGroup(drawingBase, drawingObjects)
this.y = null;
this.extX = null;
this.extY = null;
this.lockType = c_oAscLockTypes.kLockTypeNone;
this.spPr.geometry = CreateGeometry("rect");
this.spPr.geometry.Init(5, 5);
......
......@@ -18,7 +18,7 @@ function CGroupShape(drawingBase, drawingObjects)
this.selectedObjects = [];
this.group = null;
this.lockType = c_oAscLockTypes.kLockTypeNone;
this.recalcInfo =
{
......
......@@ -44,6 +44,7 @@ function CImageShape(drawingBase, drawingObjects)
this.spPr = new CSpPr();
this.nvSpPr = null;
this.style = null;
this.lockType = c_oAscLockTypes.kLockTypeNone;
this.group = null;
......
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