Commit efb4307e authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35119

parent f0426ff6
...@@ -2634,10 +2634,14 @@ DrawingObjectsController.prototype = ...@@ -2634,10 +2634,14 @@ DrawingObjectsController.prototype =
for(i = 0; i < objects_by_type.shapes.length; ++i) for(i = 0; i < objects_by_type.shapes.length; ++i)
{ {
objects_by_type.shapes[i].setColumnNumber(props.columnNumber); objects_by_type.shapes[i].setColumnNumber(props.columnNumber);
objects_by_type.shapes[i].recalculate();
objects_by_type.shapes[i].checkExtentsByDocContent();
} }
for(i = 0; i < objects_by_type.groups.length; ++i) for(i = 0; i < objects_by_type.groups.length; ++i)
{ {
objects_by_type.groups[i].setColumnNumber(props.columnNumber); objects_by_type.groups[i].setColumnNumber(props.columnNumber);
objects_by_type.groups[i].recalculate();
objects_by_type.groups[i].checkExtentsByDocContent();
} }
} }
...@@ -2646,10 +2650,14 @@ DrawingObjectsController.prototype = ...@@ -2646,10 +2650,14 @@ DrawingObjectsController.prototype =
for(i = 0; i < objects_by_type.shapes.length; ++i) for(i = 0; i < objects_by_type.shapes.length; ++i)
{ {
objects_by_type.shapes[i].setColumnSpace(props.columnSpace); objects_by_type.shapes[i].setColumnSpace(props.columnSpace);
objects_by_type.shapes[i].recalculate();
objects_by_type.shapes[i].checkExtentsByDocContent();
} }
for(i = 0; i < objects_by_type.groups.length; ++i) for(i = 0; i < objects_by_type.groups.length; ++i)
{ {
objects_by_type.groups[i].setColumnSpace(props.columnSpace); objects_by_type.groups[i].setColumnSpace(props.columnSpace);
objects_by_type.groups[i].recalculate();
objects_by_type.groups[i].checkExtentsByDocContent();
} }
} }
......
...@@ -1236,7 +1236,7 @@ Slide.prototype = ...@@ -1236,7 +1236,7 @@ Slide.prototype =
for(var i = 0; i < sp_tree.length; ++i) for(var i = 0; i < sp_tree.length; ++i)
{ {
var sp = sp_tree[i]; var sp = sp_tree[i];
if(sp.getObjectType() === AscDFH.historyitem_type_Shape || sp.getObjectType() === AscDFH.historyitem_type_ImageShapee || sp.getObjectType() === AscDFH.historyitem_type_OleObject) if(sp.getObjectType() === AscDFH.historyitem_type_Shape || sp.getObjectType() === AscDFH.historyitem_type_ImageShape || sp.getObjectType() === AscDFH.historyitem_type_OleObject)
{ {
if(sp.isPlaceholder && sp.isPlaceholder()) if(sp.isPlaceholder && sp.isPlaceholder())
{ {
...@@ -1252,6 +1252,13 @@ Slide.prototype = ...@@ -1252,6 +1252,13 @@ Slide.prototype =
AscFormat.CheckSpPrXfrm(sp, true); AscFormat.CheckSpPrXfrm(sp, true);
} }
} }
else if(sp.getObjectType() === AscDFH.historyitem_type_Shape){
sp.handleUpdateTheme();
sp.checkExtentsByDocContent();
}
}
else{
} }
} }
}, },
......
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