Commit 74d7ab31 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@55054 954022d7-b5bf-4e40-9824-e11837661b57
parent b689e490
......@@ -3213,7 +3213,7 @@ Paragraph.prototype =
PRS.XStart = XStart;
PRS.YStart = YStart;
PRS.XLimit = XLimit;
PRS.XLimit = XLimit - ParaPr.Ind.Right;
PRS.YLimit = YLimit;
PRS.Y = YStart;
......@@ -5387,6 +5387,8 @@ Paragraph.prototype =
if ( -1 === CurPage )
return -1;
var ParaPr = this.Get_CompiledPr2( false).ParaPr;
if ( 0 === CurPage )//|| ( undefined != this.Get_FramePr() && this.Parent instanceof CDocument ) )
{
XStart = this.X;
......@@ -5406,7 +5408,7 @@ Paragraph.prototype =
PRS.XStart = XStart;
PRS.YStart = YStart;
PRS.XLimit = XLimit;
PRS.XLimit = XLimit - ParaPr.Ind.Right;
PRS.YLimit = YLimit;
// Обнуляем параметры PRS для строки и отрезка
......@@ -5433,7 +5435,6 @@ Paragraph.prototype =
var ContentLen = this.Content.length;
var ParaPr = this.Get_CompiledPr2( false).ParaPr;
for ( var Pos = StartPos; Pos <= EndPos; Pos++ )
{
var Item = this.Content[Pos];
......
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