Commit ab4c7a3b authored by Ilya Kirillov's avatar Ilya Kirillov

The constants for the leader field were moved from WordCommon to Common.

parent 79d58e94
...@@ -954,6 +954,14 @@ ...@@ -954,6 +954,14 @@
Bottom : 1 Bottom : 1
}; };
var c_oAscTabLeader = {
Dot : 0x00,
Hyphen : 0x01,
MiddleDot : 0x02,
None : 0x03,
Underscore : 0x04
};
var c_oAscEncodings = [ var c_oAscEncodings = [
[0, 28596, "ISO-8859-6", "Arabic (ISO 8859-6)"], [0, 28596, "ISO-8859-6", "Arabic (ISO 8859-6)"],
[1, 720, "DOS-720", "Arabic (OEM 720)"], [1, 720, "DOS-720", "Arabic (OEM 720)"],
...@@ -1694,6 +1702,13 @@ ...@@ -1694,6 +1702,13 @@
prot['Top'] = c_oAscMathInterfaceGroupCharPos.Top; prot['Top'] = c_oAscMathInterfaceGroupCharPos.Top;
prot['Bottom'] = c_oAscMathInterfaceGroupCharPos.Bottom; prot['Bottom'] = c_oAscMathInterfaceGroupCharPos.Bottom;
prot = window['Asc']['c_oAscTabLeader'] = window['Asc'].c_oAscTabLeader = c_oAscTabLeader;
prot["None"] = c_oAscTabLeader.None;
prot["Dot"] = c_oAscTabLeader.Dot;
prot["Hyphen"] = c_oAscTabLeader.Hyphen;
prot["MiddleDot"] = c_oAscTabLeader.MiddleDot;
prot["Underscore"] = c_oAscTabLeader.Underscore;
prot = window['Asc']['c_oAscRestrictionType'] = window['Asc'].c_oAscRestrictionType = c_oAscRestrictionType; prot = window['Asc']['c_oAscRestrictionType'] = window['Asc'].c_oAscRestrictionType = c_oAscRestrictionType;
prot['None'] = c_oAscRestrictionType.None; prot['None'] = c_oAscRestrictionType.None;
prot['OnlyForms'] = c_oAscRestrictionType.OnlyForms; prot['OnlyForms'] = c_oAscRestrictionType.OnlyForms;
......
...@@ -206,14 +206,6 @@ var c_oAscNumberingFormat = { ...@@ -206,14 +206,6 @@ var c_oAscNumberingFormat = {
DecimalZero : 0x2007 // numbering_numfmt_DecimalZero DecimalZero : 0x2007 // numbering_numfmt_DecimalZero
}; };
var c_oAscTabLeader = {
Dot : 0x00,
Hyphen : 0x01,
MiddleDot : 0x02,
None : 0x03,
Underscore : 0x04
};
window["flat_desine"] = false; window["flat_desine"] = false;
//------------------------------------------------------------export--------------------------------------------------- //------------------------------------------------------------export---------------------------------------------------
...@@ -312,14 +304,6 @@ prot['LowerLetter'] = c_oAscNumberingFormat.LowerLetter; ...@@ -312,14 +304,6 @@ prot['LowerLetter'] = c_oAscNumberingFormat.LowerLetter;
prot['UpperLetter'] = c_oAscNumberingFormat.UpperLetter; prot['UpperLetter'] = c_oAscNumberingFormat.UpperLetter;
prot['DecimalZero'] = c_oAscNumberingFormat.DecimalZero; prot['DecimalZero'] = c_oAscNumberingFormat.DecimalZero;
prot = window['Asc']['c_oAscTabLeader'] = c_oAscTabLeader;
prot["None"] = c_oAscTabLeader.None;
prot["Dot"] = c_oAscTabLeader.Dot;
prot["Hyphen"] = c_oAscTabLeader.Hyphen;
prot["MiddleDot"] = c_oAscTabLeader.MiddleDot;
prot["Underscore"] = c_oAscTabLeader.Underscore;
window['AscCommon'] = window['AscCommon'] || {}; window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].c_oSerFormat = c_oSerFormat; window['AscCommon'].c_oSerFormat = c_oSerFormat;
window['AscCommon'].CurFileVersion = c_oSerFormat.Version; window['AscCommon'].CurFileVersion = c_oSerFormat.Version;
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