Commit 5fad16eb authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33493

parent fcf65d13
...@@ -1722,7 +1722,7 @@ function DrawingObjects() { ...@@ -1722,7 +1722,7 @@ function DrawingObjects() {
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.Copy());
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;
var h = shape.txBody.content.Get_SummaryHeight() + body_pr.tIns + body_pr.bIns; var h = shape.txBody.content.Get_SummaryHeight() + body_pr.tIns + body_pr.bIns;
......
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