Commit a5ca47d8 authored by Ilya Kirillov's avatar Ilya Kirillov

Working on a new class CInlineLevelSdt.

parent f470bf53
......@@ -2690,6 +2690,21 @@ CParagraphContentWithParagraphLikeContent.prototype.GetAllContentControls = func
return arrContentControls;
};
CParagraphContentWithParagraphLikeContent.prototype.Is_UseInDocument = function()
{
return (this.Paragraph && true === this.Paragraph.Is_UseInDocument() && true === this.Is_UseInParagraph() ? true : false);
};
CParagraphContentWithParagraphLikeContent.prototype.Is_UseInParagraph = function()
{
if (!this.Paragraph)
return false;
var ContentPos = this.Paragraph.Get_PosByElement(this);
if (!ContentPos)
return false;
return true;
};
//----------------------------------------------------------------------------------------------------------------------
// Функции, которые должны быть реализованы в классах наследниках
//----------------------------------------------------------------------------------------------------------------------
......
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