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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50781 954022d7-b5bf-4e40-9824-e11837661b57
parent 02f57518
...@@ -1800,8 +1800,9 @@ CopyProcessor.prototype = ...@@ -1800,8 +1800,9 @@ CopyProcessor.prototype =
this.oPresentationWriter.WriteString2(editor.DocumentUrl); this.oPresentationWriter.WriteString2(editor.DocumentUrl);
this.oPresentationWriter.WriteDouble(presentation.Width); this.oPresentationWriter.WriteDouble(presentation.Width);
this.oPresentationWriter.WriteDouble(presentation.Height); this.oPresentationWriter.WriteDouble(presentation.Height);
this.oPresentationWriter.WriteULong(graphicObjects.selectedObjects.length);
var selected_objects = graphicObjects.State.id === STATES_ID_GROUP ? graphicObjects.State.group.selectedObjects : graphicObjects.selectedObjects; var selected_objects = graphicObjects.State.id === STATES_ID_GROUP ? graphicObjects.State.group.selectedObjects : graphicObjects.selectedObjects;
this.oPresentationWriter.WriteULong(selected_objects.length);
for(var i = 0; i < selected_objects.length; ++i) for(var i = 0; i < selected_objects.length; ++i)
{ {
if(!(selected_objects[i] instanceof CGraphicFrame)) if(!(selected_objects[i] instanceof CGraphicFrame))
...@@ -1889,7 +1890,7 @@ CopyProcessor.prototype = ...@@ -1889,7 +1890,7 @@ CopyProcessor.prototype =
$(this.ElemToSelect.children[0]).wrap(document.createElement("b")); $(this.ElemToSelect.children[0]).wrap(document.createElement("b"));
} }
if(this.ElemToSelect.children[0]) if(this.ElemToSelect.children[0])
$(this.ElemToSelect.children[0]).addClass("docData;" + sBase64); $(this.ElemToSelect.children[0]).addClass("pptData;" + sBase64);
} }
this.oBinaryFileWriter.CopyEnd(); this.oBinaryFileWriter.CopyEnd();
if(copyPasteUseBinery && this.oBinaryFileWriter.copyParams.itemCount > 0) if(copyPasteUseBinery && this.oBinaryFileWriter.copyParams.itemCount > 0)
...@@ -3316,9 +3317,9 @@ PasteProcessor.prototype = ...@@ -3316,9 +3317,9 @@ PasteProcessor.prototype =
if( classNode != null ){ if( classNode != null ){
cL = classNode.split(" "); cL = classNode.split(" ");
for (var i = 0; i < cL.length; i++){ for (var i = 0; i < cL.length; i++){
if(cL[i].indexOf("docData;") > -1) if(cL[i].indexOf("pptData;") > -1)
{ {
base64 = cL[i].split('docData;')[1]; base64 = cL[i].split('pptData;')[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