123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- var _j0g=new _lcm("_j0g");_j0g._jgn=function(_u4c,_q9n){this._g2n=_q9n;this._4le(_u4c);};_j0g._os8=function(e){ _j0g._ccj(e); };_j0g._5z2=function(){var _ick=this._g2n.nodeName;this._2oh( "tblOptions" ).style.display = !( ( _ick=="crosstab" )&&!_qkk._qik("ShowCrosstabTableStyleOptions") )&&( _ick != "repeaterTable" )?"":"none";this._2oh( "tblCrosstabOptions" ).style.display = ( ( _ick=="crosstab" )&&_qkk._qik("ShowCrosstabTableStyleOptions") )?"":"none";this._2oh( "tblColumnOptions" ).style.display = ( ( _ick=="list" )||( _ick=="table" ) )?"":"none";this._2oh( "tblRowOptions" ).style.display = ( _ick=="table" )?"":"none";this._2oh( "divFrameOptions" ).style.display = _geb._1nl[this._g2n.nodeName]?"":"none";this._zj6();this._5ql.checked=true;this._m0i.checked=true;this._0we.checked=true;this._7aa.checked=true;this._1we.checked=true;this._9aa.checked=true;this._vpb.checked=true;this._sbd.checked=true;this._mhg.checked=true;this._n0i.checked=true;this._zve.checked=false;this._y7d();_u0n._3a6(this._2oh("divStyles"));};_j0g._src=function(){this._5ql=this._2oh("chkRows");this._m0i=this._2oh("chkColumns");this._0we=this._2oh("chkInnerRows");this._7aa=this._2oh("chkInnerColumns");this._1we=this._2oh("chkOuterRows");this._9aa=this._2oh("chkOuterColumns");this._8aa=this._2oh("chkLastInnerRow");this._7n6=this._2oh("chkLastInnerColumn");this._vpb=this._2oh("chkFirstColumn");this._irb=this._2oh("lblFirstColumn");this._sbd=this._2oh("chkLastColumn");this._tdd=this._2oh("lblLastColumn");this._mhg=this._2oh("chkFirstRow");this._kjg=this._2oh("lblFirstRow");this._n0i=this._2oh("chkLastRow");this._r2i=this._2oh("lblLastRow");this._zve=this._2oh("chkExtension");this._tye=_frh._53g("TableStyles");var _83m=this._tye.selectSingleNode("tableStyles/report");var _61j=_7hn._3em(_83m);var d=_erh._bvc(_61j, false, true);this._7sb=d.documentElement;_agm._kl3(this._7sb);this._qp8();};_j0g._qp8=function(){var d=this._tye.ownerDocument;var nl=this._tye.selectNodes( "tableStyles/tableStyle//style/property[@name='border' or @name='padding' or @name='margin']" );var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _a1k=nl.item(i);var _n8e=_a1k.getAttribute("name");var _lsm=_a1k.parentNode;var _ra8=_a1k.getAttribute("modificationName");var _tec=new _bpc("");_tec._wj2(_n8e, _a1k.getAttribute("value"));var _zqg=_4ke._1o3(_n8e);for(var j=0;j<_zqg.length;j++){var _vdn=_zqg[j];var _8jf=_lsm.insertBefore(d.createElement("property"), _a1k);_8jf.setAttribute("name", _vdn);_8jf.setAttribute("value", _tec._13g(_vdn));if(_ra8&&( _ra8.indexOf( "color" ) != -1 )&&( _vdn.indexOf( "color" ) != -1 ) ){_8jf.setAttribute("modificationName", _ra8);}}_lsm.removeChild(_a1k);}};_j0g._wl3=function(){var div=this._2oh("divStyles");div.parentNode.onmouseup=this._os8;this._f6d();};_j0g._f6d=function(){var div=this._2oh("divStyles");var _uxm="";if(this._emg){var _mzj=this._emg._885();if(_mzj){_uxm=_mzj.getAttribute("value");}this._emg._bzm();}else{this._emg=new _pgk(div, this._53g("TableStylesList"), this);}var nl=this._tye.selectNodes("tableStyles/tableStyle");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _lsm=nl.item(i);if(!_lsm.selectSingleNode(this._g2n.nodeName)){continue;}var _vdn=_lsm.getAttribute("name");var _mzj=this._emg._767();var _dwm=_frh._997("IDS_TS_"+_vdn);_mzj.setAttribute("label", _dwm||_vdn);_mzj.setAttribute("value", _vdn);_8qn._9rc(_mzj, _lsm, "indentLevel");}this._emg._wfn();if(_uxm){delete this._p2f;var _mzj=this._emg._lee("value", _uxm, false);if(_mzj){this._emg._hwc(_uxm, false, true);}else{this._emg._gwc(0, true);}}else{this._emg._gwc(0, true);}};_j0g._o46=function(){this._2oh("divStyles").parentNode.onmouseup=null;if(this._emg){this._emg._fdm();delete this._emg;}delete this._g2n;delete this._p2f;if(this._hfd){this._hfd._fdm();delete this._hfd;}};_j0g._pe4=function(_a6k,_mzj,_zdf){var _uxm=_mzj.getAttribute("value");if(_uxm!=this._p2f){this._p2f=_uxm;this._zj6();_u0n._3a6(this._2oh("divPreview"));setTimeout(this._y7d.bind(this), 0);}};_j0g._oi2=function(_a6k,_mzj){setTimeout(this._bgn.bind(this), 0);};_j0g._6ll=function(){var _zai=this._zve.checked;_erh._ybb();this._gue=true;var _x7h=this._rl4();if(_zai){var _tqf={};this._xj4(_x7h, _tqf);var _83m=_erh._vtc();for(var s in _tqf){var _tkn=_83m.selectSingleNode( "classStyles/classStyle[@name=" + _cgm._zxc( s ) + "]/CSS" );if(_tkn){_tkn.setAttribute( "value", "" );}}}this._vth(_x7h, this._g2n, _zai);delete this._gue;_erh._iee();};_j0g._vth=function(_x7h,_q9n,_zai){this._0l5(_x7h, _q9n, _zai);};_j0g._bgn=function(){this._6ll();this._3le();};_j0g._xj5=function(){setTimeout( "_j0g._y7d(); _j0g._zj6()", 0 );};_j0g._y7d=function(){if(this._p2f){var _x7h=this._rl4();var _sta=_x7h.selectSingleNode(this._g2n.nodeName);var _vdn=_sta.getAttribute("name");var _s6l=this._7sb.cloneNode( true ).selectSingleNode( "layouts/layout/reportPages/page/pageBody/contents/" + this._g2n.nodeName + ( _vdn?"[@name='" + _vdn + "']":"" ) );this._vth(_x7h, _s6l);var _hei=this._2oh("divPreview");var _pz7=_sta.getAttribute( "repeat" ) != "true";_hei.innerHTML=(new _oc8(_s6l, _pz7, false, true))._wfn();this._ts1(_x7h, _s6l, _hei);}else{this._2oh( "divPreview" ).innerHTML = "";}};_j0g._ts1=function(_x7h,_s6l,_hei){if(this._g2n.nodeName=="list"){var _ftm=this._rl4().selectNodes("list/rows/row");var _t0h=_ftm.length;if(_t0h>0){var nl=_hei.getElementsByTagName("TD");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var td=nl.item(i);if(td.getAttribute( "specname" )=="listColumnBody" ){var _xln=_ftm.item(((td.parentNode.rowIndex-1)% _t0h));var _1nf=_xln.selectNodes("style/property");var _3ch={};for(var j=0;j<_1nf.length;j++){var _z9n=_1nf.item(j);_3ch[_z9n.getAttribute( "name" )] = _z9n.getAttribute( "value" );}var _tec=new _bpc("");_tec._6xc(_3ch);td.style.cssText=td.style.cssText+";" + _tec.toString();}}}}};_j0g._rl4=function(){return this._p2f?this._tye.selectSingleNode( "tableStyles/tableStyle[@name=" + _cgm._zxc( this._p2f ) + "]" ):null;};_j0g._0l5=function(_x7h,n,_zai){var nl=_x7h.selectNodes("tableStyleRef/@ref");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _scc=_x7h.parentNode.selectSingleNode( "tableStyle[@name=" + _cgm._zxc( nl.item( i ).value ) + "]" );this._0l5(_scc, n, _zai);}this._jme(_x7h, n, _zai);switch(n.nodeName){case "table":this._xy9(_x7h, n);break;case "crosstab":this._753(_x7h, n);break;case "list":this._fd6(_x7h, n);break;}};_j0g._xt=function(_kc1){var _83m=_dth._ug8(this._g2n);var _b15=_83m.selectNodes( "namedConditionalStyles/advancedConditionalStyle[starts-with(@name, " + _cgm._zxc( _kc1 ) + ")]/@name");var _qlm=_8qn._fde(null, _b15);return _8qn._wh2(_qlm, _kc1, true);};_j0g._fd6=function(_x7h,n){if(this._gue){var _83m=_dth._ug8(this._g2n);var _kc1=_frh._c6j( "IDS_EL_listColumnBodyStyle" ).replace( /\s/g, "" ) + "_";var _j8l=this._g2n.selectNodes( "listColumnBodyStyle/conditionalStyleRefs/conditionalStyleRef[starts-with(@refConditionalStyle, " + _cgm._zxc( _kc1 ) + ")]/@refConditionalStyle");if(_j8l.length>0){var _dkd=_8qn._fde(null, _j8l);var _l8m=_8qn._j12( "name", "=", _dkd, "or" );_8qn._k5g(_83m, "namedConditionalStyles/advancedConditionalStyle"+_l8m);_pf7._na5(this._g2n, _dkd);}_8qn._cqh(_83m, "namedConditionalStyles[not(*)]");}var _j9n=_x7h.selectSingleNode("list");this._nfb(_j9n.selectNodes("style/property"), new _rgk([n]));var _w8i=[ "columns", "rows" ];if(this._vpb.checked){_w8i.push("firstColumn");}if(this._sbd.checked){_w8i.push("lastColumn");}var _cnf=_j9n.selectNodes( _w8i.join( " | " ) );var _tzl=_cnf.length;for(var i=0;i<_tzl;i++){var _dqi=_cnf.item(i);switch(_dqi.nodeName){case "firstColumn":var nl=n.selectNodes( "listColumns/listColumn[position()=1]/listColumnTitle | listColumns/listColumn[position()=1]/listColumnBody" );this._nfb(_dqi.selectNodes("style/property"), nl);break;case "lastColumn":var nl=n.selectNodes( "listColumns/listColumn[last()]/listColumnTitle | listColumns/listColumn[last()]/listColumnBody" );this._nfb(_dqi.selectNodes("style/property"), nl);break;case "columns":var _8tm=_j9n.selectNodes("columns/column");if(_8tm.length==0){break;}var _zgi=(_j9n.selectSingleNode("firstColumn")&&this._vpb.checked)?1:0;var _izd=n.selectNodes("listColumns/listColumn");var _8a9=_izd.length;for(var _ujn=0;_ujn<_8a9;_ujn++){var _m4h=_izd.item(_ujn+_zgi);if(_m4h){var _ukn=_8tm.item((_ujn+_8tm.length)% _8tm.length);this._nfb( _ukn.selectNodes( "style/property" ), _m4h.selectNodes( "listColumnTitle | listColumnBody" ) );}}break;case "rows":if(!this._gue){break;}var _ftm=_j9n.selectNodes("rows/row");var _t0h=_ftm.length;if(_t0h==0){break;}var _r84=this._xt(_kc1);var _xv2=_erh._987(_83m, "namedConditionalStyles");var _nz1=_erh._u0g(_xv2, "advancedConditionalStyle");_nz1.setAttribute("name", _r84);var _p7h=_erh._u0g(_nz1, "styleCases");_8qn._cqh( this._g2n, "listColumnBodyStyle/conditionalStyleRefs/conditionalStyleRef[@refConditionalStyle=" + _cgm._zxc( _r84 ) + "]" );var _k64=_erh._987(this._g2n, "listColumnBodyStyle/conditionalStyleRefs");var _zz4=_erh._u0g(_k64, "conditionalStyleRef");_zz4.setAttribute("refConditionalStyle", _r84);var _mfh="mod(RowNumber() " + _erh._6g8() + " " + _t0h + ") = ";for(var _ekn=0;_ekn<_t0h;_ekn++){var _xln=_ftm.item(_ekn);var _cqi=_erh._u0g(_p7h, "styleCase");var _qd9=_erh._u0g(_cqi, "reportCondition");_qd9.text=_mfh+((_ekn+1)% _t0h);var _lsm=_erh._u0g(_cqi, "style");var _tkn=_erh._u0g(_lsm, "CSS");var _1nf=_xln.selectNodes("style/property");var _3ch={};var _tzl=_1nf.length;for(var i=0;i<_tzl;i++){var _z9n=_1nf.item(i);_3ch[_z9n.getAttribute( "name" )] = _z9n.getAttribute( "value" );}var _tec=new _bpc("");_tec._6xc(_3ch);_tkn.setAttribute("value", _tec.toString());}_8qn._k5g(n, "listColumns/listColumn/listColumnBody/listColumnRowSpan");break;}}};_j0g._753=function(_x7h,n){var _nxj=_x7h.selectSingleNode("crosstab");this._nfb(_nxj.selectNodes("style/property"), new _rgk([n]));var _w8i=[];if(this._m0i.checked){_w8i.push("crosstabColumnNodeMember");}if(this._5ql.checked){_w8i.push("crosstabRowNodeMember");}if(this._0we.checked){_w8i.push("innerMostCrosstabRowNodeMember");}if(this._7aa.checked){_w8i.push("innerMostCrosstabColumnNodeMember");}if(this._1we.checked){_w8i.push("outerMostCrosstabRowNodeMember");}if(this._9aa.checked){_w8i.push("outerMostCrosstabColumnNodeMember");}if(this._7n6.checked){_w8i.push("lastInnerMostCrosstabColumnNodeMember");}if(this._8aa.checked){_w8i.push("lastInnerMostCrosstabRowNodeMember");}if(_w8i.length==0){return;}var _cnf=_nxj.selectNodes( _w8i.join( " | " ) );var _tzl=_cnf.length;for(var i=0;i<_tzl;i++){var _dqi=_cnf.item(i);switch(_dqi.nodeName){case "crosstabColumnNodeMember":var nl=n.selectNodes("crosstabColumns//*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("crosstabColumnNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabColumns//*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("crosstabColumnNodeMember/factCell/style/property"), nl);break;case "crosstabRowNodeMember":var nl=n.selectNodes("crosstabRows//*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("crosstabRowNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabRows//*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("crosstabRowNodeMember/factCell/style/property"), nl);break;case "innerMostCrosstabColumnNodeMember":var nl=n.selectNodes("crosstabColumns//crosstabNode[not(crosstabNestedNodes/*)]/crosstabNodeMembers/*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("innerMostCrosstabColumnNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabColumns//crosstabNode[not(crosstabNestedNodes/*)]/crosstabNodeMembers/*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("innerMostCrosstabColumnNodeMember/factCell/style/property"), nl);break;case "outerMostCrosstabColumnNodeMember":var nl=n.selectNodes("crosstabColumns/crosstabNode/crosstabNodeMembers/*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("outerMostCrosstabColumnNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabColumns/crosstabNode/crosstabNodeMembers/*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("outerMostCrosstabColumnNodeMember/factCell/style/property"), nl);break;case "innerMostCrosstabRowNodeMember":var nl=n.selectNodes("crosstabRows//crosstabNode[not(crosstabNestedNodes/*)]/crosstabNodeMembers/*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("innerMostCrosstabRowNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabRows//crosstabNode[not(crosstabNestedNodes/*)]/crosstabNodeMembers/*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("innerMostCrosstabRowNodeMember/factCell/style/property"), nl);break;case "outerMostCrosstabRowNodeMember":var nl=n.selectNodes("crosstabRows/crosstabNode/crosstabNodeMembers/*"+_geb._871);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("outerMostCrosstabRowNodeMember/style/property"), nl);var nl=n.selectNodes( "crosstabRows/crosstabNode/crosstabNodeMembers/*" + _geb._871 + "/factCell[style/CSS]" );this._nfb(_nxj.selectNodes("outerMostCrosstabRowNodeMember/factCell/style/property"), nl);break;case "lastInnerMostCrosstabColumnNodeMember":var nl=n.selectNodes( "crosstabColumns//crosstabNode[not(crosstabNestedNodes/*)][last()]/crosstabNodeMembers/*" + _geb._871 + "[last()]" );if(nl.length>0){var nl=new _rgk([nl.item(nl.length-1)]);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("lastInnerMostCrosstabColumnNodeMember/style/property"), nl);}var nl=n.selectNodes( "crosstabColumns//crosstabNode[not(crosstabNestedNodes/*)][last()]/crosstabNodeMembers/*" + _geb._871 + "[last()]/factCell" );if(nl.length>0){var _rlm=[nl.item(nl.length-1)];this._nfb(_nxj.selectNodes("lastInnerMostCrosstabColumnNodeMember/factCell/style/property"), new _rgk(_rlm));}break;case "lastInnerMostCrosstabRowNodeMember":var nl=n.selectNodes( "crosstabRows//crosstabNode[not(crosstabNestedNodes/*)][last()]/crosstabNodeMembers/*" + _geb._871 + "[last()]" );if(nl.length>0){var nl=new _rgk([nl.item(nl.length-1)]);this._je5(_nxj, _dqi.nodeName, nl);this._nfb(_nxj.selectNodes("lastInnerMostCrosstabRowNodeMember/style/property"), nl);}var nl=n.selectNodes( "crosstabRows//crosstabNode[not(crosstabNestedNodes/*)][last()]/crosstabNodeMembers/*" + _geb._871 + "[last()]/factCell" );if(nl.length>0){var _rlm=[nl.item(nl.length-1)];this._nfb(_nxj.selectNodes("lastInnerMostCrosstabRowNodeMember/factCell/style/property"), new _rgk(_rlm));}break;}}};_j0g._je5=function(_prm,_cdl,nl){var _h3k=_prm.selectNodes(_cdl+"/classes/class");var _h5c=_h3k.length;for(var _mpm=0;_mpm<_h5c;_mpm++){var _arm=_h3k.item(_mpm);var _ipg=_8qn._fde(null, _arm.selectNodes("className/@value"));for(var i=0;i<nl.length;i++){this._sth(_arm, _ipg, nl.item(i));}}};_j0g._xj4=function(_x7h,_tqf){var nl=_x7h.selectNodes(this._g2n.nodeName+"//classes/class/@name");var _tzl=nl.length;for(var i=0;i<_tzl;i++){_tqf[nl.item(i).value]=true;}var nl=_x7h.selectNodes("tableStyleRef/@ref");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _scc=_x7h.parentNode.selectSingleNode( "tableStyle[@name=" + _cgm._zxc( nl.item( i ).value ) + "]" );this._xj4(_scc, _tqf);}};_j0g._jme=function(_x7h,n,_zai){var _83m=_zai?_erh._vtc():null;var nl=_x7h.selectNodes(this._g2n.nodeName+"/classes/class");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _arm=nl.item(i);var _ipg=_8qn._fde(null, _arm.selectNodes("className/@value"));if(_zai){this._he5(_x7h, _arm, _ipg, n, _83m);}else{this._sth(_arm, _ipg, n);}}};_j0g._sth=function(_arm,_ipg,n){var nl=n.selectNodes( "descendant-or-self::*[style/defaultStyles/defaultStyle" + _8qn._j12( "refStyle", "=", _ipg, "or" ) + "]" );if(_arm.getAttribute( "removeClass" )=="true" ){var _tzl=nl.length;for(var i=0;i<_tzl;i++){_s0n._9wc(nl.item(i));}}this._nfb(_arm.selectNodes("style/property"), nl);};_j0g._he5=function(_x7h,_arm,_ipg,n,_83m){var nl=_arm.selectNodes("style/property");var _3ch={};var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _z9n=nl.item(i);_3ch[_z9n.getAttribute( "name" )] = _z9n.getAttribute( "value" );}var nl=_83m.selectNodes( "classStyles/classStyle" + _8qn._j12( "name", "=", _ipg, "or" ) );var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _b2h=nl.item(i);var _tkn=_erh._h56(_b2h, "CSS");var _tec=new _bpc(_tkn.getAttribute("value"));_tec._6xc(_3ch);_tkn.setAttribute("value", _tec.toString());if(!_tkn.getAttribute("value")){_b2h.removeChild(_tkn);}}};_j0g._xy9=function(_x7h,n){var _psm=_x7h.selectSingleNode("table");var nl=_x7h.selectNodes("tableStyleRef/@ref");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _f2k=_x7h.parentNode.selectSingleNode( "tableStyle[@name=" + _cgm._zxc( nl.item( i ).value ) + "]/table" );this._bf5(_f2k, n);}this._bf5(_psm, n);};_j0g._bf5=function(_psm,n){this._nfb(_psm.selectNodes("style/property"), new _rgk([n]));var _w8i=[ "cells", "rows", "columns" ];if(this._vpb.checked){_w8i.push("firstColumn");}if(this._sbd.checked){_w8i.push("lastColumn");}if(this._mhg.checked){_w8i.push("firstRow");}if(this._n0i.checked){_w8i.push("lastRow");}var _cnf=_psm.selectNodes( _w8i.join( " | " ) );var _tzl=_cnf.length;for(var i=0;i<_tzl;i++){var _dqi=_cnf.item(i);switch(_dqi.nodeName){case "cells":var nl=n.selectNodes("tableRows/tableRow/tableCells/tableCell");this._nfb(_dqi.selectNodes("style/property"), nl);break;case "firstColumn":var nl=n.selectNodes("tableRows/tableRow/tableCells/tableCell[position()=1]");this._nfb(_dqi.selectNodes("style/property"), nl);break;case "lastColumn":var a=_t0n._x56(n);this._nfb(_dqi.selectNodes("style/property"), new _rgk(a));break;case "columns":var _8tm=_psm.selectNodes("columns/column");if(_8tm.length==0){break;}var _zgi=(_psm.selectSingleNode("firstColumn")&&this._vpb.checked)?1:0;var _0ah=n.selectNodes("tableRows/tableRow");var _8a9=_t0n._pu1(_0ah.item(0));for(var _ekn=0;_ekn<_0ah.length;_ekn++){var _g2k=_0ah.item(_ekn);for(var _ujn=0;_ujn<_8a9;_ujn++){var _ukn=_8tm.item((_ujn+_8tm.length)% _8tm.length);var _fqi=_t0n._q6b(_g2k, _ujn+_zgi);if(_fqi){this._nfb(_ukn.selectNodes("style/property"), new _rgk([_fqi]));}}}break;case "rows":var _ftm=_psm.selectNodes("rows/row");if(_ftm.length==0){break;}var _gji=(_psm.selectSingleNode("firstRow")&&this._mhg.checked)?2:1;for(var _ekn=0;;_ekn++){var _xln=_ftm.item((_ekn+_ftm.length)% _ftm.length);var _g2k=n.selectSingleNode( "tableRows/tableRow[" + ( _ekn + _gji ) + "]" );if(!_g2k){break;}this._nfb(_xln.selectNodes("style/property"), new _rgk([_g2k]));}break;case "firstRow":var nl=n.selectNodes("tableRows/tableRow[position()=1]");this._nfb(_dqi.selectNodes("style/property"), nl);var nl=n.selectNodes("tableRows/tableRow[position()=1]/tableCells/tableCell");this._nfb(_dqi.selectNodes("cells/style/property"), nl);break;case "lastRow":var nl=n.selectNodes("tableRows/tableRow[last()]");this._nfb(_dqi.selectNodes("style/property"), nl);var nl=n.selectNodes("tableRows/tableRow[last()]/tableCells/tableCell");this._nfb(_dqi.selectNodes("cells/style/property"), nl);break;}}};_j0g._nfb=function(_1nf,_l4m){var _3ch={};var _tzl=_1nf.length;for(var i=0;i<_tzl;i++){var _z9n=_1nf.item(i);_3ch[_z9n.getAttribute( "name" )] = _z9n.getAttribute( "value" );}_s0n._rj8(_8qn._6l3(null, _l4m), _3ch, null);};_j0g._ccj=function(e){if(e.button==_4qn._he7){if(_4qn._84g(e, this._2oh("divStyles"))||_4qn._84g(e, this._2oh("divPreview"))){if(this._rl4().selectSingleNode(this._g2n.nodeName+"//property/@modificationName")){if(!this._hfd){this._hfd=new _3ce(this._53g("MenuPopupSetTableStyle"), this);}this._hfd._pxc("mnuTableStylePopup", e.clientX, e.clientY);}}}};_j0g._qx=function(_52e,_uni){var _x7h=this._rl4();for(var i=1;i<=8;i++){this._yj7(_x7h, i);}};_j0g._yj7=function(_x7h,_npm){var _ysm=_x7h.selectSingleNode( this._g2n.nodeName+"//property[@modificationName='color" + _npm + "']/@value" );this._hfd._o96("mnuTableStyleColor"+_npm, _ysm!=null);var img=_u7g._dvh(this._hfd, "mnuTableStyleColor"+_npm);img.style.border="1px solid black";img.style.backgroundColor=_8qn._w2g(_ysm);};_j0g._y0g=function(_npm){this._9dd=_npm;var _pvm=this._rl4().selectSingleNode( this._g2n.nodeName+"//property[@modificationName='color" + _npm + "']/@value" ).value;_8fm._jgn("cchl/dialogs/_1zm", this._xp9(), false, _pvm, null, this);};_j0g._io9=function(_e5m){switch(_e5m._b2g()){case "_1zm":var _uxm=_e5m._6ik();var nl=this._rl4().selectNodes( this._g2n.nodeName+"//property[@modificationName='color" + this._9dd + "']" );for(var i=0;i<nl.length;i++){nl.item(i).setAttribute("value", _uxm);}setTimeout(this._y7d.bind(this), 0);}};_j0g._a7j=function(e){switch(e.keyCode){case "R".charCodeAt(0):if(e.ctrlKey){_u0n._3a6(this._2oh("divPreview"));this._src();this._f6d();}break;}this._1f7(e);};_j0g._zj6=function(){var _mzj=this._emg?this._emg._885():null;var _x7h=this._rl4();if(_x7h){var _ick=this._g2n.nodeName;var _xy7=_x7h.selectSingleNode(_ick+"/crosstabRowNodeMember")!=null;var _7x4=_x7h.selectSingleNode(_ick+"/crosstabColumnNodeMember")!=null;var _um1=_x7h.selectSingleNode(_ick+"/innerMostCrosstabRowNodeMember")!=null;var _sv=_x7h.selectSingleNode(_ick+"/innerMostCrosstabColumnNodeMember")!=null;var _vm1=_x7h.selectSingleNode(_ick+"/outerMostCrosstabRowNodeMember")!=null;var _uv=_x7h.selectSingleNode(_ick+"/outerMostCrosstabColumnNodeMember")!=null;var _y4=_x7h.selectSingleNode(_ick+"/lastInnerMostCrosstabRowNodeMember")!=null;var _c2=_x7h.selectSingleNode(_ick+"/lastInnerMostCrosstabColumnNodeMember")!=null;this._j96("chkRows", _xy7);this._j96("chkColumns", _7x4);this._j96("chkInnerRows", _um1);this._j96("chkInnerColumns", _sv);this._j96("chkOuterRows", _vm1);this._j96("chkOuterColumns", _uv);this._j96("chkLastInnerRow", _y4);this._j96("chkLastInnerColumn", _c2);var _gja=_x7h.selectSingleNode(_ick+"/firstColumn")!=null;var _j1c=_x7h.selectSingleNode(_ick+"/lastColumn")!=null;var _x7f=_x7h.selectSingleNode(_ick+"/firstRow")!=null;var _etg=_x7h.selectSingleNode(_ick+"/lastRow")!=null;this._j96("chkFirstColumn", _gja);this._j96("chkLastColumn", _j1c);this._j96("chkFirstRow", _x7f);this._j96("chkLastRow", _etg);var _6e=( _ick=="repeaterTable" )&&_x7h.selectSingleNode( _ick + "/classes/class/style[property[@name='border-collapse' and @value=''] and property[@name='border-spacing' and @value!='']]" );var _08f=_x7h.selectSingleNode( _ick+"/columns | " + _ick + "/rows" ) != null;if(_x7h.getAttribute( "name" )=="Default" ){_4qn._j96(this._zve, true);}else{var _vwk=_6e ||_08f ||(_gja&&this._vpb.checked)||(_j1c&&this._sbd.checked)||(_xy7&&this._5ql.checked)||(_7x4&&this._m0i.checked)||(_um1&&this._0we.checked)||(_sv&&this._7aa.checked)||(_vm1&&this._1we.checked)||(_uv&&this._9aa.checked)||(_c2&&this._7n6.checked)||(_y4&&this._8aa.checked);_4qn._j96(this._zve, !_vwk);}}else{this._j96("chkRows", false);this._j96("chkColumns", false);this._j96("chkInnerRows", false);this._j96("chkInnerColumns", false);this._j96("chkOuterRows", false);this._j96("chkOuterColumns", false);this._j96("chkLastInnerRow", false);this._j96("chkLastInnerColumn", false);this._j96("chkFirstColumn", false);this._j96("chkLastColumn", false);this._j96("chkFirstRow", false);this._j96("chkLastRow", false);}_4qn._pj8(this._qf8("btnOK"), _mzj!=null);_4qn._pj8(this._qf8("btnApply"), _mzj!=null);};
|