Commit 7a4f15b7 authored by Sergey Luzyanin's avatar Sergey Luzyanin

resize OleObject

parent e0d51641
......@@ -845,6 +845,18 @@ function ResizeTrackShapeImage(originalObject, cardDirection)
xfrm.setFlipH(this.resizedflipH);
xfrm.setFlipV(this.resizedflipV);
}
if(this.originalObject.getObjectType && this.originalObject.getObjectType() === AscDFH.historyitem_type_OleObject)
{
var api;
if(Asc.editor)
{
api = Asc.editor;
}
if(api)
{
api.runResize(this.originalObject.m_sApplicationId, this.originalObject.m_sData, xfrm.extX, xfrm.extY);
}
}
AscFormat.CheckShapeBodyAutoFitReset(this.originalObject);
this.originalObject.checkDrawingBaseCoords();
......
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