Commit 68926f2d authored by Alexander.Trofimov's avatar Alexander.Trofimov

update NumFormat defines

parent 2f3bc92e
...@@ -227,20 +227,23 @@ ...@@ -227,20 +227,23 @@
Error : 3 Error : 3
}; };
//NumFormat defines /**
* NumFormat defines
* @enum {number}
*/
var c_oAscNumFormatType = { var c_oAscNumFormatType = {
None : -1, None : -1,
General : 0, General : 0,
Custom : 1, Number : 1,
Text : 2, Scientific : 2,
Number : 3, Accounting : 3,
Scientific : 5, Currency : 4,
Currency : 6, Date : 5,
Date : 7, Time : 6,
Time : 8, Percent : 7,
Percent : 9, Fraction : 8,
Fraction : 10, Text : 9,
Accounting : 11 Custom : 10
}; };
var c_oAscDrawingLayerType = { var c_oAscDrawingLayerType = {
...@@ -574,7 +577,6 @@ ...@@ -574,7 +577,6 @@
Medium : 2, // 2px Medium : 2, // 2px
Thick : 3 // 3px Thick : 3 // 3px
}; };
/** @enum {number} */
/** /**
* Располагаются в порядке значимости для отрисовки * Располагаются в порядке значимости для отрисовки
* @enum {number} * @enum {number}
...@@ -1202,16 +1204,16 @@ ...@@ -1202,16 +1204,16 @@
prot = c_oAscNumFormatType; prot = c_oAscNumFormatType;
prot['None'] = prot.None; prot['None'] = prot.None;
prot['General'] = prot.General; prot['General'] = prot.General;
prot['Custom'] = prot.Custom;
prot['Text'] = prot.Text;
prot['Number'] = prot.Number; prot['Number'] = prot.Number;
prot['Scientific'] = prot.Scientific; prot['Scientific'] = prot.Scientific;
prot['Accounting'] = prot.Accounting;
prot['Currency'] = prot.Currency; prot['Currency'] = prot.Currency;
prot['Date'] = prot.Date; prot['Date'] = prot.Date;
prot['Time'] = prot.Time; prot['Time'] = prot.Time;
prot['Percent'] = prot.Percent; prot['Percent'] = prot.Percent;
prot['Fraction'] = prot.Fraction; prot['Fraction'] = prot.Fraction;
prot['Accounting'] = prot.Accounting; prot['Text'] = prot.Text;
prot['Custom'] = prot.Custom;
window['Asc']['c_oAscDrawingLayerType'] = c_oAscDrawingLayerType; window['Asc']['c_oAscDrawingLayerType'] = c_oAscDrawingLayerType;
prot = c_oAscDrawingLayerType; prot = c_oAscDrawingLayerType;
prot['BringToFront'] = prot.BringToFront; prot['BringToFront'] = prot.BringToFront;
......
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