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

правка бага 20754 - [Copy&Paste] Текст копируется без сохранения маркерованного списка

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51551 954022d7-b5bf-4e40-9824-e11837661b57
parent f7ed1695
......@@ -2976,7 +2976,7 @@ PasteProcessor.prototype =
for(var i = 0; i < aNewContent.length; ++i)
{
aNewContent[i].Clear_TextFormatting();
aNewContent[i].Clear_Formatting();
aNewContent[i].Clear_Formatting(true);
}
oDoc.Remove(1, true, true);
var Item = oDoc.Content[oDoc.CurPos.ContentPos];
......@@ -3056,8 +3056,13 @@ PasteProcessor.prototype =
var nNewContentPos = oInsLastPar.Content.length - 2;
//�������� �������� ���������� ��������� ��������� � ��������� ����������� ��������
//CopyPr - �� ������� � �������, �.�. � ������� ��������� ������� ����� ��������� � ��������
var ind = oInsLastPar.Pr.Ind;
if(null != oInsLastPar)
oSourceLastPar.CopyPr( oInsLastPar );
if(oInsLastPar.bullet)
{
oInsLastPar.Set_Ind(ind);
}
oInsLastPar.Concat(oSourceLastPar);
oInsLastPar.CurPos.ContentPos = nNewContentPos;
oSourceLastPar = oInsLastPar;
......@@ -3092,6 +3097,7 @@ PasteProcessor.prototype =
var content = oDoc.Content;
for(var i = 0; i < content.length; ++i)
{
content[i].Recalc_CompiledPr();
content[i].RecalcInfo.Set_Type_0(pararecalc_0_All);
}
},
......
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