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

заполнение Xfrm при копировании

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57070 954022d7-b5bf-4e40-9824-e11837661b57
parent ca0566d6
...@@ -69,6 +69,8 @@ function CheckSpPrXfrm(object) ...@@ -69,6 +69,8 @@ function CheckSpPrXfrm(object)
function CheckSpPrXfrm2(object) function CheckSpPrXfrm2(object)
{ {
if(!object)
return;
if(!object.spPr) if(!object.spPr)
{ {
object.spPr = new CSpPr(); object.spPr = new CSpPr();
......
...@@ -3760,6 +3760,10 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa ...@@ -3760,6 +3760,10 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa
item.Extent.W = item.GraphicObj.spPr.xfrm.extX; item.Extent.W = item.GraphicObj.spPr.xfrm.extX;
item.Extent.H = item.GraphicObj.spPr.xfrm.extY; item.Extent.H = item.GraphicObj.spPr.xfrm.extY;
} }
if(this.copyParams)
{
CheckSpPrXfrm2(item.GraphicObj)
}
oThis.bs.WriteItem(c_oSerRunType.pptxDrawing, function () { oThis.WriteImage(item); }); oThis.bs.WriteItem(c_oSerRunType.pptxDrawing, function () { oThis.WriteImage(item); });
break; break;
} }
......
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