Commit af694f76 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@56248 954022d7-b5bf-4e40-9824-e11837661b57
parent 857a6092
......@@ -383,6 +383,7 @@ CChartSpace.prototype =
convertToPPTX: function(drawingDocument, worksheet)
{
this.setWorksheet(worksheet);
this.setParent(null);
return this;
},
......
......@@ -3109,8 +3109,8 @@
for(var i = 0; i < data.Drawings.length; i++)
{
if(i == 0)
window["Asc"]["editor"].isStartAddShape = true;
//if(i == 0)
// window["Asc"]["editor"].isStartAddShape = true;
drawingObject = data.Drawings[i];
CheckSpPrXfrm(drawingObject.graphicObject);
......@@ -3134,7 +3134,9 @@
drawingObject.graphicObject.addToDrawingObjects();
drawingObject.graphicObject.select(ws.objectRender.controller, 0);
};
ws.objectRender.showDrawingObjects(true);
ws.setSelectionShape(true);
History.EndTransaction();
},
......@@ -3199,8 +3201,8 @@
};
if(i == 0)
window["Asc"]["editor"].isStartAddShape = true;
//if(i == 0)
// window["Asc"]["editor"].isStartAddShape = true;
CheckSpPrXfrm(drawingObject.graphicObject);
xfrm = drawingObject.graphicObject.spPr.xfrm;
......@@ -3460,9 +3462,9 @@
if(horisonalAlign)
oNewItem.a = this._getAlignHorisontal(paraPr);
else if(horisonalAlign == null)
oNewItem.wrap = true;
//вертикальное выравнивание
oNewItem.wrap = true;
//вертикальное выравнивание
oNewItem.va = "center";
//так же wrap выставляем у параграфа, чьим родителем является ячейка таблицы
......
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