Goodwill and purchased intangible assets Additional information (Details)
$ in Thousands
6 Months Ended
Apr. 30, 2016
USD ($)
Finite-Lived Intangible Assets [Line Items]  
Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months $ 52,520
Finite-Lived Intangible Assets, Amortization Expense, Year Two 74,934
Finite-Lived Intangible Assets, Amortization Expense, Year Three 66,111
Finite-Lived Intangible Assets, Amortization Expense, Year Four 61,217
Finite-Lived Intangible Assets, Amortization Expense, Year Five 42,260
Finite-Lived Intangible Assets, Amortization Expense, after Year Five 70,975
Net Carrying Amount 368,017
gross value [Member]  
Finite-Lived Intangible Assets [Line Items]  
Currency translation adjustment 12,200
accumulated amortization [Member]  
Finite-Lived Intangible Assets [Line Items]  
Currency translation adjustment 6,000
Cost of Sales [Member]  
Finite-Lived Intangible Assets [Line Items]  
Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months 7,667
Finite-Lived Intangible Assets, Amortization Expense, Year Two 8,379
Finite-Lived Intangible Assets, Amortization Expense, Year Three 6,205
Finite-Lived Intangible Assets, Amortization Expense, Year Four 4,911
Finite-Lived Intangible Assets, Amortization Expense, Year Five 3,248
Finite-Lived Intangible Assets, Amortization Expense, after Year Five 3,464
Net Carrying Amount 33,874
Operating Expense [Member]  
Finite-Lived Intangible Assets [Line Items]  
Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months 44,853
Finite-Lived Intangible Assets, Amortization Expense, Year Two 66,555
Finite-Lived Intangible Assets, Amortization Expense, Year Three 59,906
Finite-Lived Intangible Assets, Amortization Expense, Year Four 56,306
Finite-Lived Intangible Assets, Amortization Expense, Year Five 39,012
Finite-Lived Intangible Assets, Amortization Expense, after Year Five 67,511
Net Carrying Amount $ 334,143