From 2ed091da7310d2bb649561e2e4d262528e7dfacc Mon Sep 17 00:00:00 2001
From: Sergey Luzyanin <Sergey.Luzyanin@onlyoffice.com>
Date: Tue, 24 May 2016 18:08:21 +0300
Subject: [PATCH] add objectId

---
 word/Editor/GraphicObjects/GraphicObjects.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/word/Editor/GraphicObjects/GraphicObjects.js b/word/Editor/GraphicObjects/GraphicObjects.js
index fdffbe2b5..70e34fd67 100644
--- a/word/Editor/GraphicObjects/GraphicObjects.js
+++ b/word/Editor/GraphicObjects/GraphicObjects.js
@@ -1233,6 +1233,7 @@ CGraphicObjects.prototype =
             pluginData.setAttribute("height", oleObject.extY);
             pluginData.setAttribute("widthPix", oleObject.m_nPixWidth);
             pluginData.setAttribute("heightPix", oleObject.m_nPixHeight);
+            pluginData.setAttribute("objectId", oleObject.Id);
             editor.asc_pluginRun(oleObject.m_sApplicationId, 0, pluginData);
         }
         this.changeCurrentState(new AscFormat.NullState(this));
-- 
2.30.9