Commit a2a2ca1d authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

save file

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58825 954022d7-b5bf-4e40-9824-e11837661b57
parent 00be0f3f
......@@ -10270,7 +10270,7 @@ for(var b="",e=0;e<a;e++)b+=String.fromCharCode(this.data[this.cur+e]);this.cur+
http://www.teamlab.com
Version: 3.0 (build:165)
Version: 3.0 (build:166)
*/
var ja="",na=!1,oa=!1,pa=!1,qa=!1,ra=!1,ta=!1,ua=!1,va=!1,xa=!1,za=!1,Aa=!1,ja=navigator.userAgent.toLowerCase(),na=-1<ja.indexOf("msie")||-1<ja.indexOf("trident"),oa=-1<ja.indexOf("mac"),ta=-1<ja.indexOf("chrome"),pa=(xa=!ta&&-1<ja.indexOf("safari"))&&oa,qa=-1<ja.indexOf("ipad")||-1<ja.indexOf("iphone")||-1<ja.indexOf("ipod"),ra=-1<ja.indexOf("gecko/"),ua=!!window.opera,va=-1<ja.indexOf("webkit"),za=!na&&-1<ja.indexOf("firefox"),Aa=2===window.devicePixelRatio;window.e6="http://192.168.3.213:3000";(function(a,b){function c(a){this.userName=this.id=null;this.state=b;this.Bwa=-1;this.color=null;this.view=!1;this.ENa(a);return this}a.Asc||(a.Asc={});var d;c.prototype.ENa=function(a){a&&(this.id=a.id,this.userName=a.username,this.Bwa=a.indexUser,this.color=Ca[this.Bwa%Ca.length],this.state=a.state,this.view=a.view)};c.prototype.WF=function(){return this.id};c.prototype.ZV=function(){return this.userName};c.prototype.gua=function(){return this.state};c.prototype.ey=function(){return"#"+("000000"+
this.color.toString(16)).substr(-6)};c.prototype.Zta=function(){return this.color};c.prototype.Aia=function(){return this.view};c.prototype.x_=function(a){this.id=a};c.prototype.faa=function(a){this.userName=a};c.prototype.SSa=function(a){this.state=a};c.prototype.rSa=function(a){this.color=a};a.Asc.asc_CUser=a.Asc.V4=c;d=c.prototype;d.asc_getId=d.WF;d.asc_getUserName=d.ZV;d.asc_getState=d.gua;d.asc_setId=d.x_;d.asc_getColor=d.ey;d.asc_getColorValue=d.Zta;d.asc_getView=d.Aia;d.asc_setUserName=d.faa;
......@@ -15811,7 +15811,7 @@ case 8:Ia.J1=Na[Da.pos++];break;case 9:Ia.u0=Na[Da.pos++];break;case 10:Ia.L1=Na
(ci(this.ga.xa),this.ga.xa.dF(ze,re));break;case 50:var ed=b[d.pos++],Xb=b[d.pos++],Hc=b[d.pos++],rc=cU(this.ga.xa),Ec=ad,Ja=Lg,Oa=$c,xb=Mg,Ae=bd,ae=Ng;rc&&(rc.S&&(Ec=rc.S),rc.Qa&&(Ja=rc.Qa));var Pc=Math.max(1,Ec-(Oa+Ae)),mg=Math.max(1,Ja-(xb+ae)),rf=void 0!==Xb?Math.max(Xb*fg,1):1,cd=void 0!==Hc?Math.max(Hc*fg,1):1,rf=Math.max(5,Math.min(rf,Pc)),cd=Math.max(5,Math.min(cd,mg));ci(this.ga.xa);this.ga.xa.sx(rf,cd,ed);break;case 53:var Ff=P$(b,d);this.Hra(Ff.type,!0);break;case 52:var ng=Q$(b,d);!1===
this.ga.xa.nd(eJ)&&(ci(this.ga.xa),this.ga.xa.BD(ng));break;case 8:ng=Q$(b,d);!1===this.ga.xa.nd(eJ)&&(ci(this.ga.xa),this.ga.xa.CD(ng));break;case 59:!1===this.ga.xa.nd(eJ)&&(ci(this.ga.xa),this.ga.xa.DD());break;case 58:var Od=this.ga.xa.Dx(!0),fd=t$;fd.ClearNoAttack();if(!0===Od){var Nh=this.ga.xa.np(!0);null==Nh?fd.WriteByte(1):(fd.WriteByte(2),fd.WriteString2(Nh))}else fd.WriteByte(0);c=fd;break;case 62:var Oh=this.Yta(b[0],b[1],b[2]),fd=t$;fd.ClearNoAttack();fd.WriteLong(Oh);c=fd;break;case 63:Oh=
this.nua(b[0],b[1],b[2],b[3]);fd=t$;fd.ClearNoAttack();fd.WriteBool(Oh);c=fd;break;case 64:this.oua(b[0]);break;case 65:Oh=this.jua();fd=t$;fd.ClearNoAttack();fd.WriteBool(Oh);c=fd;break;case 17:for(var fe=void 0,Pj=void 0,Be=void 0;e;)switch(g=b[d.pos++],g){case 0:fe=b[d.pos++];break;case 1:Pj=b[d.pos++];break;case 2:d.pos++;break;case 3:d.pos++;break;case 4:d.pos++;break;case 5:d.pos++;break;case 6:Be=b[d.pos++];break;default:e=!1}void 0!==fe&&void 0!==Pj&&this.hva(fe,Pj);void 0!==Be&&this.iva(Be);
break;case 200:fd=t$,fd.ClearNoAttack(),fd.WriteStringA(this["asc_nativeGetFile()"]),c=fd}return c};function J$(a,b){for(var c=new Yz,d=!0;d;)switch(a[b.pos++]){case 0:c.I=a[b.pos++];break;case 1:c.U=a[b.pos++];break;case 2:c.T=a[b.pos++];break;case 3:c.aa=a[b.pos++];break;default:d=!1}return c}
break;case 200:fd=t$,fd.ClearNoAttack(),fd.WriteStringA(this.asc_nativeGetFile()),c=fd}return c};function J$(a,b){for(var c=new Yz,d=!0;d;)switch(a[b.pos++]){case 0:c.I=a[b.pos++];break;case 1:c.U=a[b.pos++];break;case 2:c.T=a[b.pos++];break;case 3:c.aa=a[b.pos++];break;default:d=!1}return c}
function R$(a,b,c){b&&(c.WriteByte(a),void 0!==b.I&&null!==b.I&&(c.WriteByte(0),c.WriteDouble2(b.I)),void 0!==b.U&&null!==b.U&&(c.WriteByte(1),c.WriteDouble2(b.U)),void 0!==b.T&&null!==b.T&&(c.WriteByte(2),c.WriteDouble2(b.T)),void 0!==b.aa&&null!==b.aa&&(c.WriteByte(3),c.WriteDouble2(b.aa)),c.WriteByte(255))}
function K$(a,b){for(var c=new Z9,d=!0;d;)switch(a[b.pos++]){case 0:c.I=D$(a,b);break;case 1:c.U=D$(a,b);break;case 2:c.T=D$(a,b);break;case 3:c.aa=D$(a,b);break;case 4:c.pg=D$(a,b);break;case 5:c.qg=D$(a,b);break;default:d=!1}return c}function S$(a,b,c){b&&(c.WriteByte(a),E$(0,b.I,c),E$(1,b.U,c),E$(2,b.T,c),E$(3,b.aa,c),E$(4,b.pg,c),E$(5,b.qg,c),c.WriteByte(255))}
function L$(a,b){for(var c=new U9,d=!0;d;)switch(a[b.pos++]){case 0:c.Q=B$(a,b);break;case 1:c.s=a[b.pos++];break;default:d=!1}return c}function T$(a,b,c){b&&(c.WriteByte(a),C$(0,b.Q,c),void 0!==b.s&&null!==b.s&&(c.WriteByte(1),c.WriteLong(b.s)),c.WriteByte(255))}function M$(a,b){for(var c=new NC,d=!0;d;)switch(a[b.pos++]){case 0:c.v=a[b.pos++];break;case 1:c.A=a[b.pos++];break;default:d=!1}return c}
......@@ -357802,7 +357802,7 @@ asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params)
{
var _stream = global_memory_stream_menu;
_stream["ClearNoAttack"]();
_stream["WriteStringA"](this["asc_nativeGetFile()"]);
_stream["WriteStringA"](this["asc_nativeGetFile"]());
_return = _stream;
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