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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62501 954022d7-b5bf-4e40-9824-e11837661b57
parent 70bf86b6
...@@ -306,6 +306,7 @@ CGraphicObjects.prototype = ...@@ -306,6 +306,7 @@ CGraphicObjects.prototype =
shape_props = new asc_CImgProperty(para_drawing_props); shape_props = new asc_CImgProperty(para_drawing_props);
shape_props.ShapeProperties = CreateAscShapePropFromProp(props_by_types.shapeProps); shape_props.ShapeProperties = CreateAscShapePropFromProp(props_by_types.shapeProps);
shape_props.verticalTextAlign = props_by_types.shapeProps.verticalTextAlign; shape_props.verticalTextAlign = props_by_types.shapeProps.verticalTextAlign;
shape_props.vert = props_by_types.shapeProps.vert;
shape_props.Width = props_by_types.shapeProps.w; shape_props.Width = props_by_types.shapeProps.w;
shape_props.Height = props_by_types.shapeProps.h; shape_props.Height = props_by_types.shapeProps.h;
} }
...@@ -386,7 +387,7 @@ CGraphicObjects.prototype = ...@@ -386,7 +387,7 @@ CGraphicObjects.prototype =
} }
} }
this.document.Recalculate(); this.document.Recalculate();
oApplyProps && isRealNumber(oApplyProps.verticalTextAlign) && this.document.Document_UpdateSelectionState(); oApplyProps && (isRealNumber(oApplyProps.verticalTextAlign) || isRealNumber(oApplyProps.vert)) && this.document.Document_UpdateSelectionState();
}, },
applyDrawingProps: DrawingObjectsController.prototype.applyDrawingProps, applyDrawingProps: DrawingObjectsController.prototype.applyDrawingProps,
......
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