Commit 8523676e authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 29155 - [Hotkey] Не работают сочетания клавиш копирования и вставки стиля...

Bug 29155 - [Hotkey] Не работают сочетания клавиш копирования и вставки стиля параграфа (CTRL+SHIFT+C, CTRL+SHIFT+V)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64769 954022d7-b5bf-4e40-9824-e11837661b57
parent c2578db8
......@@ -1264,7 +1264,7 @@ DrawingObjectsController.prototype =
}
else
{
if(docContentFunction === CDocumentContent.prototype.Paragraph_Add && args[0].Type === para_TextPr)
if(docContentFunction === CDocumentContent.prototype.Paragraph_Add && args[0].Type === para_TextPr || docContentFunction === CDocumentContent.prototype.Paragraph_Format_Paste)
{
this.applyDocContentFunction(docContentFunction, args, tableFunction);
}
......
......@@ -2616,7 +2616,10 @@ CPresentation.prototype =
Document_Format_Paste : function()
{
// TODO: (начать с создания точки истории, либо добавить ее при обработке клавиш)
if(this.CopyTextPr && this.CopyParaPr)
{
this.Slides[this.CurPage] && this.Slides[this.CurPage].graphicObjects.paragraphFormatPaste(this.CopyTextPr, this.CopyParaPr, false);
}
},
// Возвращаем выделенный текст, если в выделении не более 1 параграфа, и там нет картинок, нумерации страниц и т.д.
......
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