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

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50638 954022d7-b5bf-4e40-9824-e11837661b57
parent d131f22a
......@@ -2186,6 +2186,16 @@ CopyProcessor.prototype =
selectEnd = selectStart;
selectStart = Temp;
}
for(var i = 0; i < selectStart; ++i)
{
var content = Item.Content;
if(content instanceof ParaText)
break;
}
if(i == selectStart)
{
selectStart = 0;
}
this.oPresentationWriter.StartRecord(0);
this.oPresentationWriter.WriteParagraph(Item, selectStart, selectEnd);
this.oPresentationWriter.EndRecord();
......
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