Commit 137dc775 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix bug in adding image in builder

parent 2bd67ae5
...@@ -119,7 +119,6 @@ CChartSpace.prototype.setRecalculateInfo = function() ...@@ -119,7 +119,6 @@ CChartSpace.prototype.setRecalculateInfo = function()
recalculateBBoxRange: true recalculateBBoxRange: true
}; };
this.baseColors = []; this.baseColors = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.chartObj = null; this.chartObj = null;
this.rectGeometry = AscFormat.ExecuteNoHistory(function(){return AscFormat.CreateGeometry("rect");}, this, []); this.rectGeometry = AscFormat.ExecuteNoHistory(function(){return AscFormat.CreateGeometry("rect");}, this, []);
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
......
...@@ -90,8 +90,6 @@ CGroupShape.prototype.setRecalculateInfo = function() ...@@ -90,8 +90,6 @@ CGroupShape.prototype.setRecalculateInfo = function()
recalculateScaleCoefficients: true recalculateScaleCoefficients: true
}; };
this.localTransform = new AscCommon.CMatrix(); this.localTransform = new AscCommon.CMatrix();
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
......
...@@ -71,7 +71,6 @@ CImageShape.prototype.setRecalculateInfo = function() ...@@ -71,7 +71,6 @@ CImageShape.prototype.setRecalculateInfo = function()
recalculateLine: true, recalculateLine: true,
recalculateTransparent: true recalculateTransparent: true
}; };
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
......
...@@ -260,7 +260,6 @@ CShape.prototype.setRecalculateInfo = function() ...@@ -260,7 +260,6 @@ CShape.prototype.setRecalculateInfo = function()
oContentMetrics: null oContentMetrics: null
}; };
this.compiledStyles = []; this.compiledStyles = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
CShape.prototype.recalcContent = function() CShape.prototype.recalcContent = function()
......
...@@ -225,7 +225,6 @@ CChartSpace.prototype.setRecalculateInfo = function() ...@@ -225,7 +225,6 @@ CChartSpace.prototype.setRecalculateInfo = function()
recalculateBBoxRange: true recalculateBBoxRange: true
}; };
this.baseColors = []; this.baseColors = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.chartObj = null; this.chartObj = null;
this.rectGeometry = AscFormat.ExecuteNoHistory(function(){return AscFormat.CreateGeometry("rect");}, this, []); this.rectGeometry = AscFormat.ExecuteNoHistory(function(){return AscFormat.CreateGeometry("rect");}, this, []);
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
......
...@@ -88,7 +88,6 @@ CGroupShape.prototype.setRecalculateInfo = function() ...@@ -88,7 +88,6 @@ CGroupShape.prototype.setRecalculateInfo = function()
recalculateScaleCoefficients: true recalculateScaleCoefficients: true
}; };
this.localTransform = new AscCommon.CMatrix(); this.localTransform = new AscCommon.CMatrix();
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
......
...@@ -73,7 +73,6 @@ CImageShape.prototype.setRecalculateInfo = function() ...@@ -73,7 +73,6 @@ CImageShape.prototype.setRecalculateInfo = function()
recalculateLine: true, recalculateLine: true,
recalculateTransparent: true recalculateTransparent: true
}; };
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
......
...@@ -223,7 +223,6 @@ CShape.prototype.setRecalculateInfo = function() ...@@ -223,7 +223,6 @@ CShape.prototype.setRecalculateInfo = function()
}; };
this.compiledStyles = []; this.compiledStyles = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone; this.lockType = AscCommon.c_oAscLockTypes.kLockTypeNone;
}; };
CShape.prototype.recalcContent = function() CShape.prototype.recalcContent = function()
......
...@@ -146,7 +146,6 @@ CGroupShape.prototype.setRecalculateInfo = function() ...@@ -146,7 +146,6 @@ CGroupShape.prototype.setRecalculateInfo = function()
recalculateWrapPolygon: true recalculateWrapPolygon: true
}; };
this.localTransform = new AscCommon.CMatrix(); this.localTransform = new AscCommon.CMatrix();
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.posX = null; this.posX = null;
this.posY = null; this.posY = null;
this.bNeedUpdatePosition = true; this.bNeedUpdatePosition = true;
......
...@@ -71,7 +71,6 @@ CImageShape.prototype.setRecalculateInfo = function() ...@@ -71,7 +71,6 @@ CImageShape.prototype.setRecalculateInfo = function()
this.bNeedUpdatePosition = true; this.bNeedUpdatePosition = true;
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.posX = null; this.posX = null;
this.posY = null; this.posY = null;
......
...@@ -66,7 +66,6 @@ CShape.prototype.setRecalculateInfo = function() ...@@ -66,7 +66,6 @@ CShape.prototype.setRecalculateInfo = function()
this.contentWidth = null; this.contentWidth = null;
this.contentHeight = null; this.contentHeight = null;
this.compiledStyles = []; this.compiledStyles = [];
this.bounds = {l: 0, t: 0, r: 0, b:0, w: 0, h:0};
this.posX = null; this.posX = null;
this.posY = null; this.posY = null;
......
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