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

Правка бага 20658 - [CoEdit] Текст в автофигуре всегда приходит с вертикальным...

Правка бага 20658 - [CoEdit] Текст в автофигуре всегда приходит с вертикальным выравниванием по центру

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50645 954022d7-b5bf-4e40-9824-e11837661b57
parent 75926019
......@@ -367,8 +367,12 @@ CShape.prototype =
setCellVertAlign: function (align) {
if(isRealObject(this.txBody))
{
History.Add(g_oUndoRedoGraphicObjects, historyitem_AutoShapes_RecalculateAfterParagraphAddUndo, null, null,
new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataGOSingleProp(null, null)));
this.txBody.setVerticalAlign(align);
this.calculateTransformTextMatrix();
History.Add(g_oUndoRedoGraphicObjects, historyitem_AutoShapes_RecalculateAfterParagraphAddRedo, null, null,
new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataGOSingleProp(null, 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