Commit aab5c6d5 authored by Sergey Luzyanin's avatar Sergey Luzyanin

creating xfrm

parent 69da1312
...@@ -5474,6 +5474,13 @@ function BinaryPPTYLoader() ...@@ -5474,6 +5474,13 @@ function BinaryPPTYLoader()
_graphic_frame.setSpPr(new AscFormat.CSpPr()); _graphic_frame.setSpPr(new AscFormat.CSpPr());
_graphic_frame.spPr.setParent(_graphic_frame); _graphic_frame.spPr.setParent(_graphic_frame);
} }
if(!_xfrm){
_xfrm = new AscFormat.CXfrm();
_xfrm.setOffX(0);
_xfrm.setOffY(0);
_xfrm.setExtX(0);
_xfrm.setExtY(0);
}
_graphic_frame.spPr.setXfrm(_xfrm); _graphic_frame.spPr.setXfrm(_xfrm);
_xfrm.setParent(_graphic_frame.spPr); _xfrm.setParent(_graphic_frame.spPr);
_graphic_frame.setSpPr(_graphic_frame.spPr); _graphic_frame.setSpPr(_graphic_frame.spPr);
...@@ -5492,6 +5499,13 @@ function BinaryPPTYLoader() ...@@ -5492,6 +5499,13 @@ function BinaryPPTYLoader()
_chart.setSpPr(new AscFormat.CSpPr()); _chart.setSpPr(new AscFormat.CSpPr());
_chart.spPr.setParent(_chart); _chart.spPr.setParent(_chart);
} }
if(!_xfrm){
_xfrm = new AscFormat.CXfrm();
_xfrm.setOffX(0);
_xfrm.setOffY(0);
_xfrm.setExtX(0);
_xfrm.setExtY(0);
}
_chart.spPr.setXfrm(_xfrm); _chart.spPr.setXfrm(_xfrm);
_xfrm.setParent(_chart.spPr); _xfrm.setParent(_chart.spPr);
return _chart; return _chart;
......
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