Commit 06a4b09b authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

смена тем в таблицах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58204 954022d7-b5bf-4e40-9824-e11837661b57
parent 8640f642
......@@ -54,6 +54,30 @@ CGraphicFrame.prototype =
this.addToRecalculate();
},
handleUpdateTheme: function()
{
if(this.graphicObject)
{
this.graphicObject.Recalc_CompiledPr2();
this.graphicObject.RecalcInfo.Recalc_AllCells();
this.recalcInfo.recalculateSizes = true;
this.recalcInfo.recalculateShapeHierarchy = true;
this.recalcInfo.recalculateTable = true;
this.addToRecalculate();
}
},
handleUpdateFill: function()
{},
handleUpdateLn: function()
{},
handleUpdateExtents: function()
{
this.recalcInfo.recalculateTransform = true;
this.addToRecalculate();
},
Get_TextBackGroundColor: function()
{
return undefined;
......
......@@ -142,7 +142,7 @@ CShape.prototype.deleteDrawingBase = function(bCheckPlaceholder)
if(bCheckPlaceholder && this.isPlaceholder() && !this.isEmptyPlaceholder())
{
var hierarchy = this.getHierarchy();
if(hierarchy.length > 0)
if(hierarchy[0])
{
var copy = hierarchy[0].copy();
copy.setParent(this.parent);
......
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