XML 57 R44.htm IDEA: XBRL DOCUMENT v3.5.0.2
Earnings per share - Additional Information (Detail) - shares
3 Months Ended 9 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2016
Jul. 31, 2015
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 1,022,970 820,161 1,084,419 820,161