String weight = value.getCssText( ); if("bold".equals(weight.toLowerCase()) || "bolder".equals(weight.toLowerCase()) || "600".equals(weight) || "700".equals(weight) || "800".equals(weight) || "900".equals(weight)) { return true; }
if ( IStyle.BOLD_VALUE.equals( value ) || IStyle.BOLDER_VALUE.equals( value ) || IStyle.NUMBER_600.equals( value ) || IStyle.NUMBER_700.equals( value ) || IStyle.NUMBER_800.equals( value ) || IStyle.NUMBER_900.equals( value ) ) { return true; }
    public static boolean isBoldFont(CSSValue value)    {    	if(value!=null)        {    		String weight = value.getCssText( );    		if("bold".equals(weight.toLowerCase()) || "bolder".equals(weight.toLowerCase()) //$NON-NLS-1$ //$NON-NLS-2$    	            || "600".equals(weight) || "700".equals(weight)  //$NON-NLS-1$//$NON-NLS-2$    	            || "800".equals(weight) || "900".equals(weight))  //$NON-NLS-1$//$NON-NLS-2$    	        {    	            return true;    	        }        }    	return false;    }