Commit a1754441 authored by Alexander.Trofimov's avatar Alexander.Trofimov

superclass -> base.prototype

parent 7c29481b
...@@ -72,7 +72,7 @@ function ParaField(FieldType, Arguments, Switches) ...@@ -72,7 +72,7 @@ function ParaField(FieldType, Arguments, Switches)
AscCommon.g_oTableId.Add( this, this.Id ); AscCommon.g_oTableId.Add( this, this.Id );
} }
ParaField.prototype = Object.create(CParagraphContentWithParagraphLikeContent.prototype); ParaField.prototype = Object.create(CParagraphContentWithParagraphLikeContent.prototype);
ParaField.prototype.constructor = ParaField; ParaField.prototype.constructor = ParaField;
ParaField.prototype.Get_Id = function() ParaField.prototype.Get_Id = function()
...@@ -328,7 +328,7 @@ ParaField.prototype.Shift_Range = function(Dx, Dy, _CurLine, _CurRange) ...@@ -328,7 +328,7 @@ ParaField.prototype.Shift_Range = function(Dx, Dy, _CurLine, _CurRange)
}; };
ParaField.prototype.Get_LeftPos = function(SearchPos, ContentPos, Depth, UseContentPos) ParaField.prototype.Get_LeftPos = function(SearchPos, ContentPos, Depth, UseContentPos)
{ {
var bResult = ParaField.superclass.Get_LeftPos.call(this, SearchPos, ContentPos, Depth, UseContentPos); var bResult = CParagraphContentWithParagraphLikeContent.prototype.Get_LeftPos.call(this, SearchPos, ContentPos, Depth, UseContentPos);
if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode()) if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode())
{ {
...@@ -341,7 +341,7 @@ ParaField.prototype.Get_LeftPos = function(SearchPos, ContentPos, Depth, UseCont ...@@ -341,7 +341,7 @@ ParaField.prototype.Get_LeftPos = function(SearchPos, ContentPos, Depth, UseCont
}; };
ParaField.prototype.Get_RightPos = function(SearchPos, ContentPos, Depth, UseContentPos, StepEnd) ParaField.prototype.Get_RightPos = function(SearchPos, ContentPos, Depth, UseContentPos, StepEnd)
{ {
var bResult = ParaField.superclass.Get_RightPos.call(this, SearchPos, ContentPos, Depth, UseContentPos, StepEnd); var bResult = CParagraphContentWithParagraphLikeContent.prototype.Get_RightPos.call(this, SearchPos, ContentPos, Depth, UseContentPos, StepEnd);
if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode()) if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode())
{ {
...@@ -354,7 +354,7 @@ ParaField.prototype.Get_RightPos = function(SearchPos, ContentPos, Depth, UseCon ...@@ -354,7 +354,7 @@ ParaField.prototype.Get_RightPos = function(SearchPos, ContentPos, Depth, UseCon
}; };
ParaField.prototype.Get_WordStartPos = function(SearchPos, ContentPos, Depth, UseContentPos) ParaField.prototype.Get_WordStartPos = function(SearchPos, ContentPos, Depth, UseContentPos)
{ {
var bResult = ParaField.superclass.Get_WordStartPos.call(this, SearchPos, ContentPos, Depth, UseContentPos); var bResult = CParagraphContentWithParagraphLikeContent.prototype.Get_WordStartPos.call(this, SearchPos, ContentPos, Depth, UseContentPos);
if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode()) if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode())
{ {
...@@ -367,7 +367,7 @@ ParaField.prototype.Get_WordStartPos = function(SearchPos, ContentPos, Depth, Us ...@@ -367,7 +367,7 @@ ParaField.prototype.Get_WordStartPos = function(SearchPos, ContentPos, Depth, Us
}; };
ParaField.prototype.Get_WordEndPos = function(SearchPos, ContentPos, Depth, UseContentPos, StepEnd) ParaField.prototype.Get_WordEndPos = function(SearchPos, ContentPos, Depth, UseContentPos, StepEnd)
{ {
var bResult = ParaField.superclass.Get_WordEndPos.call(this, SearchPos, ContentPos, Depth, UseContentPos, StepEnd); var bResult = CParagraphContentWithParagraphLikeContent.prototype.Get_WordEndPos.call(this, SearchPos, ContentPos, Depth, UseContentPos, StepEnd);
if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode()) if (true !== bResult && this.Paragraph && this.Paragraph.LogicDocument && true === this.Paragraph.LogicDocument.IsFillingFormMode())
{ {
......
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