Commit 60872e69 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@53998 954022d7-b5bf-4e40-9824-e11837661b57
parent 1de29d0e
...@@ -386,7 +386,7 @@ CHistory.prototype = ...@@ -386,7 +386,7 @@ CHistory.prototype =
var Item = Point.Items[Index]; var Item = Point.Items[Index];
if ( Class !== Item.Class ) if ( Class !== Item.Class )
return null; return [];
} }
if ( Class instanceof ParaRun && Class.Is_SimpleChanges(Point.Items) ) if ( Class instanceof ParaRun && Class.Is_SimpleChanges(Point.Items) )
......
This diff is collapsed.
...@@ -2662,8 +2662,12 @@ ParaEmpty.prototype = ...@@ -2662,8 +2662,12 @@ ParaEmpty.prototype =
function ParaNumbering() function ParaNumbering()
{ {
this.Type = para_Numbering; this.Type = para_Numbering;
this.Item = undefined;
this.Pos = new CParagraphContentPos(); this.Item = null; // Элемент в ране, к которому привязана нумерация
this.Run = null; // Ран, к которому привязана нумерация
this.Line = 0;
this.Range = 0;
this.Internal = this.Internal =
{ {
......
This diff is collapsed.
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