Fair Value Measures - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) | Apr. 30, 2017 | Oct. 31, 2016 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 737,192,000 | $ 813,504,000 |
Total liabilities | 192,499,000 | 183,195,000 |
Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 12,324,000 | 4,652,000 |
Accounts payable and accrued liabilities | 8,063,000 | 20,010,000 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 184,436,000 | 163,185,000 |
Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 184,436,000 | 163,185,000 |
Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 392,191,000 | 499,274,000 |
Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 3,448,000 | 1,498,000 |
Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 23,472,000 | 25,431,000 |
Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,000,000 | 4,200,000 |
Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 21,214,000 | 12,849,000 |
U.S. government agency securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 2,000,000 | |
U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 16,460,000 | 13,603,000 |
Corporate debt securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,550,000 | |
Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 57,479,000 | 58,778,000 |
Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 20,819,000 | 22,146,000 |
Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 3,400,000 |
Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 799,000 | 4,488,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 576,627,000 | 666,947,000 |
Total liabilities | 184,436,000 | 163,185,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 0 | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 184,436,000 | 163,185,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 184,436,000 | 163,185,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 392,191,000 | 499,274,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. government agency securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Corporate debt securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 4,488,000 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 160,565,000 | 146,557,000 |
Total liabilities | 8,063,000 | 20,010,000 |
Significant Other Observable Inputs (Level 2) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 12,324,000 | 4,652,000 |
Accounts payable and accrued liabilities | 8,063,000 | 20,010,000 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 3,448,000 | 1,498,000 |
Significant Other Observable Inputs (Level 2) | Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 23,472,000 | 25,431,000 |
Significant Other Observable Inputs (Level 2) | Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,000,000 | 4,200,000 |
Significant Other Observable Inputs (Level 2) | Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 21,214,000 | 12,849,000 |
Significant Other Observable Inputs (Level 2) | U.S. government agency securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 2,000,000 | |
Significant Other Observable Inputs (Level 2) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 16,460,000 | 13,603,000 |
Significant Other Observable Inputs (Level 2) | Corporate debt securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,550,000 | |
Significant Other Observable Inputs (Level 2) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 57,479,000 | 58,778,000 |
Significant Other Observable Inputs (Level 2) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 20,819,000 | 22,146,000 |
Significant Other Observable Inputs (Level 2) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 3,400,000 |
Significant Other Observable Inputs (Level 2) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 799,000 | 0 |
Significant Unobservable Inputs (Level 3) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 0 | 0 |
Total liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 0 | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | U.S. government agency securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | |
Significant Unobservable Inputs (Level 3) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Corporate debt securities | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | |
Significant Unobservable Inputs (Level 3) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 0 |
Significant Unobservable Inputs (Level 3) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | $ 0 | $ 0 |