Commit 55cd61b3 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с рисованием якоря для автофигур.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56751 954022d7-b5bf-4e40-9824-e11837661b57
parent bd9ac911
...@@ -8631,7 +8631,7 @@ Paragraph.prototype = ...@@ -8631,7 +8631,7 @@ Paragraph.prototype =
return null; return null;
}, },
Internal_CorrectAnchorPos : function(Result, Drawing, PageNum) Internal_CorrectAnchorPos : function(Result, Drawing)
{ {
// Поправляем позицию // Поправляем позицию
var RelH = Drawing.PositionH.RelativeFrom; var RelH = Drawing.PositionH.RelativeFrom;
...@@ -8689,7 +8689,7 @@ Paragraph.prototype = ...@@ -8689,7 +8689,7 @@ Paragraph.prototype =
Result.Paragraph = this; Result.Paragraph = this;
if ( true === bAnchor && undefined != Drawing && null != Drawing ) if ( true === bAnchor && undefined != Drawing && null != Drawing )
this.Internal_CorrectAnchorPos( Result, Drawing, PageNum - this.PageNum ); this.Internal_CorrectAnchorPos( Result, Drawing );
return Result; return Result;
}, },
...@@ -8800,7 +8800,7 @@ Paragraph.prototype = ...@@ -8800,7 +8800,7 @@ Paragraph.prototype =
Result.Paragraph = this; Result.Paragraph = this;
Result.ContentPos = ContentPos; Result.ContentPos = ContentPos;
this.Internal_CorrectAnchorPos( Result, Drawing, CurPage ); this.Internal_CorrectAnchorPos( Result, Drawing );
return Result; return Result;
}, },
......
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