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

Очитска овелея после окончании треков во view mode

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50955 954022d7-b5bf-4e40-9824-e11837661b57
parent 5a7a1584
...@@ -5350,6 +5350,8 @@ function RotateState(graphicObjects) ...@@ -5350,6 +5350,8 @@ function RotateState(graphicObjects)
} }
this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects)); this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects));
this.graphicObjects.curState.updateAnchorPos(); this.graphicObjects.curState.updateAnchorPos();
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
...@@ -5521,6 +5523,8 @@ function ChangeAdjState(graphicObjects) ...@@ -5521,6 +5523,8 @@ function ChangeAdjState(graphicObjects)
this.graphicObjects.arrTrackObjects = []; this.graphicObjects.arrTrackObjects = [];
this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects)); this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects));
this.graphicObjects.curState.updateAnchorPos(); this.graphicObjects.curState.updateAnchorPos();
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
...@@ -5857,6 +5861,7 @@ function MoveState(graphicObjects) ...@@ -5857,6 +5861,7 @@ function MoveState(graphicObjects)
doc.Recalculate(); doc.Recalculate();
} }
tracks.length = 0; tracks.length = 0;
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects)); this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects));
this.graphicObjects.curState.updateAnchorPos(); this.graphicObjects.curState.updateAnchorPos();
}; };
...@@ -6206,6 +6211,8 @@ function ResizeState(graphicObjects, majorHandleNum) ...@@ -6206,6 +6211,8 @@ function ResizeState(graphicObjects, majorHandleNum)
this.graphicObjects.arrTrackObjects = []; this.graphicObjects.arrTrackObjects = [];
this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects)); this.graphicObjects.changeCurrentState(new NullState(this.graphicObjects));
this.graphicObjects.curState.updateAnchorPos(); this.graphicObjects.curState.updateAnchorPos();
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
...@@ -9193,6 +9200,8 @@ function ChangeAdjInGroup(graphicObjects, group) ...@@ -9193,6 +9200,8 @@ function ChangeAdjInGroup(graphicObjects, group)
} }
this.graphicObjects.arrTrackObjects.length = 0; this.graphicObjects.arrTrackObjects.length = 0;
this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent)); this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent));
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
this.updateCursorType = function() this.updateCursorType = function()
...@@ -9404,6 +9413,8 @@ function RotateInGroup(graphicObjects, group, majorObject) ...@@ -9404,6 +9413,8 @@ function RotateInGroup(graphicObjects, group, majorObject)
} }
this.graphicObjects.arrTrackObjects.length = 0; this.graphicObjects.arrTrackObjects.length = 0;
this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent)); this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent));
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
...@@ -9654,6 +9665,8 @@ function MoveInGroup(graphicObjects, group, startX, startY) ...@@ -9654,6 +9665,8 @@ function MoveInGroup(graphicObjects, group, startX, startY)
} }
this.graphicObjects.arrTrackObjects.length = 0; this.graphicObjects.arrTrackObjects.length = 0;
this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent)); this.graphicObjects.changeCurrentState(new GroupState(this.graphicObjects, this.group.parent));
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
} }
this.updateCursorType = function(pageIndex, x, y) this.updateCursorType = function(pageIndex, x, y)
...@@ -9769,6 +9782,8 @@ function RotateInGroupState(graphicObjects, group, majorObject) ...@@ -9769,6 +9782,8 @@ function RotateInGroupState(graphicObjects, group, majorObject)
this.group.parent.OnEnd_ChangeFlow(this.group.absOffsetX, this.group.absOffsetY, this.group.parent.getPageIndex(), bounds.r - bounds.l, bounds.b - bounds.t, near_pos, true, true); this.group.parent.OnEnd_ChangeFlow(this.group.absOffsetX, this.group.absOffsetY, this.group.parent.getPageIndex(), bounds.r - bounds.l, bounds.b - bounds.t, near_pos, true, true);
} }
} }
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
}; };
this.updateCursorType = function(pageIndex, x, y) this.updateCursorType = function(pageIndex, x, y)
{ {
......
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