Commit 741db742 authored by GoshaZotov's avatar GoshaZotov

add checking into special paste(AnchorPosition)

parent 7a4fd647
......@@ -2083,8 +2083,14 @@ background-repeat: no-repeat;\
}
else
{
_Y = elem.Y + elem.AnchorPosition.H;
_X = elem.X + elem.AnchorPosition.W;
var w = 0, h = 0;
if(elem.AnchorPosition)
{
h = elem.AnchorPosition.H;
w = elem.AnchorPosition.W;
}
_Y = elem.Y + h;
_X = elem.X + w;
}
var _PageNum = this.WordControl.m_oLogicDocument.CurPage;
......
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