XML 52 R41.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-Based Compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2016
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Maximum number of common shares available for grant 2,900    
Directors [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Expense related to director deferred compensation $ 31 $ 26  
Stock Options [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Maximum rate of stock option, description Not exceeding 25 percent per year    
Option expiring period 10 years    
Compensation expense recognized $ 2,617 $ 2,322  
Options exercisable beginning period 1 year    
Unrecognized compensation cost related to unvested stock option $ 15,201    
Weighted average period expected to be amortized, non vested shares 1 year 7 months 6 days    
Weighted-average expected volatility used 25.00% 29.10%  
Weighted average grant date fair value of stock options granted $ 31.42 $ 28.86  
Total intrinsic value of options exercised $ 18,723 $ 12,450  
Cash received from the exercise of stock options $ 10,306 8,246  
Stock Options [Member] | Maximum [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Maximum rate of stock option 25.00%    
Stock Options [Member] | Post November 2012 Option Plan [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Normal retirement age 65 years    
Period for options considered to be forfeited for retirees 12 months    
Restricted Shares and Restricted Share Units [Member] | Maximum [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Grant restricted shares transferred period 3 years    
Restricted Shares and Restricted Share Units [Member] | Minimum [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Grant restricted shares transferred period 1 year    
Restricted Stock [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Normal retirement age 65 years    
Weighted average period expected to be amortized, non vested shares 2 years 2 months 12 days    
Period for restricted shares and share units considered to be forfeited for retirees 12 months    
Unrecognized compensation cost related to nonvested restricted stock $ 4,678    
Expense related to nonvested common shares 754 578  
Common share dividends amount included in compensation cost $ 17 16  
Restricted Stock Unit [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted average period expected to be amortized, non vested shares 9 months 18 days    
Period for pro-rata vesting of shares or units for non-employee directors 1 year    
Unrecognized compensation cost related to nonvested restricted stock $ 751    
Expense related to nonvested common shares $ 253 253  
Performance Share Incentive Awards [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted average grant date fair value $ 123.45   $ 67.69
Compensation expense $ 3,349 $ 252  
Cumulative amount recorded in shareholders' equity related to Long-Term Incentive Plan $ 10,471    
Periods of performance considered for calculating compensation expense 3 years    
Performance Share Incentive Awards [Member] | November 28, 2016 [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted average grant date fair value   $ 104.49  
Performance Share Incentive Awards [Member] | November 21, 2016 [Member]      
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]      
Weighted average grant date fair value   $ 103.75