| **Stock Compensation Plan**                                                   | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Disclosure of Compensation Related Costs, Share-based Payments [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Stock Compensation Plan                                                       | Stock Compensation PlanThe Company has a share award plan (the “Plan”) which has been approved by the Company’s stockholders. Under the Plan, up to 7.5 million shares of common stock could be issued in the form of options, stock appreciation rights, restricted shares, restricted share units, performance shares, performance share units, dividend equivalents or other share-based awards to employees, directors or consultants of the Company or its subsidiaries or affiliates. The terms of awards granted under the Plan, including exercise price, vesting period and life, are set by the Compensation Committee of the Board of Directors. All share-based awards (except for restricted shares and restricted share units) granted under the Plan have a life of ten years. Most awards vest ratably over three years; however, some have been granted with different vesting schedules. Of the awards outstanding, none have been granted to non-employees (except those granted to non-employee members of the Board of Directors of the Company) under the Plan. At July 31, 2014, approximately 2.2 million share based awards were available to be granted under the Plan.The fair value of stock-settled stock appreciation rights (“SARs”) granted in the years ended July 31, 2014, 2013 and 2012 were estimated on the date of grant using a lattice-based option valuation model that applies the assumptions noted in the table below. A lattice-based model considers factors such as exercise behavior, and assumes employees will exercise equity awards at different times over the contractual life of the equity awards. As a lattice-based model considers these factors, and is more flexible, the Company considers it to be a better method of valuing equity awards than a closed-form Black-Scholes model. Because lattice-based option valuation models incorporate ranges of assumptions for inputs, those ranges are disclosed. Expected volatility is based on historical volatility of the Company’s stock. The Company uses historical data to estimate equity award exercises and employee terminations within the valuation model; separate groups of employees that have similar historical exercise behavior are considered separately for valuation purposes. The expected term of equity awards granted is derived from the output of the option valuation model and represents the period of time that equity awards granted are expected to be outstanding; the range given below results from certain groups of employees exhibiting different behavior. The risk-free rate for periods within the contractual life of the equity award is based on the United States Treasury yield curve in effect at the time of grant. Year Ended July 31,  201420132012Expected volatility41.2%42.6%42.8%Expected dividends1.2%1.5%1.5%Expected term (average in years)5.5-5.96.0-6.25.1-5.3Risk-free rate0.1-2.8%0.2-1.6%0.1-2.2%The Company has estimated forfeiture rates that range from 0.0% to 20.0% based upon the class of employees receiving stock-based compensation in its calculation of stock-based compensation expense for the year ended July 31, 2014. These estimates are based on historical forfeiture behavior exhibited by employees of the Company.A summary of aggregate option and SARs award activity under the Plan as of July 31, 2012, 2013 and 2014, and changes during the years then ended is presented below (in thousands, except exercise price and contractual term):  AwardsWeighted-AverageExercise PriceWeighted-AverageRemainingContractual TermAggregateIntrinsicValueOutstanding at, August 1, 20112,661$32.02  Granted65141.94  Exercised(74)27.10  Forfeited or expired(68)30.77  Outstanding at, July 31, 20123,170$34.20  Granted41257.43  Exercised(735)33.22  Forfeited or expired(94)43.21  Outstanding at, July 31, 20132,753$37.63  Granted35273.13  Exercised(321)37.62  Forfeited or expired(28)48.87  Outstanding at, July 31, 20142,756$42.065.8 years$93,034Exercisable at, July 31, 20141,973$34.454.8 years$80,987The weighted-average grant-date fair value of SARs granted during the years ended July 31, 2014, 2013 and 2012 was $23.60, $18.38 and $12.71, respectively. The total intrinsic value of options and SARs exercised during the years ended July 31, 2014, 2013 and 2012 was $10.8 million, $18.6 million and $1.3 million, respectively. The Company had 421,000, 414,000 and 930,000 SARs that vested during the years ended July 31, 2014, 2013 and 2012, respectively. These awards had a total fair value of $9.8 million, $6.5 million and $10.7 million at the date of vesting for the years ended July 31, 2014, 2013 and 2012, respectively.A summary of the status of the Company’s nonvested SARs as of July 31, 2014, and changes during the year then ended, is presented below (in thousands, except fair value amounts):  AwardsWeighted-AverageGrant-DateFair ValueOutstanding at, July 31, 2013880$16.06Granted35223.60Vested(421)15.30Forfeited(28)17.00Nonvested at, July 31, 2014783$19.42A summary of the status of the Company’s nonvested restricted share units as of July 31, 2014, and changes during the year then ended, is presented below (in thousands, except fair value amounts):  AwardsWeighted-AverageGrant-DateFair ValueOutstanding at, July 31, 2013315$45.21Granted15267.48Vested(166)41.91Forfeited(27)54.19Nonvested at, July 31, 2014274$58.68The Company granted 152,000 restricted share units during the year ended July 31, 2014 with a weighted-average grant-date fair value of $67.48. The Company granted 159,000 restricted share units during the year ended July 31, 2013 with a weighted-average grant-date fair value of $52.94. The Company granted 180,000 restricted share units during the year ended July 31, 2012 with a weighted-average grant-date fair value of $38.15. The Company had 166,000, 134,000 and 234,000 restricted share units that vested during the years ended July 31, 2014, 2013 and 2012, respectively. These units had a total fair value of $6.9 million, $5.0 million and $9.2 million at the date of vesting for the years ended July 31, 2014, 2013 and 2012, respectively.As of July 31, 2014, there was $16.9 million of total unrecognized compensation expense related to nonvested share-based compensation arrangements granted under the Plan, of which $10.2 million, $5.8 million and $0.9 million of expense is expected to be recognized in the years ending July 31, 2015, 2016 and 2017, respectively, assuming no future share-based awards are granted.Cash received from options exercised under all share-based payment arrangements was $1.8 million, $3.0 million and $0.5 million for the years ended July 31, 2014, 2013 and 2012, respectively. The tax benefit realized or to be realized from options/SARs exercised and restricted stock units vested was $8.5 million, $9.8 million and $3.9 million for the years ended July 31, 2014, 2013 and 2012, respectively.The Company has a policy of using either authorized and unissued shares or treasury shares, including shares acquired by purchase in the open market or in private transactions, to satisfy equity award exercises. |

| X                                                                                                                                                                                                  |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The entire disclosure for compensation-related costs for equity-based compensation, which may include disclosure of policies, compensation plan details, allocation of equity compensation, incentive distributions, equity-based arrangements to obtain goods and services, deferred compensation arrangements, employee stock ownership plan details and employee stock purchase plan details.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 50 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6406099&loc=d3e25284-112666Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6418621&loc=d3e17540-113929Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5444-113901Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14
+ Details**Name:**us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock**Namespace Prefix:**us-gaap_**Data Type:**nonnum:textBlockItemType**Balance Type:**na**Period Type:**duration |