Commit b7a90b03 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

форматирование кода.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51227 954022d7-b5bf-4e40-9824-e11837661b57
parent a8031d2a
......@@ -3202,7 +3202,14 @@ PasteProcessor.prototype =
for(var i in AllFonts)
aPrepeareFonts.push(new CFont(i, 0, "", 0));
//создаем список используемых картинок
var oPastedImagesUnique = {}; var aPastedImages = window.global_pptx_content_loader.End_UseFullUrl(); for(var i = 0, length = aPastedImages.length; i < length; ++i) { var elem = aPastedImages[i]; oPastedImagesUnique[elem.Url] = 1; } var aPrepeareImages = [];
var oPastedImagesUnique = {};
var aPastedImages = window.global_pptx_content_loader.End_UseFullUrl();
for(var i = 0, length = aPastedImages.length; i < length; ++i)
{
var elem = aPastedImages[i];
oPastedImagesUnique[elem.Url] = 1;
}
var aPrepeareImages = [];
for(var i in oPastedImagesUnique)
aPrepeareImages.push(i);
return {content: aContent, fonts: aPrepeareFonts, images: aPrepeareImages, bAddNewStyles: addNewStyles, aPastedImages: aPastedImages};
......
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