Commit 004cdddc authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48370 954022d7-b5bf-4e40-9824-e11837661b57
parent 88fda7bc
...@@ -2845,7 +2845,7 @@ function CDrawingDocument(drawingObjects) ...@@ -2845,7 +2845,7 @@ function CDrawingDocument(drawingObjects)
this.UpdateTarget = function(x, y, pageIndex) this.UpdateTarget = function(x, y, pageIndex)
{ {
this.m_oWordControl.m_oLogicDocument.Set_TargetPos( x, y, pageIndex ); // this.m_oWordControl.m_oLogicDocument.Set_TargetPos( x, y, pageIndex );
if (this.UpdateTargetFromPaint === false) if (this.UpdateTargetFromPaint === false)
{ {
...@@ -2877,7 +2877,7 @@ function CDrawingDocument(drawingObjects) ...@@ -2877,7 +2877,7 @@ function CDrawingDocument(drawingObjects)
bIsPageChanged = true; bIsPageChanged = true;
} }
var targetSize = Number(this.m_dTargetSize * this.m_oWordControl.m_nZoomValue * g_dKoef_mm_to_pix / 100); var targetSize = this.drawingDocument.convertMetric(this.m_dTargetSize , 3, 0); // Number(this.m_dTargetSize * this.m_oWordControl.m_nZoomValue * g_dKoef_mm_to_pix / 100);
var pos = null; var pos = null;
var __x = x; var __x = x;
......
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