Commit 4cd3c5f4 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Все диаграммы при открытии становятся нулевых размеров.

Сережа, как же так!!!!!!

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58791 954022d7-b5bf-4e40-9824-e11837661b57
parent f73f0e66
......@@ -1765,12 +1765,13 @@ function DrawingObjects() {
}
var metrics = drawingObject.getGraphicObjectMetrics();
CheckSpPrXfrm(drawingObject.graphicObject);
if(!api.wbModel.bCollaborativeChanges && drawingObject.graphicObject.fromSerialize)
var isSerialize = drawingObject.graphicObject.fromSerialize;
if(!api.wbModel.bCollaborativeChanges && isSerialize)
{
drawingObject.graphicObject.spPr.xfrm.setOffX(metrics.x);
drawingObject.graphicObject.spPr.xfrm.setOffY(metrics.y);
}
if(drawingObject.graphicObject.getObjectType() !== historyitem_type_GroupShape && !api.wbModel.bCollaborativeChanges && drawingObject.graphicObject.fromSerialize)
if(drawingObject.graphicObject.getObjectType() !== historyitem_type_GroupShape && !api.wbModel.bCollaborativeChanges && isSerialize)
{
drawingObject.graphicObject.spPr.xfrm.setExtX(metrics.extX);
drawingObject.graphicObject.spPr.xfrm.setExtY(metrics.extY);
......
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