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

Bug 26679 - [Autosave] Не сохраняется изменение размера диаграммы в XLSX...

Bug 26679 - [Autosave] Не сохраняется изменение размера диаграммы в XLSX книге. Поправлен баг со сбрасыванием позиции подписей данных.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58484 954022d7-b5bf-4e40-9824-e11837661b57
parent 8bc45cdf
...@@ -5732,6 +5732,20 @@ ...@@ -5732,6 +5732,20 @@
if(typeof oNewDrawing.graphicObject.setWorksheet != "undefined") if(typeof oNewDrawing.graphicObject.setWorksheet != "undefined")
oNewDrawing.graphicObject.setWorksheet(ws); oNewDrawing.graphicObject.setWorksheet(ws);
} }
if(!oNewDrawing.graphicObject.spPr)
{
oNewDrawing.graphicObject.setSpPr(new CSpPr());
oNewDrawing.graphicObject.spPr.setParent(oNewDrawing.graphicObject);
}
if(!oNewDrawing.graphicObject.spPr.xfrm)
{
oNewDrawing.graphicObject.spPr.setXfrm(new CXfrm());
oNewDrawing.graphicObject.spPr.xfrm.setParent(oNewDrawing.graphicObject.spPr);
oNewDrawing.graphicObject.spPr.xfrm.setOffX(0);
oNewDrawing.graphicObject.spPr.xfrm.setOffY(0);
oNewDrawing.graphicObject.spPr.xfrm.setExtX(0);
oNewDrawing.graphicObject.spPr.xfrm.setExtY(0);
}
aDrawings.push(oNewDrawing); aDrawings.push(oNewDrawing);
} }
} }
......
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