Commit bebc6bec authored by Sergey Luzyanin's avatar Sergey Luzyanin

spPr.ext -> spPr.xfrm.ext

parent 165d7db6
...@@ -2129,8 +2129,8 @@ CTableId.prototype.Load_Changes = function(Reader, Reader2) ...@@ -2129,8 +2129,8 @@ CTableId.prototype.Load_Changes = function(Reader, Reader2)
if(oLogicDocument.Slides[0]) if(oLogicDocument.Slides[0])
{ {
var oDrawing = oLogicDocument.Slides[0].graphicObjects.createWatermarkImage(sUrl); var oDrawing = oLogicDocument.Slides[0].graphicObjects.createWatermarkImage(sUrl);
oDrawing.spPr.xfrm.offX = (oLogicDocument.Width - oDrawing.spPr.extX)/2; oDrawing.spPr.xfrm.offX = (oLogicDocument.Width - oDrawing.spPr.xfrm.extX)/2;
oDrawing.spPr.xfrm.offY = (oLogicDocument.Height - oDrawing.spPr.extY)/2; oDrawing.spPr.xfrm.offY = (oLogicDocument.Height - oDrawing.spPr.xfrm.extY)/2;
oLogicDocument.Slides[0].cSld.spTree.push(oDrawing); oLogicDocument.Slides[0].cSld.spTree.push(oDrawing);
} }
} }
......
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