Commit 8cbdef7a 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@63865 954022d7-b5bf-4e40-9824-e11837661b57
parent 7998e22b
......@@ -2541,7 +2541,7 @@ Paragraph.prototype =
this.Content[EndPos].Cursor_MoveToStartPos();
}
if (this.LogicDocument && true === this.LogicDocument.Is_TrackResivisions())
if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions())
{
for (var Pos = StartPos + 1; Pos <= EndPos - 1; Pos++)
{
......@@ -2562,7 +2562,7 @@ Paragraph.prototype =
this.Internal_Content_Remove( StartPos );
}
if (this.LogicDocument && true === this.LogicDocument.Is_TrackResivisions())
if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions())
{
for (var Pos = StartPos; Pos <= EndPos; Pos++)
{
......@@ -2654,7 +2654,7 @@ Paragraph.prototype =
else
{
// TODO: В режиме рецензии элементы не удаляются, а позиция меняется прямо в ранах
if (!this.LogicDocument || true !== this.LogicDocument.Is_TrackResivisions())
if (!this.LogicDocument || true !== this.LogicDocument.Is_TrackRevisions())
this.CurPos.ContentPos = ContentPos;
}
}
......@@ -5492,7 +5492,7 @@ Paragraph.prototype =
// Если мы находимся в режиме рецензирования, то пробегаемся по всему содержимому гиперссылки и
// проставляем, что все раны новые.
if (this.LogicDocument && true === this.LogicDocument.Is_TrackResivisions())
if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions())
Hyperlink.Set_ReviewType(paragraphcontent_Reviewtype_Added, true);
}
else if ( null !== HyperProps.Text && "" !== HyperProps.Text )
......
......@@ -615,7 +615,7 @@ CParagraphContentWithParagraphLikeContent.prototype.Remove = function(Direction,
this.Remove_FromContent(EndPos, 1, true);
}
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackResivisions())
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackRevisions())
{
for (var CurPos = EndPos - 1; CurPos > StartPos; CurPos--)
{
......
......@@ -43,7 +43,7 @@ function ParaRun(Paragraph, bMathRun)
this.SpellingMarks = [];
this.ReviewType = paragraphcontent_Reviewtype_Common;
if (editor && !editor.isPresentationEditor && editor.WordControl && editor.WordControl.m_oLogicDocument && true === editor.WordControl.m_oLogicDocument.Is_TrackResivisions())
if (editor && !editor.isPresentationEditor && editor.WordControl && editor.WordControl.m_oLogicDocument && true === editor.WordControl.m_oLogicDocument.Is_TrackRevisions())
this.ReviewType = paragraphcontent_Reviewtype_Added;
if(bMathRun)
......@@ -124,7 +124,7 @@ ParaRun.prototype.Copy = function(Selected)
NewRun.Set_Pr( this.Pr.Copy() );
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackResivisions())
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackRevisions())
NewRun.Set_ReviewType(paragraphcontent_Reviewtype_Added);
if(true === bMath)
......@@ -338,7 +338,7 @@ ParaRun.prototype.Add = function(Item, bMath)
var TrackRevisions = false;
if (this.Paragraph && this.Paragraph.LogicDocument)
TrackRevisions = this.Paragraph.LogicDocument.Is_TrackResivisions();
TrackRevisions = this.Paragraph.LogicDocument.Is_TrackRevisions();
var ReviewType = this.Get_ReviewType();
if ((true === TrackRevisions && paragraphcontent_Reviewtype_Added !== ReviewType) || (false === TrackRevisions && paragraphcontent_Reviewtype_Common !== ReviewType))
......@@ -411,7 +411,7 @@ ParaRun.prototype.Remove = function(Direction, bOnAddText)
{
var TrackRevisions = null;
if (this.Paragraph && this.Paragraph.LogicDocument)
TrackRevisions = this.Paragraph.LogicDocument.Is_TrackResivisions();
TrackRevisions = this.Paragraph.LogicDocument.Is_TrackRevisions();
var Selection = this.State.Selection;
......@@ -5539,7 +5539,7 @@ ParaRun.prototype.Set_Pr = function(TextPr)
ParaRun.prototype.Apply_TextPr = function(TextPr, IncFontSize, ApplyToAll)
{
var bReview = false;
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackResivisions())
if (this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.Is_TrackRevisions())
bReview = true;
var ReviewType = this.Get_ReviewType();
......
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