Quarterly report pursuant to Section 13 or 15(d)

Interest Rate Derivatives (Details)

v2.4.1.9
Interest Rate Derivatives (Details) (USD $)
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Dec. 31, 2014
Effect of interest rate derivatives on consolidated statements of operations and comprehensive income      
Amount of losses recognized in accumulated other comprehensive loss (“AOCL”) (effective portion) $ (3,474,000)us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax $ (2,123,000)us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax  
Interest Expense [Member]      
Effect of interest rate derivatives on consolidated statements of operations and comprehensive income      
Amount of losses reclassified from AOCL into interest expense (effective portion) 773,000us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
695,000us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
 
Interest rate swaps      
Effect of interest rate derivatives on consolidated statements of operations and comprehensive income      
Approximate loss amount to be reclassified from AOCI to interest expense over the next 12 months (3,200,000)us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
   
Interest rate derivatives in liability position, fair value 4,300,000us-gaap_DerivativeNetLiabilityPositionAggregateFairValue
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
   
Termination value to settle obligations under interest rate derivative agreements 4,500,000us-gaap_AssetsNeededForImmediateSettlementAggregateFairValue
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
   
Interest rate swaps | Prepaid expenses and other current assets      
Fair value of interest rate derivatives and balance sheet classification      
Interest rate derivatives 0us-gaap_InterestRateCashFlowHedgeAssetAtFairValue
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
  274,000us-gaap_InterestRateCashFlowHedgeAssetAtFairValue
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
Interest rate swaps | Interest rate derivatives      
Fair value of interest rate derivatives and balance sheet classification      
Fair value of Interest rate swaps classified as interest rate derivatives (4,282,000)us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue
/ us-gaap_BalanceSheetLocationAxis
= ofc_InterestRateDerivativeMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
  (1,855,000)us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue
/ us-gaap_BalanceSheetLocationAxis
= ofc_InterestRateDerivativeMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_InterestRateSwapMember
Designated      
Fair values of interest rate swap derivatives      
Fair value of interest rate swaps (4,282,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (1,581,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date January 3, 2012, swap three      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 0.832%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (267,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (407,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date January 3, 2012, swap four      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012ThreeMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 0.832%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012ThreeMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (267,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012ThreeMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (407,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateJanuary32012ThreeMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date November 2, 2010      
Fair values of interest rate swap derivatives      
Notional Amount 36,668,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 3.83%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (291,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (400,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Notional amount of interest rate derivatives after scheduled amortization 36,200,000ofc_InterestRateCashFlowHedgeDerivativeNotionalAmountafterScheduledAmortization
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Designated | Interest rate swap, effective date November 2, 2010 | London Interbank Offered Rate (LIBOR) [Member]      
Fair values of interest rate swap derivatives      
Derivative, basis spread on variable rate 2.25%us-gaap_DerivativeBasisSpreadOnVariableRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateNovember22010Member
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_VariableRateAxis
= us-gaap_LondonInterbankOfferedRateLIBORMember
   
Designated | Interest rate swap, effective date September 2, 2014, swap one      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 0.8055%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (455,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (317,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date September 2, 2014, swap two      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 0.81%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (461,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  (324,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember22014TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date September 1, 2015, swap one      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 1.673%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps (1,161,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  239,000us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015OneMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Designated | Interest rate swap, effective date September 1, 2015, swap two      
Fair values of interest rate swap derivatives      
Notional Amount 100,000,000invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fixed rate (as a percent) 1.73%us-gaap_DerivativeFixedInterestRate
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
   
Fair value of interest rate swaps $ (1,380,000)us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  $ 35,000us-gaap_InterestRateDerivativesAtFairValueNet
/ us-gaap_DerivativeInstrumentRiskAxis
= ofc_InterestRateSwapEffectiveDateSeptember12015TwoMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember