Commit 91d87072 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

write chart

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55931 954022d7-b5bf-4e40-9824-e11837661b57
parent 6bdd916b
......@@ -4190,19 +4190,10 @@ function BinaryDocumentTableWriter(memory, doc, oMapCommentId, oNumIdMap, copyPa
if(null != img.GraphicObj.chart)
{
this.memory.WriteByte(c_oSerImageType2.Chart);
this.memory.WriteByte(c_oSerImageType2.Chart2);
this.memory.WriteByte(c_oSerPropLenType.Variable);
var oBinaryChartWriter = new BinaryChartWriter(this.memory);
this.bs.WriteItemWithLength(function(){oBinaryChartWriter.WriteChartContent(img.GraphicObj);});
var chartSrc = img.GraphicObj.chart.img;
if(null != chartSrc && "" != chartSrc)
{
this.memory.WriteByte(c_oSerImageType2.ChartImg);
this.memory.WriteByte(c_oSerPropLenType.Variable);
this.bs.WriteItemWithLength(function(){window.global_pptx_content_writer.WriteImageBySrc(oThis.memory, chartSrc, img.Extent.W, img.Extent.H);});
}
this.bs.WriteItemWithLength(function () { oBinaryChartWriter.WriteCT_ChartSpace(img.GraphicObj.chart); });
}
else
{
......
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