Commit 8cfe8d40 authored by Sergey Luzyanin's avatar Sergey Luzyanin

Merge branch 'release/3.8.1' into develop

parents 88469a35 6c2e7683
...@@ -3862,15 +3862,10 @@ CShape.prototype.clipTextRect = function(graphics) ...@@ -3862,15 +3862,10 @@ CShape.prototype.clipTextRect = function(graphics)
var oBodyPr = this.getBodyPr(); var oBodyPr = this.getBodyPr();
if(!this.bWordShape) if(!this.bWordShape)
{ {
if(oBodyPr.vertOverflow === AscFormat.nOTOwerflow && oBodyPr.horzOverflow === AscFormat.nOTOwerflow) if(oBodyPr.vertOverflow === AscFormat.nOTOwerflow)
{ {
return; return;
} }
clip_rect = {x: this.clipRect.x, y: this.clipRect.y, w: this.clipRect.w, h: this.clipRect.h};
if(oBodyPr.vertOverflow === AscFormat.nOTOwerflow && AscFormat.isRealNumber(this.contentHeight))
{
clip_rect.h = this.contentHeight;
}
} }
if(!oBodyPr || !oBodyPr.upright) if(!oBodyPr || !oBodyPr.upright)
{ {
......
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