Commit fa15db2e authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

asc_CSelectedObject + asc_CImgProperty для заселекченных шейпов и картинок


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48082 954022d7-b5bf-4e40-9824-e11837661b57
parent ac4854b5
This diff is collapsed.
......@@ -333,6 +333,16 @@ var c_oAscStrokeType = {
STROKE_NONE: 0,
STROKE_COLOR: 1
};
var c_oAscTypeSelectElement =
{
Paragraph : 0,
Table : 1,
Image : 2,
Header : 3,
Hyperlink : 4,
SpellCheck : 5
}
var c_oAscCoAuthoringMeBorderColor = "rgba(22,156,0,1)";
var c_oAscCoAuthoringOtherBorderColor = "rgba(238,53,37,1)";
......
......@@ -280,8 +280,8 @@ DrawingObjectsController.prototype =
return this.curState.isPointInDrawingObjects(x, y);
},
getGraphicObjectProps: function() {
getGraphicObjectProps: function()
{
var shape_props, image_props;
switch(this.curState.id)
......@@ -508,7 +508,12 @@ DrawingObjectsController.prototype =
ret.push(image_props);
}
return ret;
var ascSelectedObjects = [];
for (var i = 0; i < ret.length; i++) {
ascSelectedObjects.push(new asc_CSelectedObject( c_oAscTypeSelectElement.Image, new asc_CImgProperty(ret[i]) ));
}
return ascSelectedObjects;
}
};
\ No newline at end of file
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