Commit 8be4218d authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с рассчетом положения "плавающих" картинок (баг 20995).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50564 954022d7-b5bf-4e40-9824-e11837661b57
parent 1f1e7208
......@@ -903,7 +903,7 @@ Paragraph.prototype =
Item.TextPr = EndTextPr;
g_oTextMeasurer.SetTextPr( EndTextPr );
Item.Measure( g_oTextMeasurer, bEndCell );
TextDescent = Math.abs( g_oTextMeasurer.GetDescender() );
TextHeight = g_oTextMeasurer.GetHeight();
TextAscent = TextHeight - TextDescent;
......
......@@ -2796,7 +2796,7 @@ CAnchorPosition.prototype =
}
}
else
this.CalcX = this.Left_Margin + Value;
this.CalcX = Value;
break;
}
......
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