Commit 467a0d24 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27953 - [Copy&Paste][Formulas] Ошибки в...

http://bugzserver/show_bug.cgi?id=27953 - [Copy&Paste][Formulas] Ошибки в консоли при вставке автофигуры с формулой в редактор презентаций

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60173 954022d7-b5bf-4e40-9824-e11837661b57
parent ba173c99
......@@ -4036,6 +4036,7 @@ PasteProcessor.prototype =
//ковертим изображения в презентационный формат
for(var i = 0; i < presentationSelectedContent.Drawings.length; i++)
{
if(!(presentationSelectedContent.Drawings[i].Drawing instanceof CGraphicFrame))
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
}
......@@ -4043,7 +4044,16 @@ PasteProcessor.prototype =
}, rData );
}
else
{
//ковертим изображения в презентационный формат
for(var i = 0; i < presentationSelectedContent.Drawings.length; i++)
{
if(!(presentationSelectedContent.Drawings[i].Drawing instanceof CGraphicFrame))
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
}
oThis.api.pre_Paste(aContent.fonts, aContent.images, paste_callback);
}
return;
}
......
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