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

fix bug 34558

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