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.
- function _if2(_q3m, _fsj, _2yl){this._lrl=_q3m;this._hgj=_fsj;this._iql=_2yl;};_if2.prototype._ujl=function(){_zgk._5je(true);_zgk._vll(true);var _8cn=_38g._g0n;if(_8cn instanceof _2ce){var _20l=_8cn._l87(this._lrl);if(_20l){_zgk._xie(_4qn._sp9(_20l).direction, _4qn._sp9(_20l).unicodeBidi);}}_zgk._jgn( null, "", _frh._c6j( "IDS_PROP_TEXT" ), "", this );};_if2.prototype._io9=function(){var _men=_zgk._fkl();var _q3m=this._lrl;if(_q3m){_erh._ybb();var _k2k=_7th._477("textItem", _men);if(_ath._vge(new _4mh(_k2k), _q3m, this._hgj, this._iql)){_erh._iee(true);}else{_erh._5c7();}}};function _o02(_q3m, bAbove){this._lrl=_q3m;this._1im=bAbove;};_o02.prototype._ujl=function(){_zgk._bc7(true);_zgk._jgn(null,_frh._c6j("IDS_LBL_ROWS"),_frh._c6j(this._1im?"IDS_TITLE_TABLE_INSERTROWSABOVE":"IDS_TITLE_TABLE_INSERTROWSBELOW"),"1",this,null);};_o02.prototype._io9=function(){var _xln=_8qn._v77(this._lrl, "listRow");var _38n=parseInt(_zgk._fkl());if(isNaN(_38n)||(_38n<=0)){_67j("IDS_ERR_INVALID_NUM_OF_ROWS");return;}if(_38n>999){_gem( _frh._c6j( "IDS_HAL_ERR_INVALID_MAX", "999" ) );return;}var _g7n=this._yf6(_xln);var _rki=this._1im?_xln:_8qn._t22(_xln);_erh._ybb();for(var _ekn=0;_ekn<_38n;_ekn++){var _r2m=_erh._z5b("listRow/rowCellsStyle");var _7rm=_erh._u0g(_r2m, "rowCells");for(var _ujn=0;_ujn<_g7n;_ujn++){_7rm.appendChild(_erh._z5b("rowCell/contents"));}_xln.parentNode.insertBefore(_r2m, _rki);}_erh._iee(true);};_o02.prototype._yf6=function(_75l){var _u0l=0;var nl=_75l.selectNodes("rowCells/rowCell");var _tzl=nl.length;for(var i=0;i<_tzl;++i){var _pcl=nl.item(i).getAttribute("colSpan");var _t0l=_pcl?parseInt(_pcl):1;_u0l+= _t0l;}return _u0l;};function _r31(_q3m, _fsj, _2yl){this._lrl=_q3m;this._hgj=_fsj;this._iql=_2yl;};_r31.prototype._ujl=function(){this._ydd=_erh._cnh("layoutComponentRef");this._ydd.setAttribute("refLayoutElement", "");var _u1c=_agm._vuc(_dth._ug8(this._lrl));_8fm._jgn("_mce", this._ydd, this, false, _u1c);};_r31.prototype._io9=function(){var _q3m=this._lrl;if(_q3m){_erh._ybb();if(_ath._vge(new _4mh(this._ydd), _q3m, this._hgj, this._iql)){_erh._iee(true);}else{_erh._5c7();}}};function _e47(){};_e47.prototype._ujl=function(){_zgk._5je(false);_zgk._jgn( null, "", _frh._c6j( "IDS_PROP_label" ), "", this );};_e47.prototype._io9=function(){var _dwm=_zgk._fkl();_dwm=_dwm.trim();if(!_dwm){_m9b('IDS_ERR_INVALID_LABEL');return;}var _b2h=_erh._cnh("classStyle");_b2h.setAttribute("label", _dwm);_b2h.setAttribute("name", _dwm);var _tkn=_erh._u0g(_b2h, "CSS");_tkn.setAttribute("value", _ypn._rs2.toString());var _b2m=_ypn._jf8();var _83m=_dth._ug8(_b2m);_erh._ybb();var _qx5=_8qn._cqh( _83m, "classStyles/classStyle[@label=" + _cgm._zxc( _dwm ) + "]" );if(_qx5){_b2h.setAttribute( "name", _qx5.getAttribute( "name" ) );}if(_kv9._2ph(_b2m, _b2h, null)){_erh._iee(true);}else{_erh._5c7();}};function _49(_q3m, _fsj, _2yl){this._lrl=_q3m;this._hgj=_fsj;this._iql=_2yl;};_49.prototype._ujl=function(){var _83m=_dth._ug8(this._lrl);var _gdc=_83m.selectNodes("appProperties/appVariables/appVariable");if(_gdc.length==0){_gem(_frh._c6j("IDS_NO_APPVARIABLETEXTITEM_INSERT"));return;}if(_gdc.length==1){var _brf=_gdc.item(0).getAttribute("name");this._ce5(_brf);}else{_8fm._jgn("_i57", this);}};_49.prototype._io9=function(_e5m){this._ce5(_e5m._l6b());};_49.prototype._ce5=function(_brf){var _q3m=this._lrl;if(_q3m){_erh._ybb();var _nz4=_erh._cnh("appVariableTextItem");_nz4.setAttribute("refAppVariable", _brf);if(_ath._vge(new _4mh(_nz4), _q3m, this._hgj, this._iql)){_erh._iee(true);}else{_erh._5c7();}}};
|