Commit c50806b1 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov

добавлены случаи при удалении, когда выделяется вся формула

SetRunEmptyToContent вызывается для каждого контента
символы в виде юникода

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56878 954022d7-b5bf-4e40-9824-e11837661b57
parent d6de06ae
...@@ -225,14 +225,6 @@ ParaMath.prototype = ...@@ -225,14 +225,6 @@ ParaMath.prototype =
Remove : function(Direction, bOnAddText) Remove : function(Direction, bOnAddText)
{ {
var oContent = this.GetSelectContent(); var oContent = this.GetSelectContent();
/*var Comp = oContent.Content.GetParent();
Comp.SetSelectAll();
Comp.SelectToParent();
this.bSelectionUse = true;*/
if (oContent.Start == oContent.End) if (oContent.Start == oContent.End)
{ {
var oElem = oContent.Content.getElem(oContent.Start); var oElem = oContent.Content.getElem(oContent.Start);
...@@ -240,7 +232,12 @@ ParaMath.prototype = ...@@ -240,7 +232,12 @@ ParaMath.prototype =
if (oElem.typeObj == MATH_COMP) if (oElem.typeObj == MATH_COMP)
this.RemoveElem(oContent, Direction, bOnAddText); this.RemoveElem(oContent, Direction, bOnAddText);
else if (oElem.typeObj == MATH_PLACEHOLDER && bOnAddText == false) else if (oElem.typeObj == MATH_PLACEHOLDER && bOnAddText == false)
return; {
var Comp = oContent.Content.GetParent();
Comp.SetSelectAll();
Comp.SelectToParent();
this.bSelectionUse = true;
}
else if (oElem.typeObj == MATH_PLACEHOLDER && bOnAddText == true) else if (oElem.typeObj == MATH_PLACEHOLDER && bOnAddText == true)
{ {
History.Create_NewPoint(); History.Create_NewPoint();
...@@ -261,11 +258,74 @@ ParaMath.prototype = ...@@ -261,11 +258,74 @@ ParaMath.prototype =
} }
else //pararun else //pararun
{ {
if ((Direction > 0 && oElem.State.ContentPos + 1 > oElem.Content.length) || (Direction < 0 && oElem.State.ContentPos - 1 < 0)) if (Direction < 0 && oElem.State.ContentPos - 1 < 0) //backspase
{
if (oContent.Content.CurPos - 1 >= 0)//слева есть элементы
{
var prevElem = oContent.Content.getElem(oContent.Start - 1);
if (prevElem.typeObj == MATH_COMP) //слева композиция
{ {
this.Set_Select_ToMComp(Direction); this.Set_Select_ToMComp(Direction);
return; return;
} }
else //слева ран
{
History.Create_NewPoint();
prevElem.Remove(Direction, bOnAddText);
if(prevElem.Content.length == 0 && !bOnAddText) //тк pararun пустой, удаляем его
{
var Items = [];
Items.push(prevElem.Parent.content[0]);
prevElem.Parent.content.splice( 0, 1 );
History.Add(prevElem.Parent, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: 0});
prevElem.Parent.CurPos--;
}
return;
}
}
else //переходим на уровень выше и выделяем композицию
{
var Comp = oContent.Content.GetParent();
Comp.SetSelectAll();
Comp.SelectToParent();
this.bSelectionUse = true;
}
}
else if (Direction > 0 && oElem.State.ContentPos + 1 > oElem.Content.length) //delete
{
if (oContent.Content.CurPos + 1 >= oContent.Content.content.length) //переходим на уровень выше и выделяем композицию
{
var Comp = oContent.Content.GetParent();
Comp.SetSelectAll();
Comp.SelectToParent();
this.bSelectionUse = true;
}
else //справа есть элемент
{
var nextElem = oContent.Content.getElem(oContent.Start + 1);
if (nextElem.typeObj == MATH_COMP) //справа композиция
{
this.Set_Select_ToMComp(Direction);
return;
}
else //справа ран
{
History.Create_NewPoint();
nextElem.State.ContentPos = 0;
nextElem.Remove(Direction, bOnAddText);
if(nextElem.Content.length == 0 && !bOnAddText) //тк pararun пустой, удаляем его
{
var Items = [];
Items.push(nextElem.Parent.content[0]);
nextElem.Parent.content.splice( 0, 1 );
History.Add(nextElem.Parent, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: 0});
}
return;
}
}
}
History.Create_NewPoint(); History.Create_NewPoint();
oElem.Remove(Direction, bOnAddText); oElem.Remove(Direction, bOnAddText);
if(oElem.Content.length == 0 && !bOnAddText) //тк pararun пустой, удаляем его if(oElem.Content.length == 0 && !bOnAddText) //тк pararun пустой, удаляем его
...@@ -274,6 +334,8 @@ ParaMath.prototype = ...@@ -274,6 +334,8 @@ ParaMath.prototype =
Items.push(oElem.Parent.content[0]); Items.push(oElem.Parent.content[0]);
oElem.Parent.content.splice( 0, 1 ); oElem.Parent.content.splice( 0, 1 );
History.Add(oElem.Parent, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: 0}); History.Add(oElem.Parent, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: 0});
if (Direction < 0)
oContent.Content.CurPos--;
} }
} }
} }
...@@ -297,6 +359,7 @@ ParaMath.prototype = ...@@ -297,6 +359,7 @@ ParaMath.prototype =
{ {
Items.push(oContent.Content.content[i]); Items.push(oContent.Content.content[i]);
oContent.Content.content.splice( i, 1 ); oContent.Content.content.splice( i, 1 );
if (Direction < 0)
oContent.Content.CurPos--; oContent.Content.CurPos--;
} }
History.Add(oContent.Content, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: oContent.Start}); History.Add(oContent.Content, {Type: historyitem_Math_RemoveItem, Items:Items, Pos: oContent.Start});
......
...@@ -7317,7 +7317,6 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, bAllow ...@@ -7317,7 +7317,6 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, bAllow
res = this.bcr.Read1(length, function(t, l){ res = this.bcr.Read1(length, function(t, l){
return oThis.boMathr.ReadMathArg(t,l,oMathPara.Root); return oThis.boMathr.ReadMathArg(t,l,oMathPara.Root);
}); });
oMathPara.Root.SetRunEmptyToContent(true);
} }
else if (c_oSerParType.Hyperlink == type) { else if (c_oSerParType.Hyperlink == type) {
var oHyperlinkObj = {Link: null, Anchor: null, Tooltip: null, History: null, DocLocation: null, TgtFrame: null}; var oHyperlinkObj = {Link: null, Anchor: null, Tooltip: null, History: null, DocLocation: null, TgtFrame: null};
...@@ -8406,6 +8405,8 @@ function Binary_oMathReader(stream) ...@@ -8406,6 +8405,8 @@ function Binary_oMathReader(stream)
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
oElem.SetRunEmptyToContent(true);
return res; return res;
}; };
this.ReadMathArgPr = function(type, length, oElem) this.ReadMathArgPr = function(type, length, oElem)
...@@ -8441,7 +8442,7 @@ function Binary_oMathReader(stream) ...@@ -8441,7 +8442,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.begChr = this.stream.GetString2LE(length); props.begChr = this.stream.GetString2LE(length).charCodeAt(0);
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -8729,7 +8730,7 @@ function Binary_oMathReader(stream) ...@@ -8729,7 +8730,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
var text = this.stream.GetString2LE(length); var text = this.stream.GetString2LE(length).charCodeAt(0);
props.chr = text; props.chr = text;
} }
else else
...@@ -8941,7 +8942,7 @@ function Binary_oMathReader(stream) ...@@ -8941,7 +8942,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.endChr = this.stream.GetString2LE(length); props.endChr = this.stream.GetString2LE(length).charCodeAt(0);
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
...@@ -9752,7 +9753,6 @@ function Binary_oMathReader(stream) ...@@ -9752,7 +9753,6 @@ function Binary_oMathReader(stream)
res = this.bcr.Read1(length, function(t, l){ res = this.bcr.Read1(length, function(t, l){
return oThis.ReadMathArg(t,l,oOMathPara.Root); return oThis.ReadMathArg(t,l,oOMathPara.Root);
}); });
oOMathPara.Root.SetRunEmptyToContent(true);
} }
else if (c_oSer_OMathContentType.OMathParaPr === type) else if (c_oSer_OMathContentType.OMathParaPr === type)
{ {
...@@ -9911,7 +9911,10 @@ function Binary_oMathReader(stream) ...@@ -9911,7 +9911,10 @@ function Binary_oMathReader(stream)
if (oDeg.content && length == 0 && props.degHide !== true) if (oDeg.content && length == 0 && props.degHide !== true)
oDeg.content.fillPlaceholders(); oDeg.content.fillPlaceholders();
else if ( oDeg.content && length == 0 && props.degHide == true) else if ( oDeg.content && length == 0 && props.degHide == true)
{
oDeg.content.degHide = true;
oDeg.content = null; oDeg.content = null;
}
res = this.bcr.Read1(length, function(t, l){ res = this.bcr.Read1(length, function(t, l){
return oThis.ReadMathArg(t,l,oDeg.content); return oThis.ReadMathArg(t,l,oDeg.content);
...@@ -10005,7 +10008,7 @@ function Binary_oMathReader(stream) ...@@ -10005,7 +10008,7 @@ function Binary_oMathReader(stream)
var oThis = this; var oThis = this;
if (c_oSer_OMathBottomNodesValType.Val === type) if (c_oSer_OMathBottomNodesValType.Val === type)
{ {
props.sepChr = this.stream.GetString2LE(length); props.sepChr = this.stream.GetString2LE(length).charCodeAt(0);
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
......
...@@ -5053,6 +5053,7 @@ CMathContent.prototype = ...@@ -5053,6 +5053,7 @@ CMathContent.prototype =
this.Parent = Parent; this.Parent = Parent;
} }
if (!this.bRoot && this.content.length == 0) if (!this.bRoot && this.content.length == 0)
if (!this.degHide)
this.fillPlaceholders(); this.fillPlaceholders();
var lng = this.content.length; var lng = this.content.length;
...@@ -6996,17 +6997,14 @@ CMathContent.prototype = ...@@ -6996,17 +6997,14 @@ CMathContent.prototype =
{ {
case 1: var oFraction = new CFraction(props); case 1: var oFraction = new CFraction(props);
this.CreateFraction(oFraction, this, null, null); this.CreateFraction(oFraction, this, null, null);
oFraction.fillPlaceholders();
break; break;
case 2: props = {ctrPrp: new CTextPr(), type:SKEWED_FRACTION}; case 2: props = {ctrPrp: new CTextPr(), type:SKEWED_FRACTION};
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction, this, null, null); this.CreateFraction(oFraction, this, null, null);
oFraction.fillPlaceholders();
break; break;
case 3: props = {ctrPrp: new CTextPr(), type:LINEAR_FRACTION}; case 3: props = {ctrPrp: new CTextPr(), type:LINEAR_FRACTION};
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction, this, null, null); this.CreateFraction(oFraction, this, null, null);
oFraction.fillPlaceholders();
break; break;
case 4: var oBox = new CBox(props); case 4: var oBox = new CBox(props);
this.CreateElem(oBox, this) this.CreateElem(oBox, this)
...@@ -7015,7 +7013,6 @@ CMathContent.prototype = ...@@ -7015,7 +7013,6 @@ CMathContent.prototype =
//здесь выставляем для oElem argPr.argSz=-1; этой обертки нет //здесь выставляем для oElem argPr.argSz=-1; этой обертки нет
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction, oElem, null, null); this.CreateFraction(oFraction, oElem, null, null);
oFraction.fillPlaceholders();
break; break;
case 5: var oFraction = new CFraction(props); case 5: var oFraction = new CFraction(props);
var sNum = "dx"; var sNum = "dx";
...@@ -7045,32 +7042,24 @@ CMathContent.prototype = ...@@ -7045,32 +7042,24 @@ CMathContent.prototype =
case 10: props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT}; case 10: props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT};
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, this, null, null, null); this.CreateDegree(oDegree, this, null, null, null);
oDegree.fillPlaceholders();
break; break;
case 11: props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT}; case 11: props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT};
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, this, null, null, null); this.CreateDegree(oDegree, this, null, null, null);
oDegree.fillPlaceholders();
break; break;
case 12: props = {ctrPrp: new CTextPr(), type:DEGREE_SubSup}; case 12: props = {ctrPrp: new CTextPr(), type:DEGREE_SubSup};
var oDegree = new CDegreeSubSup(props); var oDegree = new CDegreeSubSup(props);
this.CreateDegree(oDegree, this, null, null, null); this.CreateDegree(oDegree, this, null, null, null);
var oSub = oDegree.getLowerIterator(); var oSub = oDegree.getLowerIterator();
oSub.fillPlaceholders();
var oSup = oDegree.getUpperIterator(); var oSup = oDegree.getUpperIterator();
oSup.fillPlaceholders();
var oElem = oDegree.getBase(); var oElem = oDegree.getBase();
oElem.fillPlaceholders();
break; break;
case 13: props = {ctrPrp: new CTextPr(), type:DEGREE_PreSubSup}; case 13: props = {ctrPrp: new CTextPr(), type:DEGREE_PreSubSup};
var oDegree = new CDegreeSubSup(props); var oDegree = new CDegreeSubSup(props);
this.CreateDegree(oDegree, this, null, null, null); this.CreateDegree(oDegree, this, null, null, null);
var oSub = oDegree.getLowerIterator(); var oSub = oDegree.getLowerIterator();
oSub.fillPlaceholders();
var oSup = oDegree.getUpperIterator(); var oSup = oDegree.getUpperIterator();
oSup.fillPlaceholders();
var oElem = oDegree.getBase(); var oElem = oDegree.getBase();
oElem.fillPlaceholders();
break; break;
case 14: props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT}; case 14: props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT};
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
...@@ -7104,29 +7093,25 @@ CMathContent.prototype = ...@@ -7104,29 +7093,25 @@ CMathContent.prototype =
var oDegreeSubSup = new CDegreeSubSup(props); var oDegreeSubSup = new CDegreeSubSup(props);
this.CreateDegree(oDegreeSubSup, this, sBase, sSup, sSub); this.CreateDegree(oDegreeSubSup, this, sBase, sSup, sSub);
break; break;
case 18: props = {ctrPrp: new CTextPr(), type:SQUARE_RADICAL, degHede:true}; case 18: props = {ctrPrp: new CTextPr(), type:SQUARE_RADICAL, degHide:true};
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateRadical(oRadical, this, null, null); this.CreateRadical(oRadical, this, null, null);
oRadical.fillPlaceholders();
break; break;
case 19: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL}; case 19: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL};
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateRadical(oRadical, this, null, null); this.CreateRadical(oRadical, this, null, null);
oRadical.fillPlaceholders();
break; break;
case 20: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL}; case 20: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL};
var sDeg = "2"; var sDeg = "2";
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateRadical(oRadical, this, null, sDeg); this.CreateRadical(oRadical, this, null, sDeg);
var oElem = oRadical.getBase(); var oElem = oRadical.getBase();
oElem.fillPlaceholders();
break; break;
case 21: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL}; case 21: props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL};
var sDeg = "3"; var sDeg = "3";
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateRadical(oRadical, this, null, sDeg); this.CreateRadical(oRadical, this, null, sDeg);
var oElem = oRadical.getBase(); var oElem = oRadical.getBase();
oElem.fillPlaceholders();
break; break;
case 22: var oFraction = new CFraction(props); case 22: var oFraction = new CFraction(props);
this.CreateElem(oFraction, this); this.CreateElem(oFraction, this);
...@@ -7135,10 +7120,13 @@ CMathContent.prototype = ...@@ -7135,10 +7120,13 @@ CMathContent.prototype =
var sText = "-b" + String.fromCharCode(177); var sText = "-b" + String.fromCharCode(177);
this.AddText(oElemNum, sText); this.AddText(oElemNum, sText);
props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL, degHede:true}; props = {ctrPrp: new CTextPr(), type:DEGREE_RADICAL, degHide:true};
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateElem(oRadical, oElemNum); this.CreateElem(oRadical, oElemNum);
var oElem = oRadical.getBase(); var oElem = oRadical.getBase();
var oDeg = oRadical.getDegree();
oDeg.degHide = true;
oDeg = null;
props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT}; props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT};
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
...@@ -7153,9 +7141,12 @@ CMathContent.prototype = ...@@ -7153,9 +7141,12 @@ CMathContent.prototype =
var oElemDen = oFraction.getDenominator(); var oElemDen = oFraction.getDenominator();
this.AddText(oElemDen, "2a"); this.AddText(oElemDen, "2a");
break; break;
case 23: props = {ctrPrp: new CTextPr(), type:SQUARE_RADICAL, degHede:true}; case 23: props = {ctrPrp: new CTextPr(), type:SQUARE_RADICAL, degHide:true};
var oRadical = new CRadical(props); var oRadical = new CRadical(props);
this.CreateElem(oRadical, this); this.CreateElem(oRadical, this);
var oDeg = oRadical.getDegree();
oDeg.degHide = true;
oDeg = null;
var oElem = oRadical.getBase(); var oElem = oRadical.getBase();
props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT}; props = {ctrPrp: new CTextPr(), type:DEGREE_SUPERSCRIPT};
...@@ -7176,7 +7167,6 @@ CMathContent.prototype = ...@@ -7176,7 +7167,6 @@ CMathContent.prototype =
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 25: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup}; case 25: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
...@@ -7184,9 +7174,6 @@ CMathContent.prototype = ...@@ -7184,9 +7174,6 @@ CMathContent.prototype =
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 26: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr}; case 26: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
...@@ -7194,154 +7181,101 @@ CMathContent.prototype = ...@@ -7194,154 +7181,101 @@ CMathContent.prototype =
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 27: var sVal = String.fromCharCode(8748); case 27: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:8748};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 28: var sVal = String.fromCharCode(8748); case 28: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:8748};
props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 29: var sVal = String.fromCharCode(8748); case 29: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:8748};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 30: var sVal = String.fromCharCode(8749); case 30: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:8749};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 31: var sVal = String.fromCharCode(8749); case 31: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:8749};
props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 32: var sVal = String.fromCharCode(8749); case 32: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:8749};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 33: var sVal = String.fromCharCode(8750); case 33: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:8750};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 34: var sVal = String.fromCharCode(8750); case 34: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:8750};
props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 35: var sVal = String.fromCharCode(8750); case 35: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:8750};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 36: var sVal = String.fromCharCode(8751); case 36: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:8751};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 37: var sVal = String.fromCharCode(8751); case 37: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:8751};
props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 38: var sVal = String.fromCharCode(8751); case 38: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:8751};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 39: var sVal = String.fromCharCode(8752); case 39: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:8752};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, subHide:true, supHide:true, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 40: var sVal = String.fromCharCode(8752); case 40: props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:8752};
props = {ctrPrp: new CTextPr(), limLoc:NARY_SubSup, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 41: var sVal = String.fromCharCode(8752); case 41: props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:8752};
props = {ctrPrp: new CTextPr(), limLoc:NARY_UndOvr, chr:sVal};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 42: props = {ctrPrp: new CTextPr(), diff:1}; case 42: props = {ctrPrp: new CTextPr(), diff:1};
var sVal = "dx"; var sVal = "dx";
...@@ -7358,337 +7292,224 @@ CMathContent.prototype = ...@@ -7358,337 +7292,224 @@ CMathContent.prototype =
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateBox(oBox,this,sVal); this.CreateBox(oBox,this,sVal);
break; break;
case 45: var sChar = String.fromCharCode(8721); case 45: props = {ctrPrp: new CTextPr(), chr:8721, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 46: var sChar = String.fromCharCode(8721); case 46: props = {ctrPrp: new CTextPr(), chr:8721, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 47: var sChar = String.fromCharCode(8721); case 47: props = {ctrPrp: new CTextPr(), chr:8721, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 48: var sChar = String.fromCharCode(8721); case 48: props = {ctrPrp: new CTextPr(), chr:8721, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 49: var sChar = String.fromCharCode(8721); case 49: props = {ctrPrp: new CTextPr(), chr:8721, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 50: var sChar = String.fromCharCode(8719); case 50: props = {ctrPrp: new CTextPr(), chr:8719, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 51: var sChar = String.fromCharCode(8719); case 51: props = {ctrPrp: new CTextPr(), chr:8719, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 52: var sChar = String.fromCharCode(8719); case 52: props = {ctrPrp: new CTextPr(), chr:8719, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 53: var sChar = String.fromCharCode(8719); case 53: props = {ctrPrp: new CTextPr(), chr:8719, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 54: var sChar = String.fromCharCode(8719); case 54: props = {ctrPrp: new CTextPr(), chr:8719, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 55: var sChar = String.fromCharCode(8720); case 55: props = {ctrPrp: new CTextPr(), chr:8720, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 56: var sChar = String.fromCharCode(8720); case 56: props = {ctrPrp: new CTextPr(), chr:8720, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 57: var sChar = String.fromCharCode(8720); case 57: props = {ctrPrp: new CTextPr(), chr:8720, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 58: var sChar = String.fromCharCode(8720); case 58: props = {ctrPrp: new CTextPr(), chr:8720, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 59: var sChar = String.fromCharCode(8720); case 59: props = {ctrPrp: new CTextPr(), chr:8720, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 60: var sChar = String.fromCharCode(8899); case 60: props = {ctrPrp: new CTextPr(), chr:8899, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 61: var sChar = String.fromCharCode(8899); case 61: props = {ctrPrp: new CTextPr(), chr:8899, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 62: var sChar = String.fromCharCode(8899); case 62: props = {ctrPrp: new CTextPr(), chr:8899, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 63: var sChar = String.fromCharCode(8899); case 63: props = {ctrPrp: new CTextPr(), chr:8899, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 64: var sChar = String.fromCharCode(8899); case 64: props = {ctrPrp: new CTextPr(), chr:8899, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 65: var sChar = String.fromCharCode(8898); case 65: props = {ctrPrp: new CTextPr(), chr:8898, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 66: var sChar = String.fromCharCode(8898); case 66: props = {ctrPrp: new CTextPr(), chr:8898, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 67: var sChar = String.fromCharCode(8898); case 67: props = {ctrPrp: new CTextPr(), chr:8898, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 68: var sChar = String.fromCharCode(8898); case 68: props = {ctrPrp: new CTextPr(), chr:8898, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 69: var sChar = String.fromCharCode(8898); case 69: props = {ctrPrp: new CTextPr(), chr:8898, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 70: var sChar = String.fromCharCode(8897); case 70: props = {ctrPrp: new CTextPr(), chr:8897, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 71: var sChar = String.fromCharCode(8897); case 71: props = {ctrPrp: new CTextPr(), chr:8897, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 72: var sChar = String.fromCharCode(8897); case 72: props = {ctrPrp: new CTextPr(), chr:8897, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 73: var sChar = String.fromCharCode(8897); case 73: props = {ctrPrp: new CTextPr(), chr:8897, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 74: var sChar = String.fromCharCode(8897); case 74: props = {ctrPrp: new CTextPr(), chr:8897, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 75: var sChar = String.fromCharCode(8896); case 75: props = {ctrPrp: new CTextPr(), chr:8896, limLoc:NARY_UndOvr, subHide:true, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, subHide:true, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 76: var sChar = String.fromCharCode(8896); case 76: props = {ctrPrp: new CTextPr(), chr:8896, limLoc:NARY_UndOvr};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 77: var sChar = String.fromCharCode(8896); case 77: props = {ctrPrp: new CTextPr(), chr:8896, limLoc:NARY_SubSup};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
var oSup = oNary.getUpperIterator(); var oSup = oNary.getUpperIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
oSup.fillPlaceholders();
break; break;
case 78: var sChar = String.fromCharCode(8896); case 78: props = {ctrPrp: new CTextPr(), chr:8896, limLoc:NARY_UndOvr, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_UndOvr, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 79: var sChar = String.fromCharCode(8896); case 79: props = {ctrPrp: new CTextPr(), chr:8896, limLoc:NARY_SubSup, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, limLoc:NARY_SubSup, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,null,null); this.CreateNary(oNary,this,null,null,null);
var oElem = oNary.getBase(); var oElem = oNary.getBase();
var oSub = oNary.getLowerIterator(); var oSub = oNary.getLowerIterator();
oElem.fillPlaceholders();
oSub.fillPlaceholders();
break; break;
case 80: var sChar = String.fromCharCode(8721); case 80: props = {ctrPrp: new CTextPr(), chr:8721, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateElem(oNary,this); this.CreateElem(oNary,this);
var narySub = oNary.getLowerIterator(); var narySub = oNary.getLowerIterator();
...@@ -7704,15 +7525,12 @@ CMathContent.prototype = ...@@ -7704,15 +7525,12 @@ CMathContent.prototype =
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction, delimiterBase, "n", "k"); this.CreateFraction(oFraction, delimiterBase, "n", "k");
break break
case 81: var sChar = String.fromCharCode(8721); case 81: props = {ctrPrp: new CTextPr(), chr:8721};
props = {ctrPrp: new CTextPr(), chr:sChar};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateNary(oNary,this,null,"i=0","n"); this.CreateNary(oNary,this,null,"i=0","n");
var oElem = oNary.getBase(); var oElem = oNary.getBase();
oElem.fillPlaceholders();
break; break;
case 82: var sChar = String.fromCharCode(8721); case 82: props = {ctrPrp: new CTextPr(), chr:8721, supHide:true};
props = {ctrPrp: new CTextPr(), chr:sChar, supHide:true};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateElem(oNary,this); this.CreateElem(oNary,this);
var narySub = oNary.getLowerIterator(); var narySub = oNary.getLowerIterator();
...@@ -7734,8 +7552,7 @@ CMathContent.prototype = ...@@ -7734,8 +7552,7 @@ CMathContent.prototype =
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
this.AddText(delimiterBase, "i,j"); this.AddText(delimiterBase, "i,j");
break; break;
case 83: var sChar = String.fromCharCode(8719); case 83: props = {ctrPrp: new CTextPr(), chr:8719};
props = {ctrPrp: new CTextPr(), chr:sChar};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateElem(oNary, this); this.CreateElem(oNary, this);
var narySup = oNary.getUpperIterator(); var narySup = oNary.getUpperIterator();
...@@ -7748,8 +7565,7 @@ CMathContent.prototype = ...@@ -7748,8 +7565,7 @@ CMathContent.prototype =
var oSSub = new CDegree(props); var oSSub = new CDegree(props);
this.CreateDegree(oSSub, naryBase, "A", null, "k"); this.CreateDegree(oSSub, naryBase, "A", null, "k");
break; break;
case 84: var sChar = String.fromCharCode(8899); case 84: props = {ctrPrp: new CTextPr(), chr:8899};
props = {ctrPrp: new CTextPr(), chr:sChar};
var oNary = new CNary(props); var oNary = new CNary(props);
this.CreateElem(oNary,this); this.CreateElem(oNary,this);
...@@ -7778,202 +7594,140 @@ CMathContent.prototype = ...@@ -7778,202 +7594,140 @@ CMathContent.prototype =
case 85: props = {ctrPrp: new CTextPr(), column:1}; case 85: props = {ctrPrp: new CTextPr(), column:1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 86: props = {ctrPrp: new CTextPr(), column:1, begChr:"[", endChr:"]"}; case 86: props = {ctrPrp: new CTextPr(), column:1, begChr:91, endChr:93};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 87: props = {ctrPrp: new CTextPr(), column:1, begChr:"{", endChr:"}"}; case 87: props = {ctrPrp: new CTextPr(), column:1, begChr:123, endChr:125};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 88: var sBeg = String.fromCharCode(10216); case 88: props = {ctrPrp: new CTextPr(), column:1, begChr:10216, endChr:10217};
var sEnd = String.fromCharCode(10217);
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 89: var sBeg = String.fromCharCode(9123); case 89: props = {ctrPrp: new CTextPr(), column:1, begChr:9123, endChr:9126};
var sEnd = String.fromCharCode(9126);
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 90: var sBeg = String.fromCharCode(9121); case 90: props = {ctrPrp: new CTextPr(), column:1, begChr:9121, endChr:9124};
var sEnd = String.fromCharCode(9124);
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 91: var sChr = String.fromCharCode(124); case 91: props = {ctrPrp: new CTextPr(), column:1, begChr:124, endChr:124};
props = {ctrPrp: new CTextPr(), column:1, begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 92: var sChr = String.fromCharCode(8214); case 92: props = {ctrPrp: new CTextPr(), column:1, begChr:8214, endChr:8214};
props = {ctrPrp: new CTextPr(), column:1, begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 93: var sChr = String.fromCharCode(91); case 93: props = {ctrPrp: new CTextPr(), column:1, begChr:91, endChr:91};
props = {ctrPrp: new CTextPr(), column:1, begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 94: var sChr = String.fromCharCode(93); case 94: props = {ctrPrp: new CTextPr(), column:1, begChr:93, endChr:93};
props = {ctrPrp: new CTextPr(), column:1, begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 95: props = {ctrPrp: new CTextPr(), column:1, begChr:"]", endChr:"["}; case 95: props = {ctrPrp: new CTextPr(), column:1, begChr:93, endChr:91};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 96: var sBeg = String.fromCharCode(10214); case 96: props = {ctrPrp: new CTextPr(), column:1, begChr:10214, endChr:10215};
var sEnd = String.fromCharCode(10215);
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 97: props = {ctrPrp: new CTextPr(), column:2}; case 97: props = {ctrPrp: new CTextPr(), column:2};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 98: props = {ctrPrp: new CTextPr(), column:2, begChr:"{", endChr:"}"}; case 98: props = {ctrPrp: new CTextPr(), column:2, begChr:123, endChr:125};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 99: var sBeg = String.fromCharCode(10216); case 99: props = {ctrPrp: new CTextPr(), column:2, begChr:10216, endChr:10217};
var sEnd = String.fromCharCode(10217);
props = {ctrPrp: new CTextPr(), column:2, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 100: var sBeg = String.fromCharCode(10216); case 100: props = {ctrPrp: new CTextPr(), column:3, begChr:10216, endChr:10217};
var sEnd = String.fromCharCode(10217);
props = {ctrPrp: new CTextPr(), column:3, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 101: props = {ctrPrp: new CTextPr(), column:1, endChr:""}; case 101: props = {ctrPrp: new CTextPr(), column:1, endChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 102: props = {ctrPrp: new CTextPr(), column:1, begChr:""}; case 102: props = {ctrPrp: new CTextPr(), column:1, begChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 103: props = {ctrPrp: new CTextPr(), column:1, begChr:"[", endChr:""}; case 103: props = {ctrPrp: new CTextPr(), column:1, begChr:91, endChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 104: props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:"]"}; case 104: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:93};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 105: props = {ctrPrp: new CTextPr(), column:1, begChr:"{", endChr:""}; case 105: props = {ctrPrp: new CTextPr(), column:1, begChr:123, endChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 106: props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:"}"}; case 106: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:125};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 107: var sBeg = String.fromCharCode(10216); case 107: props = {ctrPrp: new CTextPr(), column:1, begChr:10216, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 108: var sEnd = String.fromCharCode(10217); case 108: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:10217};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 109: var sBeg = String.fromCharCode(9123); case 109: props = {ctrPrp: new CTextPr(), column:1, begChr:9123, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 110: var sEnd = String.fromCharCode(9126); case 110: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:9126};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 111: var sBeg = String.fromCharCode(9121); case 111: props = {ctrPrp: new CTextPr(), column:1, begChr:9121, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 112: var sEnd = String.fromCharCode(9124); case 112: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:9124};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 113: var sBeg = String.fromCharCode(124); case 113: props = {ctrPrp: new CTextPr(), column:1, begChr:124, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 114: var sEnd = String.fromCharCode(124); case 114: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:124};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 115: var sBeg = String.fromCharCode(8214); case 115: props = {ctrPrp: new CTextPr(), column:1, begChr:8214, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 116: var sEnd = String.fromCharCode(8214); case 116: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:8214};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 117: var sBeg = String.fromCharCode(10214); case 117: props = {ctrPrp: new CTextPr(), column:1, begChr:10214, endChr:-1};
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:""};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 118: var sEnd = String.fromCharCode(10215); case 118: props = {ctrPrp: new CTextPr(), column:1, begChr:-1, endChr:10215};
props = {ctrPrp: new CTextPr(), column:1, begChr:"", endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
oDelimiter.fillPlaceholders();
break; break;
case 119: props = {ctrPrp: new CTextPr(), column:1, begChr:"{", endChr:""}; case 119: props = {ctrPrp: new CTextPr(), column:1, begChr:123, endChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var oElem = oDelimiter.getBase(0); var oElem = oDelimiter.getBase(0);
...@@ -7981,9 +7735,8 @@ CMathContent.prototype = ...@@ -7981,9 +7735,8 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), row:2}; props = {ctrPrp: new CTextPr(), row:2};
var oEqArr = new CEqArray(props); var oEqArr = new CEqArray(props);
this.CreateElem(oEqArr,oElem); this.CreateElem(oEqArr,oElem);
oEqArr.fillPlaceholders();
break; break;
case 120: props = {ctrPrp: new CTextPr(), column:1, begChr:"{", endChr:""}; case 120: props = {ctrPrp: new CTextPr(), column:1, begChr:123, endChr:-1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var oElem = oDelimiter.getBase(0); var oElem = oDelimiter.getBase(0);
...@@ -7991,12 +7744,10 @@ CMathContent.prototype = ...@@ -7991,12 +7744,10 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), row:3}; props = {ctrPrp: new CTextPr(), row:3};
var oEqArr = new CEqArray(props); var oEqArr = new CEqArray(props);
this.CreateElem(oEqArr,oElem); this.CreateElem(oEqArr,oElem);
oEqArr.fillPlaceholders();
break; break;
case 121: props = {ctrPrp: new CTextPr(), type:NO_BAR_FRACTION}; case 121: props = {ctrPrp: new CTextPr(), type:NO_BAR_FRACTION};
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction, this, null, null); this.CreateFraction(oFraction, this, null, null);
oFraction.fillPlaceholders();
break; break;
case 122: props = {ctrPrp: new CTextPr(), column:1}; case 122: props = {ctrPrp: new CTextPr(), column:1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
...@@ -8006,7 +7757,6 @@ CMathContent.prototype = ...@@ -8006,7 +7757,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), type:NO_BAR_FRACTION}; props = {ctrPrp: new CTextPr(), type:NO_BAR_FRACTION};
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction,oElem,null,null); this.CreateFraction(oFraction,oElem,null,null);
oFraction.fillPlaceholders();
break; break;
case 123: this.AddText(this, "f"); case 123: this.AddText(this, "f");
props = {ctrPrp: new CTextPr(), column:1}; props = {ctrPrp: new CTextPr(), column:1};
...@@ -8016,7 +7766,7 @@ CMathContent.prototype = ...@@ -8016,7 +7766,7 @@ CMathContent.prototype =
this.AddText(del1Elem, "x"); this.AddText(del1Elem, "x");
this.AddText(this, "="); this.AddText(this, "=");
props = {ctrPrp: new CTextPr(), column:1, begChr:"{", endChr:""}; props = {ctrPrp: new CTextPr(), column:1, begChr:123, endChr:-1};
var oDelimiter2 = new CDelimiter(props); var oDelimiter2 = new CDelimiter(props);
this.CreateElem(oDelimiter2,this); this.CreateElem(oDelimiter2,this);
var del2Elem = oDelimiter2.getBase(0); var del2Elem = oDelimiter2.getBase(0);
...@@ -8040,9 +7790,7 @@ CMathContent.prototype = ...@@ -8040,9 +7790,7 @@ CMathContent.prototype =
var oFraction = new CFraction(props); var oFraction = new CFraction(props);
this.CreateFraction(oFraction,oElem,"n","k"); this.CreateFraction(oFraction,oElem,"n","k");
break; break;
case 125: var sBeg = String.fromCharCode(10216); case 125: props = {ctrPrp: new CTextPr(), column:1, begChr:10216, endChr:10217};
var sEnd = String.fromCharCode(10217);
props = {ctrPrp: new CTextPr(), column:1, begChr:sBeg, endChr:sEnd};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var oElem = oDelimiter.getBase(0); var oElem = oDelimiter.getBase(0);
...@@ -8057,7 +7805,6 @@ CMathContent.prototype = ...@@ -8057,7 +7805,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "sin", props); this.AddText(oFName, "sin", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 127: var oFunc = new CMathFunc(props); case 127: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8065,7 +7812,6 @@ CMathContent.prototype = ...@@ -8065,7 +7812,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "cos", props); this.AddText(oFName, "cos", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 128: var oFunc = new CMathFunc(props); case 128: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8073,7 +7819,6 @@ CMathContent.prototype = ...@@ -8073,7 +7819,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "tan", props); this.AddText(oFName, "tan", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 129: var oFunc = new CMathFunc(props); case 129: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8081,7 +7826,6 @@ CMathContent.prototype = ...@@ -8081,7 +7826,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "csc", props); this.AddText(oFName, "csc", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 130: var oFunc = new CMathFunc(props); case 130: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8089,7 +7833,6 @@ CMathContent.prototype = ...@@ -8089,7 +7833,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "sec", props); this.AddText(oFName, "sec", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 131: var oFunc = new CMathFunc(props); case 131: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8097,7 +7840,6 @@ CMathContent.prototype = ...@@ -8097,7 +7840,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "cot", props); this.AddText(oFName, "cot", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 132: var oFunc = new CMathFunc(props); case 132: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8109,7 +7851,6 @@ CMathContent.prototype = ...@@ -8109,7 +7851,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 133: var oFunc = new CMathFunc(props); case 133: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8121,7 +7862,6 @@ CMathContent.prototype = ...@@ -8121,7 +7862,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 134: var oFunc = new CMathFunc(props); case 134: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8133,7 +7873,6 @@ CMathContent.prototype = ...@@ -8133,7 +7873,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 135: var oFunc = new CMathFunc(props); case 135: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8145,7 +7884,6 @@ CMathContent.prototype = ...@@ -8145,7 +7884,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 136: var oFunc = new CMathFunc(props); case 136: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8157,7 +7895,6 @@ CMathContent.prototype = ...@@ -8157,7 +7895,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 137: var oFunc = new CMathFunc(props); case 137: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8169,7 +7906,6 @@ CMathContent.prototype = ...@@ -8169,7 +7906,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 138: var oFunc = new CMathFunc(props); case 138: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8177,7 +7913,6 @@ CMathContent.prototype = ...@@ -8177,7 +7913,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "sinh", props); this.AddText(oFName, "sinh", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 139: var oFunc = new CMathFunc(props); case 139: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8185,7 +7920,6 @@ CMathContent.prototype = ...@@ -8185,7 +7920,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "cosh", props); this.AddText(oFName, "cosh", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 140: var oFunc = new CMathFunc(props); case 140: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8193,7 +7927,6 @@ CMathContent.prototype = ...@@ -8193,7 +7927,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "tanh", props); this.AddText(oFName, "tanh", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 141: var oFunc = new CMathFunc(props); case 141: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8201,7 +7934,6 @@ CMathContent.prototype = ...@@ -8201,7 +7934,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "csch", props); this.AddText(oFName, "csch", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 142: var oFunc = new CMathFunc(props); case 142: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8209,7 +7941,6 @@ CMathContent.prototype = ...@@ -8209,7 +7941,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "sech", props); this.AddText(oFName, "sech", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 143: var oFunc = new CMathFunc(props); case 143: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8217,7 +7948,6 @@ CMathContent.prototype = ...@@ -8217,7 +7948,6 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "coth", props); this.AddText(oFName, "coth", props);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 144: var oFunc = new CMathFunc(props); case 144: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8229,7 +7959,6 @@ CMathContent.prototype = ...@@ -8229,7 +7959,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 145: var oFunc = new CMathFunc(props); case 145: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8241,7 +7970,6 @@ CMathContent.prototype = ...@@ -8241,7 +7970,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 146: var oFunc = new CMathFunc(props); case 146: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8253,7 +7981,6 @@ CMathContent.prototype = ...@@ -8253,7 +7981,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 147: var oFunc = new CMathFunc(props); case 147: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8265,7 +7992,6 @@ CMathContent.prototype = ...@@ -8265,7 +7992,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 148: var oFunc = new CMathFunc(props); case 148: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8277,7 +8003,6 @@ CMathContent.prototype = ...@@ -8277,7 +8003,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 149: var oFunc = new CMathFunc(props); case 149: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8289,7 +8014,6 @@ CMathContent.prototype = ...@@ -8289,7 +8014,6 @@ CMathContent.prototype =
var oDegree = new CDegree(props); var oDegree = new CDegree(props);
this.CreateDegree(oDegree, oFName, sBase, sSup, null); this.CreateDegree(oDegree, oFName, sBase, sSup, null);
var oElem = oFunc.getArgument(); var oElem = oFunc.getArgument();
oElem.fillPlaceholders();
break; break;
case 150: var oFunc = new CMathFunc(props); case 150: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
...@@ -8344,139 +8068,99 @@ CMathContent.prototype = ...@@ -8344,139 +8068,99 @@ CMathContent.prototype =
var oArgDen = oFuncDen.getArgument(); var oArgDen = oFuncDen.getArgument();
this.AddText(oArgDen, argText); this.AddText(oArgDen, argText);
break; break;
case 153: var sChr = String.fromCharCode(775); case 153: props = {ctrPrp: new CTextPr(), chr:775};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 154: var sChr = String.fromCharCode(776); case 154: props = {ctrPrp: new CTextPr(), chr:776};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 155: var sChr = String.fromCharCode(8411); case 155: props = {ctrPrp: new CTextPr(), chr:8411};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 156: var oAcc = new CAccent(props); case 156: var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 157: var sChr = String.fromCharCode(780); case 157: props = {ctrPrp: new CTextPr(), chr:780};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 158: var sChr = String.fromCharCode(769); case 158: props = {ctrPrp: new CTextPr(), chr:769};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 159: var sChr = String.fromCharCode(768); case 159: props = {ctrPrp: new CTextPr(), chr:768};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 160: var sChr = String.fromCharCode(774); case 160: props = {ctrPrp: new CTextPr(), chr:774};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 161: var sChr = String.fromCharCode(771); case 161: props = {ctrPrp: new CTextPr(), chr:771};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 162: var sChr = String.fromCharCode(773); case 162: props = {ctrPrp: new CTextPr(), chr:773};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 163: var sChr = String.fromCharCode(831); case 163: props = {ctrPrp: new CTextPr(), chr:831};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 164: var sChr = String.fromCharCode(9182); case 164: props = {ctrPrp: new CTextPr(), chr:9182, pos:VJUST_TOP, vertJc:VJUST_BOT};
props = {ctrPrp: new CTextPr(), chr:sChr, pos:VJUST_TOP, vertJc:VJUST_BOT};
oGroupChr = new CGroupCharacter(props); oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,this); this.CreateElem(oGroupChr,this);
oGroupChr.fillPlaceholders();
break; break;
case 165: oGroupChr = new CGroupCharacter(props); case 165: oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,this); this.CreateElem(oGroupChr,this);
oGroupChr.fillPlaceholders();
break; break;
case 166: props = {ctrPrp: new CTextPr(), type:LIMIT_UP}; case 166: props = {ctrPrp: new CTextPr(), type:LIMIT_UP};
var oLimUpp = new CLimit(props); var oLimUpp = new CLimit(props);
this.CreateElem(oLimUpp,this); this.CreateElem(oLimUpp,this);
var oLim = oLimUpp.getIterator(); var oLim = oLimUpp.getIterator();
oLim.fillPlaceholders();
var oElem = oLimUpp.getFName(); var oElem = oLimUpp.getFName();
var sChr = String.fromCharCode(9182); props = {ctrPrp: new CTextPr(), chr:9182, pos:VJUST_TOP, vertJc:VJUST_BOT};
props = {ctrPrp: new CTextPr(), chr:sChr, pos:VJUST_TOP, vertJc:VJUST_BOT};
oGroupChr = new CGroupCharacter(props); oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
var grElem = oGroupChr.getBase(); var grElem = oGroupChr.getBase();
grElem.fillPlaceholders();
break; break;
case 167: props = {ctrPrp: new CTextPr(), type:LIMIT_LOW}; case 167: props = {ctrPrp: new CTextPr(), type:LIMIT_LOW};
var oLimLow = new CLimit(props); var oLimLow = new CLimit(props);
this.CreateElem(oLimLow,this); this.CreateElem(oLimLow,this);
var oLim = oLimLow.getIterator(); var oLim = oLimLow.getIterator();
oLim.fillPlaceholders();
var oElem = oLimLow.getFName(); var oElem = oLimLow.getFName();
oGroupChr = new CGroupCharacter(props); oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
var grElem = oGroupChr.getBase(); var grElem = oGroupChr.getBase();
grElem.fillPlaceholders();
break; break;
case 168: var sChr = String.fromCharCode(8406); case 168: props = {ctrPrp: new CTextPr(), chr:8406};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 169: var sChr = String.fromCharCode(8407); case 169: props = {ctrPrp: new CTextPr(), chr:8407};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 170: var sChr = String.fromCharCode(8417); case 170: props = {ctrPrp: new CTextPr(), chr:8417};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 171: var sChr = String.fromCharCode(8400); case 171: props = {ctrPrp: new CTextPr(), chr:8400};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 172: var sChr = String.fromCharCode(8401); case 172: props = {ctrPrp: new CTextPr(), chr:8401};
props = {ctrPrp: new CTextPr(), chr:sChr};
var oAcc = new CAccent(props); var oAcc = new CAccent(props);
this.CreateElem(oAcc,this); this.CreateElem(oAcc,this);
oAcc.fillPlaceholders();
break; break;
case 173: var oBorderBox = new CBorderBox(props); case 173: var oBorderBox = new CBorderBox(props);
this.CreateElem(oBorderBox,this); this.CreateElem(oBorderBox,this);
oBorderBox.fillPlaceholders();
break; break;
case 174: var oBorderBox = new CBorderBox(props); case 174: var oBorderBox = new CBorderBox(props);
this.CreateElem(oBorderBox,this); this.CreateElem(oBorderBox,this);
...@@ -8495,11 +8179,9 @@ CMathContent.prototype = ...@@ -8495,11 +8179,9 @@ CMathContent.prototype =
case 175: props = {ctrPrp: new CTextPr(), pos:LOCATION_TOP}; case 175: props = {ctrPrp: new CTextPr(), pos:LOCATION_TOP};
var oBar = new CBar(props); var oBar = new CBar(props);
this.CreateElem(oBar,this); this.CreateElem(oBar,this);
oBar.fillPlaceholders();
break; break;
case 176: var oBar = new CBar(props); case 176: var oBar = new CBar(props);
this.CreateElem(oBar,this); this.CreateElem(oBar,this);
oBar.fillPlaceholders();
break; break;
case 177: props = {ctrPrp: new CTextPr(), pos:LOCATION_TOP}; case 177: props = {ctrPrp: new CTextPr(), pos:LOCATION_TOP};
var oBar = new CBar(props); var oBar = new CBar(props);
...@@ -8523,7 +8205,6 @@ CMathContent.prototype = ...@@ -8523,7 +8205,6 @@ CMathContent.prototype =
case 180: var oFunc = new CMathFunc(props); case 180: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT}; props = {ctrPrp: new CTextPr(), type:DEGREE_SUBSCRIPT};
...@@ -8534,12 +8215,10 @@ CMathContent.prototype = ...@@ -8534,12 +8215,10 @@ CMathContent.prototype =
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(sSubBase, "log", props); this.AddText(sSubBase, "log", props);
var oSub = oSSub.getLowerIterator(); var oSub = oSSub.getLowerIterator();
oSub.fillPlaceholders();
break; break;
case 181: var oFunc = new CMathFunc(props); case 181: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
this.AddText(oFName, "log", props); this.AddText(oFName, "log", props);
...@@ -8547,7 +8226,6 @@ CMathContent.prototype = ...@@ -8547,7 +8226,6 @@ CMathContent.prototype =
case 182: var oFunc = new CMathFunc(props); case 182: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), type:LIMIT_LOW}; props = {ctrPrp: new CTextPr(), type:LIMIT_LOW};
...@@ -8559,19 +8237,16 @@ CMathContent.prototype = ...@@ -8559,19 +8237,16 @@ CMathContent.prototype =
this.AddText(oElem, "lim", props); this.AddText(oElem, "lim", props);
var oLim = oLimLow.getIterator(); var oLim = oLimLow.getIterator();
oLim.fillPlaceholders();
break; break;
case 183: var oFunc = new CMathFunc(props); case 183: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), type:LIMIT_LOW}; props = {ctrPrp: new CTextPr(), type:LIMIT_LOW};
var oLimLow = new CLimit(props); var oLimLow = new CLimit(props);
this.CreateElem(oLimLow, oFName); this.CreateElem(oLimLow, oFName);
var oLim = oLimLow.getIterator(); var oLim = oLimLow.getIterator();
oLim.fillPlaceholders();
var oElem = oLimLow.getFName(); var oElem = oLimLow.getFName();
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
...@@ -8580,14 +8255,12 @@ CMathContent.prototype = ...@@ -8580,14 +8255,12 @@ CMathContent.prototype =
case 184: var oFunc = new CMathFunc(props); case 184: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), type:LIMIT_LOW}; props = {ctrPrp: new CTextPr(), type:LIMIT_LOW};
var oLimLow = new CLimit(props); var oLimLow = new CLimit(props);
this.CreateElem(oLimLow, oFName); this.CreateElem(oLimLow, oFName);
var oLim = oLimLow.getIterator(); var oLim = oLimLow.getIterator();
oLim.fillPlaceholders();
var oElem = oLimLow.getFName(); var oElem = oLimLow.getFName();
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
...@@ -8596,7 +8269,6 @@ CMathContent.prototype = ...@@ -8596,7 +8269,6 @@ CMathContent.prototype =
case 185: var oFunc = new CMathFunc(props); case 185: var oFunc = new CMathFunc(props);
this.CreateElem(oFunc,this); this.CreateElem(oFunc,this);
var oArg = oFunc.getArgument(); var oArg = oFunc.getArgument();
oArg.fillPlaceholders();
oFName = oFunc.getFName(); oFName = oFunc.getFName();
props = {ctrPrp: new CTextPr(), sty:"p"}; props = {ctrPrp: new CTextPr(), sty:"p"};
...@@ -8705,140 +8377,115 @@ CMathContent.prototype = ...@@ -8705,140 +8377,115 @@ CMathContent.prototype =
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8592); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8592}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 196: props = {ctrPrp: new CTextPr(), opEmu:1}; case 196: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8594); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8594}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 197: props = {ctrPrp: new CTextPr(), opEmu:1}; case 197: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8592); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8592}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 198: props = {ctrPrp: new CTextPr(), opEmu:1}; case 198: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8594); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8594}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 199: props = {ctrPrp: new CTextPr(), opEmu:1}; case 199: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8656); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8656}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 200: props = {ctrPrp: new CTextPr(), opEmu:1}; case 200: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8658); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8658}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 201: props = {ctrPrp: new CTextPr(), opEmu:1}; case 201: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8656); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8656}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 202: props = {ctrPrp: new CTextPr(), opEmu:1}; case 202: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8658); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8658}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 203: props = {ctrPrp: new CTextPr(), opEmu:1}; case 203: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8596); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8596}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 204: props = {ctrPrp: new CTextPr(), opEmu:1}; case 204: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8596); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8596}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 205: props = {ctrPrp: new CTextPr(), opEmu:1}; case 205: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8660); props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:8660}
props = {ctrPrp: new CTextPr(), pos:VJUST_TOP, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 206: props = {ctrPrp: new CTextPr(), opEmu:1}; case 206: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8660); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8660}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
oGroupChr.fillPlaceholders();
break; break;
case 207: props = {ctrPrp: new CTextPr(), opEmu:1}; case 207: props = {ctrPrp: new CTextPr(), opEmu:1};
var oBox = new CBox(props); var oBox = new CBox(props);
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8594); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8594}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
var groupElem = oGroupChr.getBase(); var groupElem = oGroupChr.getBase();
...@@ -8849,53 +8496,44 @@ CMathContent.prototype = ...@@ -8849,53 +8496,44 @@ CMathContent.prototype =
this.CreateElem(oBox,this); this.CreateElem(oBox,this);
var oElem = oBox.getBase(); var oElem = oBox.getBase();
var sChr = String.fromCharCode(8594); props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:8594}
props = {ctrPrp: new CTextPr(), vertJc:VJUST_BOT, chr:sChr}
var oGroupChr = new CGroupCharacter(props); var oGroupChr = new CGroupCharacter(props);
this.CreateElem(oGroupChr,oElem); this.CreateElem(oGroupChr,oElem);
var groupElem = oGroupChr.getBase(); var groupElem = oGroupChr.getBase();
var sText = String.fromCharCode(8710); var sText = String.fromCharCode(8710);
this.AddText(groupElem,sText); this.AddText(groupElem,sText);
break; break;
case 209: props = {ctrPrp: new CTextPr(), column:2, row:1, mcJc:"center"}; case 209: props = {ctrPrp: new CTextPr(), column:2, row:1, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 210: props = {ctrPrp: new CTextPr(), column:1, row:2, mcJc:"center"}; case 210: props = {ctrPrp: new CTextPr(), column:1, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 211: props = {ctrPrp: new CTextPr(), column:3, row:1, mcJc:"center"}; case 211: props = {ctrPrp: new CTextPr(), column:3, row:1, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 212: props = {ctrPrp: new CTextPr(), column:1, row:3, mcJc:"center"}; case 212: props = {ctrPrp: new CTextPr(), column:1, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 213: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; case 213: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 214: props = {ctrPrp: new CTextPr(), column:3, row:2, mcJc:"center"}; case 214: props = {ctrPrp: new CTextPr(), column:3, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 215: props = {ctrPrp: new CTextPr(), column:2, row:3, mcJc:"center"}; case 215: props = {ctrPrp: new CTextPr(), column:2, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 216: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:"center"}; case 216: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
oMatrix.fillPlaceholders();
break; break;
case 217: var sText = String.fromCharCode(8943); case 217: var sText = String.fromCharCode(8943);
this.AddText(this,sText); this.AddText(this,sText);
...@@ -8909,7 +8547,7 @@ CMathContent.prototype = ...@@ -8909,7 +8547,7 @@ CMathContent.prototype =
case 220: var sText = String.fromCharCode(8945); case 220: var sText = String.fromCharCode(8945);
this.AddText(this,sText); this.AddText(this,sText);
break; break;
case 221: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; case 221: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
...@@ -8921,7 +8559,7 @@ CMathContent.prototype = ...@@ -8921,7 +8559,7 @@ CMathContent.prototype =
oElem = oMatrix.getElement(1,1); oElem = oMatrix.getElement(1,1);
this.AddText(oElem, "1"); this.AddText(oElem, "1");
break; break;
case 222: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center", plcHide:1}; case 222: props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER, plcHide:1};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
...@@ -8929,7 +8567,7 @@ CMathContent.prototype = ...@@ -8929,7 +8567,7 @@ CMathContent.prototype =
oElem = oMatrix.getElement(1,1); oElem = oMatrix.getElement(1,1);
this.AddText(oElem, "1"); this.AddText(oElem, "1");
break; break;
case 223: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:"center"}; case 223: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
...@@ -8951,7 +8589,7 @@ CMathContent.prototype = ...@@ -8951,7 +8589,7 @@ CMathContent.prototype =
oElem = oMatrix.getElement(2,2); oElem = oMatrix.getElement(2,2);
this.AddText(oElem, "1"); this.AddText(oElem, "1");
break; break;
case 224: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:"center", plcHide:1}; case 224: props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:MCJC_CENTER, plcHide:1};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,this); this.CreateElem(oMatrix,this);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
...@@ -8966,59 +8604,51 @@ CMathContent.prototype = ...@@ -8966,59 +8604,51 @@ CMathContent.prototype =
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
oMatrix.fillPlaceholders();
break; break;
case 226: props = {ctrPrp: new CTextPr(), column:1,begChr:"[", endChr:"]"}; case 226: props = {ctrPrp: new CTextPr(), column:1,begChr:91, endChr:93};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
oMatrix.fillPlaceholders();
break; break;
case 227: var sChr = String.fromCharCode(124); case 227: props = {ctrPrp: new CTextPr(), column:1,begChr:124, endChr:124};
props = {ctrPrp: new CTextPr(), column:1,begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
oMatrix.fillPlaceholders();
break; break;
case 228: var sChr = String.fromCharCode(8214); case 228: props = {ctrPrp: new CTextPr(), column:1,begChr:8214, endChr:8214};
props = {ctrPrp: new CTextPr(), column:1,begChr:sChr, endChr:sChr};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:2, row:2, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
oMatrix.fillPlaceholders();
break; break;
case 229: props = {ctrPrp: new CTextPr(), column:1}; case 229: props = {ctrPrp: new CTextPr(), column:1};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(0,1); oElem = oMatrix.getElement(0,1);
var sText = String.fromCharCode(8943); var sText = String.fromCharCode(8943);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(0,2); oElem = oMatrix.getElement(0,2);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(1,0); oElem = oMatrix.getElement(1,0);
sText = String.fromCharCode(8942); sText = String.fromCharCode(8942);
this.AddText(oElem, sText); this.AddText(oElem, sText);
...@@ -9029,30 +8659,26 @@ CMathContent.prototype = ...@@ -9029,30 +8659,26 @@ CMathContent.prototype =
sText = String.fromCharCode(8942); sText = String.fromCharCode(8942);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(2,0); oElem = oMatrix.getElement(2,0);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(2,1); oElem = oMatrix.getElement(2,1);
sText = String.fromCharCode(8943); sText = String.fromCharCode(8943);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(2,2); oElem = oMatrix.getElement(2,2);
oElem.fillPlaceholders();
break; break;
case 230: props = {ctrPrp: new CTextPr(), column:1,begChr:"[", endChr:"]"}; case 230: props = {ctrPrp: new CTextPr(), column:1,begChr:91, endChr:93};
var oDelimiter = new CDelimiter(props); var oDelimiter = new CDelimiter(props);
this.CreateElem(oDelimiter,this); this.CreateElem(oDelimiter,this);
var delimiterBase = oDelimiter.getBase(0); var delimiterBase = oDelimiter.getBase(0);
props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:"center"}; props = {ctrPrp: new CTextPr(), column:3, row:3, mcJc:MCJC_CENTER};
var oMatrix = new CMathMatrix(props); var oMatrix = new CMathMatrix(props);
this.CreateElem(oMatrix,delimiterBase); this.CreateElem(oMatrix,delimiterBase);
var oElem = oMatrix.getElement(0,0); var oElem = oMatrix.getElement(0,0);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(0,1); oElem = oMatrix.getElement(0,1);
var sText = String.fromCharCode(8943); var sText = String.fromCharCode(8943);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(0,2); oElem = oMatrix.getElement(0,2);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(1,0); oElem = oMatrix.getElement(1,0);
sText = String.fromCharCode(8942); sText = String.fromCharCode(8942);
this.AddText(oElem, sText); this.AddText(oElem, sText);
...@@ -9063,12 +8689,10 @@ CMathContent.prototype = ...@@ -9063,12 +8689,10 @@ CMathContent.prototype =
sText = String.fromCharCode(8942); sText = String.fromCharCode(8942);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(2,0); oElem = oMatrix.getElement(2,0);
oElem.fillPlaceholders();
oElem = oMatrix.getElement(2,1); oElem = oMatrix.getElement(2,1);
sText = String.fromCharCode(8943); sText = String.fromCharCode(8943);
this.AddText(oElem, sText); this.AddText(oElem, sText);
oElem = oMatrix.getElement(2,2); oElem = oMatrix.getElement(2,2);
oElem.fillPlaceholders();
break; break;
} }
}, },
...@@ -9108,7 +8732,8 @@ CMathContent.prototype = ...@@ -9108,7 +8732,8 @@ CMathContent.prototype =
items.push(oElem); items.push(oElem);
History.Add(oParent, {Type: historyitem_Math_AddItem, Items: items, Pos: Pos, PosEnd: PosEnd}); History.Add(oParent, {Type: historyitem_Math_AddItem, Items: items, Pos: Pos, PosEnd: PosEnd});
oElem.CurPos++; oParent.CurPos++;
oParent.SetRunEmptyToContent(true);
} }
}, },
CreateFraction : function (oFraction,oParentElem,sNumText,sDenText) CreateFraction : function (oFraction,oParentElem,sNumText,sDenText)
...@@ -9144,6 +8769,12 @@ CMathContent.prototype = ...@@ -9144,6 +8769,12 @@ CMathContent.prototype =
this.AddText(oElem, sElemText); this.AddText(oElem, sElemText);
var oDeg = oRad.getDegree(); var oDeg = oRad.getDegree();
if (oRad.Pr.degHide == true && sDegText == null)
{
oDeg.degHide = true;
oDeg = null;
}
else
this.AddText(oDeg, sDegText); this.AddText(oDeg, sDegText);
}, },
......
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