Commit 9506d351 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Дополнение к ревизии 51309

Сохранение в PDF группы автофигур с текстом

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51338 954022d7-b5bf-4e40-9824-e11837661b57
parent dd32b4ff
......@@ -3371,15 +3371,23 @@ function DrawingObjects() {
if ( drawingObject.graphicObject instanceof CGroupShape ) {
for ( var n = 0; n < drawingObject.graphicObject.arrGraphicObjects.length; n++ ) {
var item = drawingObject.graphicObject.arrGraphicObjects[n];
var tx = item.transform.tx;
var ty = item.transform.ty;
var txTxt = item.transformText.tx;
var tyTxt = item.transformText.ty;
item.transform.tx -= left;
item.transform.ty -= top;
item.transformText.tx -= left;
item.transformText.ty -= top;
item.draw( printOptions.ctx.DocumentRenderer );
// Restore
item.transform.tx = tx;
item.transform.ty = ty;
item.transformText.tx = txTxt;
item.transformText.ty = tyTxt;
}
}
else {
......
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