Commit 30fd287e authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Сделано, чтобы при добавлении TextArt только само добавление автофигуры...

Сделано, чтобы при добавлении TextArt только само добавление автофигуры записывалось в рецензирование (баг 31095).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66836 954022d7-b5bf-4e40-9824-e11837661b57
parent 2d3a2a25
...@@ -6404,6 +6404,12 @@ DrawingObjectsController.prototype = ...@@ -6404,6 +6404,12 @@ DrawingObjectsController.prototype =
createTextArt: function(nStyle, bWord, wsModel) createTextArt: function(nStyle, bWord, wsModel)
{ {
var MainLogicDocument = (editor && editor.WordControl && editor.WordControl.m_oLogicDocument ? editor && editor.WordControl && editor.WordControl.m_oLogicDocument : null);
var TrackRevisions = (MainLogicDocument ? MainLogicDocument.Is_TrackRevisions() : false);
if (MainLogicDocument && true === TrackRevisions)
MainLogicDocument.Set_TrackRevisions(false);
var oShape = new CShape(); var oShape = new CShape();
oShape.setWordShape(bWord === true); oShape.setWordShape(bWord === true);
oShape.setBDeleted(false); oShape.setBDeleted(false);
...@@ -6545,6 +6551,10 @@ DrawingObjectsController.prototype = ...@@ -6545,6 +6551,10 @@ DrawingObjectsController.prototype =
{ {
oShape.txBody.setBodyPr(oBodyPr); oShape.txBody.setBodyPr(oBodyPr);
} }
if (MainLogicDocument && true === TrackRevisions)
MainLogicDocument.Set_TrackRevisions(true);
return oShape; return oShape;
}, },
......
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