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,15 +4036,25 @@ PasteProcessor.prototype =
//ковертим изображения в презентационный формат
for(var i = 0; i < presentationSelectedContent.Drawings.length; i++)
{
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
if(!(presentationSelectedContent.Drawings[i].Drawing instanceof CGraphicFrame))
presentationSelectedContent.Drawings[i].Drawing = presentationSelectedContent.Drawings[i].Drawing.convertToPPTX(oThis.oDocument.DrawingDocument);
}
oThis.api.pre_Paste(fonts, image_map, paste_callback);
}, rData );
}
else
oThis.api.pre_Paste(aContent.fonts, aContent.images, paste_callback);
{
//ковертим изображения в презентационный формат
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;
}
else if(base64FromExcel)//вставляем в презентации из таблиц
......
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