Commit 3e693f1b authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix bug 34558

parent 5766898f
......@@ -1063,6 +1063,10 @@ CDLbl.prototype =
return AscDFH.historyitem_type_DLbl;
},
Check_AutoFit: function(){
return true;
},
createDuplicate: function()
{
......@@ -12310,6 +12314,11 @@ CTitle.prototype =
}
return false;
},
Check_AutoFit: function(){
return true;
},
getBodyPr: CDLbl.prototype.getBodyPr,
getCompiledStyle: CDLbl.prototype.getCompiledStyle,
......
......@@ -5113,6 +5113,7 @@ CShape.prototype.chekBodyPrTransform = function(oBodyPr)
CShape.prototype.checkTextWarp = function(oContent, oBodyPr, dWidth, dHeight, bNeedNoTransform, bNeedWarp)
{
return AscFormat.ExecuteNoHistory(function(){
var oRet = {oTxWarpStruct: null, oTxWarpStructParamarks: null, oTxWarpStructNoTransform: null, oTxWarpStructParamarksNoTransform: null};
//return oRet;
var bTransform = this.chekBodyPrTransform(oBodyPr) && bNeedWarp;
......@@ -5264,6 +5265,7 @@ CShape.prototype.checkTextWarp = function(oContent, oBodyPr, dWidth, dHeight, bN
}
}
return oRet;
}, this, []);
};
CShape.prototype.checkTypeCorrect = function(){
......
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