Commit 1d0c4b0c authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 30375 - [TextArt][Print]Смещение текста относительно заливки при печати

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64722 954022d7-b5bf-4e40-9824-e11837661b57
parent 29ce064f
......@@ -1257,13 +1257,19 @@ function DrawingObjects() {
var ty = graphicObject.transform.ty;
graphicObject.transform.tx -= left;
graphicObject.transform.ty -= top;
var txTxt, tyTxt;
var txTxt, tyTxt, txWA, tyWA;
if ( graphicObject.txBody && graphicObject.transformText ) {
txTxt = graphicObject.transformText.tx;
tyTxt = graphicObject.transformText.ty;
graphicObject.transformText.tx -= left;
graphicObject.transformText.ty -= top;
}
if(graphicObject.transformTextWordArt)
{
graphicObject.transformTextWordArt.tx -= left;
graphicObject.transformTextWordArt.ty -= top;
}
// Print
graphicObject.draw( ctx );
// Restore
......@@ -1273,6 +1279,11 @@ function DrawingObjects() {
graphicObject.transformText.tx = txTxt;
graphicObject.transformText.ty = tyTxt;
}
if(graphicObject.transformTextWordArt)
{
graphicObject.transformTextWordArt.tx += left;
graphicObject.transformTextWordArt.ty += top;
}
}
}
......
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