Commit 2fe89fe8 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51150 954022d7-b5bf-4e40-9824-e11837661b57
parent 61ae699a
......@@ -2732,7 +2732,21 @@ CShape.prototype =
var t_x, t_y;
t_x = this.invertTransformText.TransformPointX(x, y);
t_y = this.invertTransformText.TransformPointY(x, y);
return t_x > 0 && t_x < this.txBody.contentWidth && t_y > 0 && t_y < this.txBody.contentHeight2;
if(t_x > 0 && t_x < this.txBody.contentWidth && t_y > 0 && t_y < this.txBody.contentHeight2)
{
var hit_paragraph = this.txBody.content.Internal_GetContentPosByXY(t_x, t_y, 0);
var par = this.txBody.content.Content[hit_paragraph];
if(isRealObject(par))
{
var check_hyperlink = par.Check_Hyperlink(t_x, t_y, 0);
if(isRealObject(check_hyperlink))
{
return check_hyperlink;
}
}
return true;
}
}
return false;
},
......
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