Commit 50a1c59b authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

delimiter (new)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48117 954022d7-b5bf-4e40-9824-e11837661b57
parent 2117773c
......@@ -52,8 +52,9 @@ CMathBase.prototype =
{
this.elements[i][j] = new CMathContent();
this.elements[i][j].relate(this);
this.elements[i][j].setComposition(this.Composition);
this.elements[i][j].setReduct(this.reduct);
this.elements[i][j].setComposition(this.Composition);
}
}
},
......@@ -129,8 +130,11 @@ CMathBase.prototype =
{
this.elements[i][j] = arguments[j + i*this.nCol];
this.elements[i][j].relate(this);
this.elements[i][j].setComposition(this.Composition);
this.elements[i][j].setReduct(this.reduct);
if(! this.elements[i][j].IsJustDraw() )
{
this.elements[i][j].setComposition(this.Composition);
this.elements[i][j].setReduct(this.reduct);
}
this.elements[i][j].bMObjs = true;
}
}
......
......@@ -205,6 +205,9 @@ CMathContent.prototype =
case 8:
mathElem = new CNary();
break;
case 9:
mathElem = new CDelimiter();
break;
case 30:
mathElem = new CMathBase();
break;
......@@ -753,7 +756,71 @@ CMathContent.prototype =
var base = sigma.getBase();
base.fillPlaceholders();
break;
case 81:
break;
case 82:
break;
case 83:
var delim = this.createMComponent(9);
delim.init(0, 4, 0, 1);
delim.fillPlaceholders();
break;
case 84:
var delim = this.createMComponent(9);
delim.init(2, 4, 0, 1);
delim.fillPlaceholders();
break;
case 85:
var delim = this.createMComponent(9);
delim.init(1, 4, 0, 1);
delim.fillPlaceholders();
break;
case 86:
var delim = this.createMComponent(9);
delim.init(3, 4, 0, 1);
delim.fillPlaceholders();
break;
case 87:
var delim = this.createMComponent(9);
delim.init(4, 4, 0, 1);
delim.fillPlaceholders();
break;
case 88:
var delim = this.createMComponent(9);
delim.init(4, 4, 2, 3);
delim.fillPlaceholders();
break;
case 89:
var delim = this.createMComponent(9);
delim.init(5, 4, 0, 1);
delim.fillPlaceholders();
break;
case 90:
var delim = this.createMComponent(9);
delim.init(6, 4, 0, 1);
delim.fillPlaceholders();
break;
case 91:
var delim = this.createMComponent(9);
delim.init(2, 4, 0, 0);
delim.fillPlaceholders();
break;
case 92:
var delim = this.createMComponent(9);
delim.init(2, 4, 1, 1);
delim.fillPlaceholders();
break;
case 93:
var delim = this.createMComponent(9);
delim.init(2, 4, 1, 0);
delim.fillPlaceholders();
break;
case 94:
var delim = this.createMComponent(9);
delim.init(7, 4, 0, 1);
delim.fillPlaceholders();
break;
/*case 24:
var integr = this.createMComponent(8);
integr.init(0,0,1);
......
......@@ -356,14 +356,6 @@ CNaryOperator.prototype.recalculateSize = function()
center = this.sizeGlyph.height/2;
this.size = {height: height, width: width, center: center};
}
CNaryOperator.prototype.setComposition = function()
{
}
CNaryOperator.prototype.setReduct = function()
{
}
CNaryOperator.prototype.Resize = function()
{
......
This diff is collapsed.
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