Commit 905dbc57 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

origin size bug

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60866 954022d7-b5bf-4e40-9824-e11837661b57
parent 5c61a1e8
......@@ -1712,10 +1712,13 @@ asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params)
if (bIsNeed)
{
var _originSize = this.WordControl.m_oDrawingDocument.Native["DD_GetOriginalImageSize"]();
var _originSize = this.WordControl.m_oDrawingDocument.Native["DD_GetOriginalImageSize"](_imagePr.ImageUrl);
var _w = _originSize[0];
var _h = _originSize[1];
// сбрасываем урл
_imagePr.ImageUrl = undefined;
var _section_select = this.WordControl.m_oLogicDocument.Get_PageSizesByDrawingObjects();
var _page_width = Page_Width;
var _page_height = Page_Height;
......
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