Commit 2d260cec authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander.Trofimov

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61780 954022d7-b5bf-4e40-9824-e11837661b57
parent b9e5e0bf
...@@ -4428,10 +4428,10 @@ function BinarySettingsTableWriter(memory, doc) ...@@ -4428,10 +4428,10 @@ function BinarySettingsTableWriter(memory, doc)
var val = c_oAscMathJc.CenterGroup; var val = c_oAscMathJc.CenterGroup;
switch (DefJc) switch (DefJc)
{ {
case JC_CENTER: val = c_oAscMathJc.Center; break; case align_Center: val = c_oAscMathJc.Center; break;
case JC_CENTERGROUP: val = c_oAscMathJc.CenterGroup; break; case align_Justify: val = c_oAscMathJc.CenterGroup; break;
case JC_LEFT: val = c_oAscMathJc.Left; break; case align_Left: val = c_oAscMathJc.Left; break;
case JC_RIGHT: val = c_oAscMathJc.Right; case align_Right: val = c_oAscMathJc.Right;
} }
this.memory.WriteByte(val); this.memory.WriteByte(val);
} }
...@@ -11271,11 +11271,11 @@ function Binary_SettingsTableReader(doc, oReadResult, stream) ...@@ -11271,11 +11271,11 @@ function Binary_SettingsTableReader(doc, oReadResult, stream)
var defJc = this.stream.GetUChar(length); var defJc = this.stream.GetUChar(length);
switch (defJc) switch (defJc)
{ {
case c_oAscMathJc.Center: props.defJc = JC_CENTER; break; case c_oAscMathJc.Center: props.defJc = align_Center; break;
case c_oAscMathJc.CenterGroup: props.defJc = JC_CENTERGROUP; break; case c_oAscMathJc.CenterGroup: props.defJc = align_Justify; break;
case c_oAscMathJc.Left: props.defJc = JC_LEFT; break; case c_oAscMathJc.Left: props.defJc = align_Left; break;
case c_oAscMathJc.Right: props.defJc = JC_RIGHT; break; case c_oAscMathJc.Right: props.defJc = align_Right; break;
default: props.defJc = JC_CENTERGROUP; default: props.defJc = align_Justify;
} }
} }
else else
......
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