Commit 4758f606 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил export

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61329 954022d7-b5bf-4e40-9824-e11837661b57
parent df3e0c50
......@@ -1093,78 +1093,42 @@
window["Asc"].generateColor = generateColor;
window["Asc"].hsvToRgb = hsvToRgb;
}
)(window);
var CColor = window["CColor"];
var asc_ChartSettings = window["asc_ChartSettings"];
var asc_ValAxisSettings = window["asc_ValAxisSettings"];
var asc_CatAxisSettings = window["asc_CatAxisSettings"];
var g_oArrUserColors = [15064320, 58807, 16724950, 1759488, 9981439, 56805, 15050496, 15224319, 10154496, 16731553,
62146, 47077, 1828096, 15859712, 15427327, 15919360, 15905024, 59890, 12733951, 13496832, 62072, 49906,16734720,
10682112, 7890687, 16731610, 65406, 38655, 16747008, 14221056, 16737966, 1896960, 65484, 10970879, 16759296,
16711680, 63231, 16774656, 2031360, 52479, 13330175, 16743219, 3386367, 11927347, 16752947, 9404671, 4980531,
16744678, 3407830, 11960575, 16724787, 10878873, 14745395, 16762931, 15696127, 3397375, 16744636,3407768, 3406079,
13926655, 15269734, 16751083, 6742271, 16766566, 13107046, 16775219, 16751718, 10852863, 6750176, 16737894,
14457343, 16759142, 6750130, 6865407, 15650047, 16769945, 7929702, 16751049, 6748927, 16751001, 12884479,
16775782, 16765081, 10087423, 10878873, 16757744, 10081791, 14352281, 15053823, 10092523, 16760217, 15728537,
13815039, 16776652, 16757719, 13432319, 16773580, 13828044, 15650047, 15893248, 16724883, 58737, 15007744, 36594,
12772608, 12137471, 6442495, 9561344, 15021055, 34789, 15039488, 44761, 16718470, 14274816, 11606783, 9099520,
53721, 16718545, 1625088, 15881472, 13419776, 50636, 14752511, 55659, 14261760, 32985, 11389952, 16711800,
8571904, 1490688, 16711884, 8991743, 13407488, 41932, 11010303, 7978752, 15028480, 52387, 15007927, 52325, 47295,
14549247, 12552960, 12564480, 39359, 15007852, 12114176, 1421824, 55726, 13041893, 10665728, 30924, 49049,
14251264, 48990, 14241024, 36530, 11709440, 13369507, 44210, 11698688, 7451136, 13397504, 45710, 34214];
function CAscMathType()
{
this.Id = 0;
this.X = 0;
this.Y = 0;
}
CAscMathType.prototype["get_Id"] = function(){ return this.Id; };
CAscMathType.prototype["get_X"] = function(){ return this.X; };
CAscMathType.prototype["get_Y"] = function(){ return this.Y; };
function CAscMathCategory()
{
function CAscTexture()
{
this.Id = 0;
this.Data = [];
this.Image = "";
}
CAscTexture.prototype.get_id = function() { return this.Id; };
CAscTexture.prototype.get_image = function() { return this.Image; };
this.W = 0;
this.H = 0;
}
prot = CAscTexture.prototype;
prot["get_id"] = prot.get_id;
prot["get_image"] = prot.get_image;
CAscMathCategory.prototype["get_Id"] = function(){ return this.Id; };
CAscMathCategory.prototype["get_Data"] = function(){ return this.Data; };
CAscMathCategory.prototype["get_W"] = function(){ return this.W; };
CAscMathCategory.prototype["get_H"] = function(){ return this.H; };
CAscMathCategory.prototype.private_Sort = function(){ this.Data.sort( function(a,b){ return a.Id- b.Id; } ); };
window["CAscTexture"] = CAscTexture;
function CAscTexture()
{
this.Id = 0;
this.Image = "";
}
CAscTexture.prototype.get_id = function() { return this.Id; };
CAscTexture.prototype.get_image = function() { return this.Image; };
function CAscColorScheme()
{
function CAscColorScheme()
{
this.Colors = [];
this.Name = "";
}
CAscColorScheme.prototype.get_colors = function() { return this.Colors; };
CAscColorScheme.prototype.get_name = function() { return this.Name; };
}
CAscColorScheme.prototype.get_colors = function() { return this.Colors; };
CAscColorScheme.prototype.get_name = function() { return this.Name; };
prot = CAscColorScheme.prototype;
prot["get_colors"] = prot.get_colors;
prot["get_name"] = prot.get_name;
// цвет. может быть трех типов:
window["CAscColorScheme"] = CAscColorScheme;
// цвет. может быть трех типов:
// c_oAscColor.COLOR_TYPE_SRGB : value - не учитывается
// c_oAscColor.COLOR_TYPE_PRST : value - имя стандартного цвета (map_prst_color)
// c_oAscColor.COLOR_TYPE_SCHEME : value - тип цвета в схеме
// c_oAscColor.COLOR_TYPE_SYS : конвертируется в srgb
function CAscColor()
{
function CAscColor()
{
this.type = c_oAscColor.COLOR_TYPE_SRGB;
this.value = null;
this.r = 0;
......@@ -1190,23 +1154,23 @@ function CAscColor()
if (4 === arguments.length)
this.a = arguments[3];
}
}
CAscColor.prototype.get_r = function(){return this.r};
CAscColor.prototype.put_r = function(v){this.r = v; this.hex = undefined;};
CAscColor.prototype.get_g = function(){return this.g;};
CAscColor.prototype.put_g = function(v){this.g = v; this.hex = undefined;};
CAscColor.prototype.get_b = function(){return this.b;};
CAscColor.prototype.put_b = function(v){this.b = v; this.hex = undefined;};
CAscColor.prototype.get_a = function(){return this.a;};
CAscColor.prototype.put_a = function(v){this.a = v; this.hex = undefined;};
CAscColor.prototype.get_type = function(){return this.type;};
CAscColor.prototype.put_type = function(v){this.type = v;};
CAscColor.prototype.get_value = function(){return this.value;};
CAscColor.prototype.put_value = function(v){this.value = v;};
CAscColor.prototype.put_auto = function(v){this.Auto = v;};
CAscColor.prototype.get_auto = function(){return this.Auto;};
CAscColor.prototype.get_hex = function()
{
}
CAscColor.prototype.get_r = function(){return this.r};
CAscColor.prototype.put_r = function(v){this.r = v; this.hex = undefined;};
CAscColor.prototype.get_g = function(){return this.g;};
CAscColor.prototype.put_g = function(v){this.g = v; this.hex = undefined;};
CAscColor.prototype.get_b = function(){return this.b;};
CAscColor.prototype.put_b = function(v){this.b = v; this.hex = undefined;};
CAscColor.prototype.get_a = function(){return this.a;};
CAscColor.prototype.put_a = function(v){this.a = v; this.hex = undefined;};
CAscColor.prototype.get_type = function(){return this.type;};
CAscColor.prototype.put_type = function(v){this.type = v;};
CAscColor.prototype.get_value = function(){return this.value;};
CAscColor.prototype.put_value = function(v){this.value = v;};
CAscColor.prototype.get_auto = function(){return this.Auto;};
CAscColor.prototype.put_auto = function(v){this.Auto = v;};
CAscColor.prototype.get_hex = function()
{
if(!this.hex)
{
var a = this.a.toString(16);
......@@ -1219,9 +1183,76 @@ CAscColor.prototype.get_hex = function()
( b.length == 1? "0" + b: b);
}
return this.hex;
};
};
CAscColor.prototype.get_color = function()
{
return new CColor(this.r, this.g, this.b);
};
prot = CAscColor.prototype;
prot["get_r"] = prot.get_r;
prot["put_r"] = prot.put_r;
prot["get_g"] = prot.get_g;
prot["put_g"] = prot.put_g;
prot["get_b"] = prot.get_b;
prot["put_b"] = prot.put_b;
prot["get_a"] = prot.get_a;
prot["put_a"] = prot.put_a;
prot["get_type"] = prot.get_type;
prot["put_type"] = prot.put_type;
prot["get_value"] = prot.get_value;
prot["put_value"] = prot.put_value;
prot["get_auto"] = prot.get_auto;
prot["put_auto"] = prot.put_auto;
prot["get_hex"] = prot.get_hex;
prot["get_color"] = prot.get_color;
window["CAscColor"] = CAscColor;
}
)(window);
var CColor = window["CColor"];
var asc_ChartSettings = window["asc_ChartSettings"];
var asc_ValAxisSettings = window["asc_ValAxisSettings"];
var asc_CatAxisSettings = window["asc_CatAxisSettings"];
var g_oArrUserColors = [15064320, 58807, 16724950, 1759488, 9981439, 56805, 15050496, 15224319, 10154496, 16731553,
62146, 47077, 1828096, 15859712, 15427327, 15919360, 15905024, 59890, 12733951, 13496832, 62072, 49906,16734720,
10682112, 7890687, 16731610, 65406, 38655, 16747008, 14221056, 16737966, 1896960, 65484, 10970879, 16759296,
16711680, 63231, 16774656, 2031360, 52479, 13330175, 16743219, 3386367, 11927347, 16752947, 9404671, 4980531,
16744678, 3407830, 11960575, 16724787, 10878873, 14745395, 16762931, 15696127, 3397375, 16744636,3407768, 3406079,
13926655, 15269734, 16751083, 6742271, 16766566, 13107046, 16775219, 16751718, 10852863, 6750176, 16737894,
14457343, 16759142, 6750130, 6865407, 15650047, 16769945, 7929702, 16751049, 6748927, 16751001, 12884479,
16775782, 16765081, 10087423, 10878873, 16757744, 10081791, 14352281, 15053823, 10092523, 16760217, 15728537,
13815039, 16776652, 16757719, 13432319, 16773580, 13828044, 15650047, 15893248, 16724883, 58737, 15007744, 36594,
12772608, 12137471, 6442495, 9561344, 15021055, 34789, 15039488, 44761, 16718470, 14274816, 11606783, 9099520,
53721, 16718545, 1625088, 15881472, 13419776, 50636, 14752511, 55659, 14261760, 32985, 11389952, 16711800,
8571904, 1490688, 16711884, 8991743, 13407488, 41932, 11010303, 7978752, 15028480, 52387, 15007927, 52325, 47295,
14549247, 12552960, 12564480, 39359, 15007852, 12114176, 1421824, 55726, 13041893, 10665728, 30924, 49049,
14251264, 48990, 14241024, 36530, 11709440, 13369507, 44210, 11698688, 7451136, 13397504, 45710, 34214];
CAscColor.prototype.get_color = function()
function CAscMathType()
{
return new CColor(this.r, this.g, this.b);
};
\ No newline at end of file
this.Id = 0;
this.X = 0;
this.Y = 0;
}
CAscMathType.prototype["get_Id"] = function(){ return this.Id; };
CAscMathType.prototype["get_X"] = function(){ return this.X; };
CAscMathType.prototype["get_Y"] = function(){ return this.Y; };
function CAscMathCategory()
{
this.Id = 0;
this.Data = [];
this.W = 0;
this.H = 0;
}
CAscMathCategory.prototype["get_Id"] = function(){ return this.Id; };
CAscMathCategory.prototype["get_Data"] = function(){ return this.Data; };
CAscMathCategory.prototype["get_W"] = function(){ return this.W; };
CAscMathCategory.prototype["get_H"] = function(){ return this.H; };
CAscMathCategory.prototype.private_Sort = function(){ this.Data.sort( function(a,b){ return a.Id- b.Id; } ); };
\ No newline at end of file
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