Commit 5e4bf05c 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@65004 954022d7-b5bf-4e40-9824-e11837661b57
parent 6295cde2
......@@ -219,7 +219,16 @@ CWrapPolygon.prototype =
{
case WRAP_TEXT_SIDE_BOTH_SIDES:
{
ret2.push({X0: this.left, X1: this.right, Y1: this.bottom});
if(this.wordGraphicObject.wrappingType === WRAPPING_TYPE_THROUGH || this.wordGraphicObject.wrappingType === WRAPPING_TYPE_TIGHT)
{
var oDistanse = this.wordGraphicObject.Get_Distance();
ret2.push({X0: this.left + oDistanse.L, X1: this.right - oDistanse.R, Y1: this.bottom});
}
else
{
ret2.push({X0: this.left, X1: this.right, Y1: this.bottom});
}
break;
}
case WRAP_TEXT_SIDE_LARGEST:
......
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