Commit 07f1850f authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

добавлен para_Math_BreakOperator

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60871 954022d7-b5bf-4e40-9824-e11837661b57
parent 5a02bc4f
......@@ -8502,6 +8502,10 @@ ParaRun.prototype.Get_TextForAutoCorrect = function(AutoCorrectEngine, RunPos)
{
AutoCorrectEngine.Add_Text(String.fromCharCode(Item.value), this, nPos, RunPos);
}
else if (para_Math_Ampersand === Item.Type)
{
AutoCorrectEngine.Add_Text('&', this, nPos, RunPos);
}
if (Item === ActionElement)
{
......
......@@ -1893,6 +1893,7 @@ function Binary_oMathWriter(memory, oMathPara)
break;
}
case para_Math_Text:
case para_Math_BreakOperator:
this.bs.WriteItem(c_oSer_OMathContentType.MText, function(){ oThis.memory.WriteString2(convertUnicodeToUTF16([item.value]));}); //m:t
break;
case para_Math_Run:
......@@ -1934,10 +1935,11 @@ function Binary_oMathWriter(memory, oMathPara)
var Item = oMRun.Content[CurPos];
switch ( Item.Type )
{
case para_Math_Ampersand : oText += "&"; break;
case para_Math_Text : oText += convertUnicodeToUTF16([Item.value]); break;
case para_Math_Ampersand : oText += "&"; break;
case para_Math_BreakOperator:
case para_Math_Text : oText += convertUnicodeToUTF16([Item.value]); break;
case para_Space:
case para_Tab : oText += " "; break;
case para_Tab : oText += " "; break;
}
}
......
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