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

Добавил

prot["asc_getCanChangeArrows"] = prot.asc_getCanChangeArrows;
prot["asc_setCanChangeArrows"] = prot.asc_setCanChangeArrows;

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51719 954022d7-b5bf-4e40-9824-e11837661b57
parent 95b5f62e
......@@ -1781,6 +1781,7 @@ function asc_CShapeProperty() {
this.stroke = null;
this.paddings = null;
this.canFill = true;
this.canChangeArrows = false;
}
asc_CShapeProperty.prototype = {
......@@ -1793,8 +1794,10 @@ asc_CShapeProperty.prototype = {
asc_putStroke: function(v) { this.stroke = v; },
asc_getPaddings: function() { return this.paddings; },
asc_putPaddings: function(v) { this.paddings = v; },
asc_getCanFill: function(){return this.canFill;},
asc_putCanFill: function(v){this.canFill = v;}
asc_getCanFill: function() { return this.canFill; },
asc_putCanFill: function(v) { this.canFill = v; },
asc_getCanChangeArrows: function() { return this.canChangeArrows; },
asc_setCanChangeArrows: function(v) { this.canChangeArrows = v; }
}
//{ asc_CShapeProperty export
......@@ -1812,6 +1815,8 @@ prot["asc_getPaddings"] = prot.asc_getPaddings;
prot["asc_putPaddings"] = prot.asc_putPaddings;
prot["asc_getCanFill"] = prot.asc_getCanFill;
prot["asc_putCanFill"] = prot.asc_putCanFill;
prot["asc_getCanChangeArrows"] = prot.asc_getCanChangeArrows;
prot["asc_setCanChangeArrows"] = prot.asc_setCanChangeArrows;
//}
//-----------------------------------------------------------------------------------
......
......@@ -1407,10 +1407,10 @@ DrawingObjectsController.prototype =
shape_props.fromGroup = true;
shape_props.ShapeProperties = new asc_CShapeProperty();
shape_props.ShapeProperties.type = c_obj.getPresetGeom();
shape_props.ShapeProperties.fill = c_obj.getFill();
shape_props.ShapeProperties.stroke = c_obj.getStroke();
shape_props.ShapeProperties.canChangeArrows = c_obj.canChangeArrows();
shape_props.ShapeProperties.type = c_obj.getPresetGeom();
shape_props.ShapeProperties.fill = c_obj.getFill();
shape_props.ShapeProperties.stroke = c_obj.getStroke();
shape_props.ShapeProperties.canChangeArrows = c_obj.canChangeArrows();
shape_props.ShapeProperties.paddings = c_obj.getPaddings();
shape_props.verticalTextAlign = isRealObject(c_obj.txBody) ? c_obj.txBody.getBodyPr().anchor : null;
shape_props.ShapeProperties.canFill = c_obj.canFill();
......
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