Commit b21c5e30 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@63927 954022d7-b5bf-4e40-9824-e11837661b57
parent 60d9cab0
This diff is collapsed.
This diff is collapsed.
...@@ -2558,9 +2558,12 @@ Paragraph.prototype = ...@@ -2558,9 +2558,12 @@ Paragraph.prototype =
if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions()) if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions())
{ {
for (var Pos = StartPos + 1; Pos <= EndPos - 1; Pos++) for (var Pos = EndPos - 1; Pos >= StartPos + 1; Pos--)
{ {
this.Content[Pos].Set_ReviewType(reviewtype_Remove, false); if (para_Run == this.Content[Pos].Type && reviewtype_Add === this.Content[Pos].Get_ReviewType())
this.Internal_Content_Remove2(Pos, 1);
else
this.Content[Pos].Set_ReviewType(reviewtype_Remove, false);
} }
} }
else else
......
...@@ -19691,6 +19691,14 @@ CTable.prototype.Get_StyleFromFormatting = function() ...@@ -19691,6 +19691,14 @@ CTable.prototype.Get_StyleFromFormatting = function()
} }
return null; return null;
}; };
CTable.prototype.Set_ReviewType = function(ReviewType)
{
};
CTable.prototype.Get_ReviewType = function()
{
return reviewtype_Common;
};
// Класс CTableRow // Класс CTableRow
function CTableRow(Table, Cols, TableGrid) function CTableRow(Table, Cols, TableGrid)
......
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