Commit 25e3763d authored by Sergey Luzyanin's avatar Sergey Luzyanin

Merge branch 'develop' of https://github.com/ONLYOFFICE/sdkjs into develop

parents 7d0c0af5 9e1a7dba
......@@ -16428,6 +16428,15 @@ CDocument.prototype.Get_SectionProps = function()
return new CDocumentSectionProps(SectPr);
};
CDocument.prototype.Get_FirstParagraph = function()
{
if (type_Paragraph == this.Content[0].GetType())
return this.Content[0];
else if (type_Table == this.Content[0].GetType())
return this.Content[0].Get_FirstParagraph();
return null;
};
//----------------------------------------------------------------------------------------------------------------------
// Settings
//----------------------------------------------------------------------------------------------------------------------
......
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