Commit 82fc9b8f authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33487

parent ef757828
...@@ -1721,7 +1721,7 @@ function DrawingObjects() { ...@@ -1721,7 +1721,7 @@ function DrawingObjects() {
track_object.track({}, 0, 0); track_object.track({}, 0, 0);
var shape = track_object.getShape(false, _this.drawingDocument, this); var shape = track_object.getShape(false, _this.drawingDocument, this);
shape.spPr.setFill(AscFormat.CreateNoFillUniFill()); shape.spPr.setFill(AscFormat.CreateNoFillUniFill());
shape.setParent(this); //shape.setParent(this);
shape.txBody.content.Content[0].Add_ToContent(0, oParaContent); shape.txBody.content.Content[0].Add_ToContent(0, oParaContent);
var body_pr = shape.getBodyPr(); var body_pr = shape.getBodyPr();
var w = shape.txBody.getMaxContentWidth(150, true) + body_pr.lIns + body_pr.rIns; var w = shape.txBody.getMaxContentWidth(150, true) + body_pr.lIns + body_pr.rIns;
...@@ -1731,7 +1731,7 @@ function DrawingObjects() { ...@@ -1731,7 +1731,7 @@ function DrawingObjects() {
shape.spPr.xfrm.setOffX(0); shape.spPr.xfrm.setOffX(0);
shape.spPr.xfrm.setOffY(0); shape.spPr.xfrm.setOffY(0);
shape.setWorksheet(worksheet.model); shape.setWorksheet(worksheet.model);
shape.addToDrawingObjects(); //shape.addToDrawingObjects();
return shape; return shape;
}; };
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
......
...@@ -2980,7 +2980,7 @@ CChartSpace.prototype.checkValByNumRef = function(workbook, ser, val, bVertical) ...@@ -2980,7 +2980,7 @@ CChartSpace.prototype.checkValByNumRef = function(workbook, ser, val, bVertical)
pt.setVal(value); pt.setVal(value);
if(cell.getNumFormatStr() !== lit_format_code) if(cell.getNumFormatStr() !== lit_format_code)
{ {
pt.setFormatCode(cell.getNumFormatStr()) pt.setFormatCode(cell.getNumFormatStr());
} }
num_cache.addPt(pt); num_cache.addPt(pt);
......
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