Commit 6da6a8f1 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

shape to shp

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50711 954022d7-b5bf-4e40-9824-e11837661b57
parent 6102878b
......@@ -3843,7 +3843,7 @@ function CDelimiter()
this.begOper = new COperator (-1);
this.endOper = new COperator (-1);
this.sepOper = new COperator (-1);
this.shape = null;
this.shape = DELIMITER_SHAPE_CENTERED;
CSubMathBase.call(this);
}
......@@ -3871,13 +3871,12 @@ CDelimiter.prototype.init = function(props)
this.sepOper.setTxtPrp(tPrp);
this.endOper.setTxtPrp(tPrp);
if(props.shape == DELIMITER_SHAPE_MATH)
if(props.shape == DELIMITER_SHAPE_MATH || props.shp == DELIMITER_SHAPE_MATH)
this.shape = DELIMITER_SHAPE_MATH;
else if(props.shape == DELIMITER_SHAPE_CENTERED)
this.shape = DELIMITER_SHAPE_CENTERED;
else
else if(props.shape == DELIMITER_SHAPE_CENTERED || props.shp == DELIMITER_SHAPE_CENTERED)
this.shape = DELIMITER_SHAPE_CENTERED;
this.setDimension(1, props.column);
this.setContent();
}
......
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