_ad8.js 4.6 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _ad8=new _lcm("_ad8");_ad8._jgn=function(_u4c,_6wa,_36h,_gx4){this._5kg=_36h;this._1s4=_gx4;this._4le(_u4c, _6wa);};_ad8._5z2=function(){this._0q6=new _jgk( this._2oh( "cboVerticalType" ), this._53g( "VerticalTypeCombo" ), null, this );var _pen=this._5kg.getAttribute("verticalType");this._0q6._hwc(_pen||"number");this._du4=new _jgk( this._2oh( "cboHorizontalType" ), this._53g( "HorizontalTypeCombo" ), null, this );var _pen=this._5kg.getAttribute("horizontalType");this._du4._hwc(_pen||"none");this._um5();if(this._5kg.getAttribute( "verticalRangeSeparator" )==_frh._c6j( "IDS_PAGENUM_RANGE_SEPARATOR" ) ){this._5kg.removeAttribute("verticalRangeSeparator");}if(this._5kg.getAttribute( "horizontalRangeSeparator" )==_frh._c6j( "IDS_PAGENUM_RANGE_SEPARATOR" ) ){this._5kg.removeAttribute("horizontalRangeSeparator");}this._63a( "txtVerticalRangeSeparator", "verticalRangeSeparator" );this._63a( "txtHorizontalRangeSeparator", "horizontalRangeSeparator" );this._63a( "txtBeforeText", "beforeText" );this._63a( "txtBeforeVerticalText", "beforeVerticalText" );this._63a( "txtAfterVerticalText", "afterVerticalText" );this._63a( "txtSeparatorText", "separatorText" );this._63a( "txtBeforeHorizontalText", "beforeHorizontalText" );this._63a( "txtAfterHorizontalText", "afterHorizontalText" );this._63a( "txtAfterText", "afterText" );this._2oh( "trLabels" ).style.display = this._1s4?"none":"";this._2oh( "trGroupings" ).style.display = this._1s4?"none":"";this._2oh( "trSpace" ).style.display = this._1s4?"none":"";this._2oh( "tdBeforeVerticalText" ).style.display = this._1s4?"none":"";this._2oh( "tdAfterVerticalText" ).style.display = this._1s4?"none":"";this._2oh( "tdSeparatorText" ).style.display = this._1s4?"none":"";this._2oh( "tdBeforeHorizontalText" ).style.display = this._1s4?"none":"";this._2oh( "tdHorizontalType" ).style.display = this._1s4?"none":"";this._2oh( "tdAfterHorizontalText" ).style.display = this._1s4?"none":"";this._2oh( "tdHorizontalRangeSeparatorLabel" ).style.display = this._1s4?"none":"";};_ad8._um5=function(){var _roj=(this._0q6._qik()!="range");this._obb("divVerticalRangeSeparatorLabel", !_roj);this._cb5("txtVerticalRangeSeparator", !_roj);var txt=this._2oh("txtVerticalRangeSeparator");txt.style.backgroundColor=_roj?"transparent":"";if(_roj){txt.value="";}var _roj=(this._du4._qik()!="range");this._obb("divHorizontalRangeSeparatorLabel", !_roj);this._cb5("txtHorizontalRangeSeparator", !_roj);var txt=this._2oh("txtHorizontalRangeSeparator");txt.style.backgroundColor=_roj?"transparent":"";if(_roj){txt.value="";}var _roj=(this._du4._qik()=="none");this._cb5("txtSeparatorText", !_roj);var txt=this._2oh("txtSeparatorText");txt.style.backgroundColor=_roj?"transparent":"";if(_roj){txt.value="";}this._cb5("txtBeforeHorizontalText", !_roj);var txt=this._2oh("txtBeforeHorizontalText");txt.style.backgroundColor=_roj?"transparent":"";if(_roj){txt.value="";}this._cb5("txtAfterHorizontalText", !_roj);var txt=this._2oh("txtAfterHorizontalText");txt.style.backgroundColor=_roj?"transparent":"";if(_roj){txt.value="";}};_ad8._g67=function(_35k){this._um5();};_ad8._63a=function(_vcl,_1wi){this._2oh(_vcl).value=this._5kg.getAttribute(_1wi)||"";};_ad8._o46=function(){this._5kg=null;if(this._0q6){this._0q6._fdm();this._0q6=null;}if(this._du4){this._du4._fdm();this._du4=null;}};_ad8._uy9=function(){this._5kg.setAttribute("verticalType", this._0q6._qik());this._5kg.removeAttribute("horizontalType");var _uxm=this._du4._qik();if(_uxm&&(_uxm!="none")){this._5kg.setAttribute("horizontalType", _uxm);}this._5kg.removeAttribute("verticalRangeSeparator");if(this._0q6._qik()=="range"){var _uxm=this._2oh("txtVerticalRangeSeparator").value;if(_uxm){this._5kg.setAttribute("verticalRangeSeparator", _uxm);}}this._5kg.removeAttribute("horizontalRangeSeparator");if(this._du4._qik()=="range"){var _uxm=this._2oh("txtHorizontalRangeSeparator").value;if(_uxm){this._5kg.setAttribute("horizontalRangeSeparator", _uxm);}}this._nn8( "txtBeforeText", "beforeText" );this._nn8( "txtBeforeVerticalText", "beforeVerticalText" );this._nn8( "txtAfterVerticalText", "afterVerticalText" );this._nn8( "txtSeparatorText", "separatorText" );this._nn8( "txtBeforeHorizontalText", "beforeHorizontalText" );this._nn8( "txtAfterHorizontalText", "afterHorizontalText" );this._nn8( "txtAfterText", "afterText" );};_ad8._nn8=function(_vcl,_1wi){var _uxm=this._2oh(_vcl).value;if(_uxm){this._5kg.setAttribute(_1wi, _uxm);}else{this._5kg.removeAttribute(_1wi);}};_ad8._ktc=function(){this._uy9();return this._5kg;};