123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: cchl
- // (C) Copyright IBM Corp. 2003, 2016.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- var D_Font=new C_Dialog( "D_Font", "dlgFont", "cchl/dialogs/" );D_Font.F_Show=function(_cRL,_cD01,_cFN1,_c3I,_cBF){this._cF01=U_Object.F_Copy(_cD01);this._cCF=(_cBF!==false);this.M_fnSuper_Show(_cRL, _c3I, _cFN1);};D_Font.F_SetFontFamilies=function(a){this._cH4=false;this._cGQ=a.concat();if(this.F_DialogIsLoaded()){this._cQ2();}};D_Font.F_UseSystemFontFamilies=function(b){this._cH4=b;if(this.F_DialogIsLoaded()){this._cQ2();}};D_Font.F_CreateSystemFontFamiliesArray=function(_cBI){var _cHQ=_cBI?document.getElementById(_cBI):this.F_GetDlgItem("oDialogHelper");var _cFK1=_cHQ.fonts.count;var a=[];for(var i=1;i<=_cFK1;i++){a.push(_cHQ.fonts(i));}a.sort();var _cIQ=[];var _cFK1=a.length;for(var i=0;i<_cFK1;i++){var _cGN1=a[i];var _cQN1=_cGN1;if(_cGN1.indexOf( " " ) != -1 ){if ((_cGN1.charAt( 0 )!="'" )||( _cGN1.charAt( _cGN1.length - 1 ) != "'" ) ){_cGN1="'" + _cGN1 + "'";}}_cIQ.push({M_sValue:_cGN1,M_sLabel:_cQN1});}return _cIQ;};D_Font.F_SetTextDecorationSupportProperty=function(_cZ51,_cXA1,_cEV){this._c061=_cZ51;this._cYA1=_cXA1;this._cFV=_cEV;};D_Font.F_HideProperties=function(_cCI,_cSN1){this._c88=_cCI;this._c161=_cSN1;};D_Font.F_SetFontUnits=function(_c261){this._c361=_c261;};
|