Commit c547639e authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

27389 [Copy&Paste] JS ошибка при вырезании заголовка абзаца, если он содержит пустой абзац

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59431 954022d7-b5bf-4e40-9824-e11837661b57
parent f9455b75
...@@ -4071,7 +4071,7 @@ CDocumentContent.prototype = ...@@ -4071,7 +4071,7 @@ CDocumentContent.prototype =
if (true === bAddEmptyPara) if (true === bAddEmptyPara)
{ {
// Создаем новый параграф // Создаем новый параграф
var NewParagraph = new Paragraph(this.DrawingDocument, this, 0, 0, 0, 0, 0); var NewParagraph = new Paragraph(this.DrawingDocument, this, 0, 0, 0, 0, 0, this.bPresentation === true);
NewParagraph.Set_Pr(ParaS.Pr); NewParagraph.Set_Pr(ParaS.Pr);
NewParagraph.TextPr.Apply_TextPr(ParaS.TextPr.Value); NewParagraph.TextPr.Apply_TextPr(ParaS.TextPr.Value);
this.Internal_Content_Add(DstIndex + 1, NewParagraph); this.Internal_Content_Add(DstIndex + 1, NewParagraph);
......
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