Commit 0d8fafba authored by SergeyLuzyanin's avatar SergeyLuzyanin

reading charts

parent 68afeb34
......@@ -5902,13 +5902,9 @@ function BinaryPPTYLoader()
_chart.setLocks(_nvGraphicFramePr.locks);
}
}
this.map_shapes_by_id[_nvGraphicFramePr.cNvPr.id] = _chart;
_chart.spPr.setXfrm(_xfrm);
_xfrm.setParent(_chart.spPr);
_chart.setNvSpPr(_nvGraphicFramePr);
if(AscCommon.isRealObject(_nvGraphicFramePr) && AscFormat.isRealNumber(_nvGraphicFramePr.locks))
{
_chart.setLocks(_nvGraphicFramePr.locks);
}
return _chart;
}
......@@ -5934,10 +5930,8 @@ function BinaryPPTYLoader()
this.ReadCNvPr(prop.cNvPr);
if(AscCommon.isRealObject(drawing))
{
if(AscDFH.historyitem_type_Shape === drawing.getObjectType()){
this.map_shapes_by_id[prop.cNvPr.id] = drawing;
}
}
break;
}
case 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