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 _p0g=new _lcm("_p0g");_p0g._jgn=function(_q4l,_5en){this._d0n._6sb=_q4l;this._d0n._t3n=_5en;this._d0n._brk=_q4l.selectSingleNode(_5en);this._d0n._cy1="v2_majorBackgroundColors";this._d0n._ls7=this._d0n._6sb.selectSingleNode(this._d0n._cy1);this._d0n._hng="#D2D2D2";this._d0n._aq6="50";this._d0n._23f="#E2E2E2";this._d0n._ts5="50";if(this._d0n._ls7){var _w3h=this._d0n._ls7.selectSingleNode("v2_firstBackgroundColor");if(_w3h){this._d0n._hng=_w3h.getAttribute("color");this._d0n._aq6=_w3h.getAttribute("transparency");}var _pkf=this._d0n._ls7.selectSingleNode("v2_secondBackgroundColor");if(_pkf){this._d0n._23f=_pkf.getAttribute("color");this._d0n._ts5=_pkf.getAttribute("transparency");}}this._d0n._4km=this._d0n._brk?this._d0n._brk.getAttribute("lineColor"):"#CCCCCC";this._d0n._itl=this._d0n._brk?this._d0n._brk.getAttribute("lineWeight"):"0px";this._d0n._jfa=this._d0n._brk?this._d0n._brk.getAttribute("numberOfMinorGridlines"):"0";this._4le(null, null, _frh._c6j("IDS_PROP_"+_5en));};_p0g._5z2=function(){this._jad=false;this._2oh("chkShowBackgroundColors").checked = ( this._d0n._ls7&&this._d0n._ls7.selectNodes("*").length > 0 );this._qu();this._d0n._84i=new _pgk(this._2oh("divList"), this._53g("lineStyleDialog"), this);this._d0n._isl=new _npc( this._2oh( 'cboWeight' ), this._53g( 'lineWeight' ), this, null );var _ozj=_frh._53g('CCHL_CSSAbsoluteLengthUnits');_pgk._lj2(_ozj, "em");_pgk._lj2(_ozj, "ex");this._d0n._4r7=new _jgk(this._2oh("cboLineWeightUnit"), null, _ozj, this);_4qn._1je( this._2oh("lblShowLines"), _frh._c6j("IDS_LBL_" + this._d0n._t3n) );this._2oh("chkShowLines").checked=!!this._d0n._brk;this._2oh("chkShowLines").style.display = "";this._2oh("lblShowLines").style.display = "";this._2oh("lblWeight").style.display = "";this._2oh("cboWeight").style.display = "";var _tk9="";if(this._d0n._itl=='0px'||this._d0n._itl=='0'){this._2oh("radHairline").checked=true;_tk9="1px";}else{this._2oh("radPointSize").checked=true;_tk9=this._d0n._itl;}var _msi=new _84j(_tk9);this._d0n._isl._3kk(_msi._197());this._d0n._4r7._3kk(_msi._jkl()||'px');this._rq2();this._d0n._84i._hwc(this._d0n._brk?this._d0n._brk.getAttribute("lineStyle"):"solid");};_p0g._qu=function(){_u0n._2b5(this._2oh("btnFillColorFirst"), this._d0n._hng);_u0n._2b5(this._2oh("btnFillColorSecond"), this._d0n._23f);if(this._2oh("chkShowBackgroundColors").checked){this._2oh("txtFillColorTransparencyFirst").value=_8gm._fd7(this._d0n._aq6);this._2oh("txtFillColorTransparencySecond").value=_8gm._fd7(this._d0n._ts5);this._jo(true);}else{this._jo(false);}};_p0g._jo=function(_mvl){this._obb("lgdFirstColor", _mvl);this._pj8("btnFillColorFirst", _mvl);this._obb("lblFillColorFirst", _mvl);this._2oh("lblFillColorFirst").className = _mvl?"clsHyperlink":"";this._obb("lblFillColorTransparencyFirst", _mvl);this._cb5("txtFillColorTransparencyFirst", _mvl);this._obb("lgdSecondColor", _mvl);this._pj8("btnFillColorSecond", _mvl);this._obb("lblFillColorSecond", _mvl);this._2oh("lblFillColorSecond").className = _mvl?"clsHyperlink":"";this._obb("lblFillColorTransparencySecond", _mvl);this._cb5("txtFillColorTransparencySecond", _mvl);};_p0g._986=function(_lsj){if(_lsj.disabled){return;}var _pvm="";this._ev7=this._9fe(_lsj);this._zl6=false;if(_lsj==this._2oh("btnFillColorFirst")){_pvm=this._d0n._hng;}else{_pvm=this._d0n._23f;}_8fm._jgn("cchl/dialogs/_1zm", this._xp9(), false, _pvm, null, this, false, false);};_p0g._y0g=function(){this._zl6=true;_8fm._jgn( "cchl/dialogs/_1zm", this._xp9(), false, this._d0n._4km, _frh._c6j( "IDS_LBL_lineColor" ), this, true, false );};_p0g._hf4=function(_hyl){if(_hyl==this._2oh("txtFillColorTransparencyFirst")){this._d0n._aq6=_hyl.value;}else{this._d0n._ts5=_hyl.value;}};_p0g._io9=function(_e5m,_l6l){switch(_e5m._b2g()){case "_1zm":if(this._zl6){this._d0n._4km=_e5m._6ik();this._rq2();}else{if(this._ev7=="btnFillColorFirst"){this._d0n._hng=_e5m._6ik();}else{this._d0n._23f=_e5m._6ik();}this._qu();}break;}};_p0g._ci8=function(){this._rq2();};_p0g._q51=function(){this._qu();};_p0g._bgn=function(){_erh._ybb();if(this._2oh("chkShowBackgroundColors").checked){if(!this._d0n._ls7){this._d0n._ls7=_erh._u0g(this._d0n._6sb, this._d0n._cy1);}var _w3h=_erh._h56(this._d0n._ls7, "v2_firstBackgroundColor");_w3h.setAttribute("color", this._d0n._hng);_w3h.setAttribute("transparency", this._2oh("txtFillColorTransparencyFirst").value);var _pkf=_erh._h56(this._d0n._ls7, "v2_secondBackgroundColor");_pkf.setAttribute("color", this._d0n._23f);_pkf.setAttribute("transparency", this._2oh("txtFillColorTransparencySecond").value);}else if(this._d0n._ls7){this._d0n._ls7.parentNode.removeChild(this._d0n._ls7);this._d0n._ls7=null;}if(this._2oh("chkShowLines").checked){if(!this._d0n._brk){this._d0n._brk=_erh._u0g(this._d0n._6sb, this._d0n._t3n);}_8qn._qie(this._d0n._brk, "lineColor", this._d0n._4km);var _fbm=''; if(!this._2oh("radHairline").checked){_fbm=this._d0n._isl._l3g()+this._d0n._4r7._qik();}else{_fbm="0";}_8qn._qie(this._d0n._brk, "lineWeight", _fbm); _8qn._qie(this._d0n._brk, "lineStyle", this._d0n._84i._885().getAttribute("value"));}else if(this._d0n._brk){this._d0n._brk.parentNode.removeChild(this._d0n._brk);this._d0n._brk=null;}_erh._iee(true);this._3le();};_p0g._85d=function(){var _8rm=_8qn._isc(this._d0n._6sb, _geb._9sh);return(_m0d._af7[_8rm.nodeName].indexOf(this._d0n._6sb.nodeName)!=-1);};_p0g._hi8=function(){if(!this._d0n._isl._l3g()){this._d0n._isl._3kk("1");this._d0n._4r7._3kk("px");}this._rq2();};_p0g._zs9=function(){this._rq2();};_p0g._rq2=function(){this._pgb();if(this._2oh("chkShowLines").checked){this._d0n._84i._mqh(true);this._d0n._isl._mqh(!!this._2oh("radPointSize").checked);this._d0n._4r7._mqh(!!this._2oh("radPointSize").checked);this._obb("lblWeight", true);this._obb("lblStyle", true);this._obb("lblColor", true);this._2oh("lblColor").className = "clsHyperlink";this._pj8("btnColor", true);this._8q3("radHairline", true);this._8q3("radPointSize", true);this._obb("lblHairline", true);this._obb("lblPointSize", true);this._pj8("btnOK", !this._jad);}else{this._d0n._isl._mqh(false);this._d0n._4r7._mqh(false);this._obb("lblWeight", false);this._obb("lblStyle", false);this._obb("lblColor", false);this._2oh("lblColor").className = "";this._pj8("btnColor", false);this._d0n._84i._wfn();this._d0n._84i._mqh(false);this._8q3("radHairline", false);this._8q3("radPointSize", false);this._obb("lblHairline", false);this._obb("lblPointSize", false);this._pj8("btnOK", true);}_u0n._2b5(this._2oh("btnColor"), this._d0n._4km);};_p0g._pgb=function(){var _m9h=this._d0n._84i._tfe();for(var i=0; i<_m9h.length; i++){var _3pn="images/" + _m9h.item(i).getAttribute("image");var _5dn=_q0d._2m(_3pn, this._d0n._4km, "transparent", _m9h.item(i));_m9h.item(i).setAttribute("html", _5dn);}this._d0n._84i._wfn();};_p0g._i7=function(_rgc){this._pj8("btnOK", false);this._jad=true;};_p0g._9c=function(_rgc){this._pj8("btnOK", true);this._jad=false;};
|