Commit 74ef31c1 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

правка бага 21682 - Маркерованный список обрывается после первого пункта

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51404 954022d7-b5bf-4e40-9824-e11837661b57
parent a3c77df1
......@@ -2331,6 +2331,8 @@ CDocumentContent.prototype =
{
// Продолжаем (в плане настроек) новый параграф
Item.Continue( NewParagraph );
if(isRealObject(Item.bullet))
NewParagraph.setPresentationBullet(Item.bullet.createDuplicate());
}
else
{
......
......@@ -195,7 +195,7 @@ Paragraph.prototype =
Para.Internal_Content_Add( Para.Content.length, Item.Copy() );
}
if(isRealObject(this.PresentationPr) && isRealNumber(this.PresentationPr.Level))
Para.Set_PresentationLevel(this.PresentationPr.Level)
Para.Set_PresentationLevel(this.PresentationPr.Level);
return Para;
},
......@@ -10620,6 +10620,8 @@ Paragraph.prototype =
// Копируем все настройки в новый параграф. Делаем это после того как определили контент параграфов.
this.CopyPr( NewParagraph );
if(isRealObject(this.bullet))
NewParagraph.setPresentationBullet(this.bullet.createDuplicate());
this.RecalcInfo.Set_Type_0(pararecalc_0_All);
NewParagraph.RecalcInfo.Set_Type_0(pararecalc_0_All);
......
......@@ -2714,6 +2714,7 @@ CShape.prototype =
//this.txBody.content.RecalculateCurPos();
this.recalcInfo.recalculateContent = true;
this.recalcInfo.recalculateTransformText = true;
this.txBody.bRecalculateNumbering = true;
editor.WordControl.m_oLogicDocument.recalcMap[this.Id] = this;
}
},
......
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