Commit 6c2e7683 authored by Sergey Luzyanin's avatar Sergey Luzyanin

баг с клиппированием

parent 74e22264
...@@ -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