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

verticalAlign для текста шейпа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51561 954022d7-b5bf-4e40-9824-e11837661b57
parent d52d0460
......@@ -5778,7 +5778,15 @@
case align_Center : horAlign = "center"; break;
case align_Justify : horAlign = "justify"; break;
}
var vertAlign = "center";
var vertAlign = "center";
switch (paraPr.anchor) {
case VERTICAL_ANCHOR_TYPE_BOTTOM: vertAlign = "bottom"; break;
case VERTICAL_ANCHOR_TYPE_CENTER: vertAlign = "center"; break;
case VERTICAL_ANCHOR_TYPE_TOP:
case VERTICAL_ANCHOR_TYPE_DISTRIBUTED:
case VERTICAL_ANCHOR_TYPE_JUSTIFIED: vertAlign = "top"; break;
}
objectInfo.halign = horAlign;
objectInfo.valign = vertAlign;
......
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