xbrlware-ce 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. data/Copying.txt +13 -0
  2. data/License.txt +13 -0
  3. data/Rakefile.rb +124 -0
  4. data/Readme.txt +15 -0
  5. data/doc/classes/Edgar.html +144 -0
  6. data/doc/classes/Edgar/HTMLFeedDownloader.html +199 -0
  7. data/doc/classes/Edgar/RSSFeedDownloader.html +225 -0
  8. data/doc/classes/Xbrlware.html +350 -0
  9. data/doc/classes/Xbrlware/Context.html +429 -0
  10. data/doc/classes/Xbrlware/Entity.html +323 -0
  11. data/doc/classes/Xbrlware/Identifier.html +191 -0
  12. data/doc/classes/Xbrlware/Instance.html +742 -0
  13. data/doc/classes/Xbrlware/Item.html +278 -0
  14. data/doc/classes/Xbrlware/LBConstants.html +144 -0
  15. data/doc/classes/Xbrlware/Linkbase.html +131 -0
  16. data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase.html +212 -0
  17. data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase/Calculation.html +172 -0
  18. data/doc/classes/Xbrlware/Linkbase/CalculationLinkbase/Calculation/CalculationArc.html +166 -0
  19. data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase.html +210 -0
  20. data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase/Definition.html +204 -0
  21. data/doc/classes/Xbrlware/Linkbase/DefinitionLinkbase/Definition/DefinitionArc.html +160 -0
  22. data/doc/classes/Xbrlware/Linkbase/LabelLinkbase.html +239 -0
  23. data/doc/classes/Xbrlware/Linkbase/LabelLinkbase/Label.html +189 -0
  24. data/doc/classes/Xbrlware/Linkbase/Linkbase.html +172 -0
  25. data/doc/classes/Xbrlware/Linkbase/Linkbase/Link.html +217 -0
  26. data/doc/classes/Xbrlware/Linkbase/Linkbase/Link/Arc.html +284 -0
  27. data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase.html +224 -0
  28. data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase/Presentation.html +222 -0
  29. data/doc/classes/Xbrlware/Linkbase/PresentationLinkbase/Presentation/PresentationArc.html +160 -0
  30. data/doc/classes/Xbrlware/Taxonomy.html +369 -0
  31. data/doc/classes/Xbrlware/TaxonomyDefintion.html +177 -0
  32. data/doc/classes/Xbrlware/Unit.html +179 -0
  33. data/doc/classes/Xbrlware/Unit/Divide.html +165 -0
  34. data/doc/created.rid +1 -0
  35. data/doc/files/Readme_txt.html +124 -0
  36. data/doc/files/lib/edgar/edgar_data_downloader_rb.html +129 -0
  37. data/doc/files/lib/edgar/util_rb.html +129 -0
  38. data/doc/files/lib/edgar_rb.html +141 -0
  39. data/doc/files/lib/xbrlware/constants_rb.html +129 -0
  40. data/doc/files/lib/xbrlware/context_rb.html +129 -0
  41. data/doc/files/lib/xbrlware/date_util_rb.html +129 -0
  42. data/doc/files/lib/xbrlware/float_patch_rb.html +129 -0
  43. data/doc/files/lib/xbrlware/hash_util_rb.html +129 -0
  44. data/doc/files/lib/xbrlware/instance_rb.html +129 -0
  45. data/doc/files/lib/xbrlware/item_rb.html +129 -0
  46. data/doc/files/lib/xbrlware/linkbase/calculation_linkbase_rb.html +129 -0
  47. data/doc/files/lib/xbrlware/linkbase/definition_linkbase_rb.html +129 -0
  48. data/doc/files/lib/xbrlware/linkbase/label_linkbase_rb.html +129 -0
  49. data/doc/files/lib/xbrlware/linkbase/linkbase_rb.html +129 -0
  50. data/doc/files/lib/xbrlware/linkbase/presentation_linkbase_rb.html +129 -0
  51. data/doc/files/lib/xbrlware/meta_util_rb.html +129 -0
  52. data/doc/files/lib/xbrlware/taxonomy_rb.html +129 -0
  53. data/doc/files/lib/xbrlware/unit_rb.html +129 -0
  54. data/doc/files/lib/xbrlware/util_rb.html +129 -0
  55. data/doc/files/lib/xbrlware/xml_parser_rb.html +129 -0
  56. data/doc/files/lib/xbrlware_rb.html +163 -0
  57. data/doc/fr_class_index.html +55 -0
  58. data/doc/fr_file_index.html +48 -0
  59. data/doc/fr_method_index.html +104 -0
  60. data/doc/index.html +24 -0
  61. data/doc/rdoc-style.css +208 -0
  62. data/example/benchmark/instance_parser_benchmark.rb +25 -0
  63. data/example/case_study/buy_strategy.rb +34 -0
  64. data/example/case_study/c-20091230.xml +29 -0
  65. data/example/case_study/c_sell_strategy.rb +29 -0
  66. data/example/lang_integration/thrift/rating-client.py +21 -0
  67. data/example/lang_integration/thrift/rating-impl.rb +13 -0
  68. data/example/lang_integration/thrift/rating-server.rb +25 -0
  69. data/example/lang_integration/thrift/rating.thrift +52 -0
  70. data/example/quick_start/foo.rb +10 -0
  71. data/example/quick_start/foo.xml +29 -0
  72. data/example/quick_start/print_item.rb +27 -0
  73. data/lib/edgar.rb +30 -0
  74. data/lib/edgar/edgar_data_downloader.rb +126 -0
  75. data/lib/edgar/util.rb +30 -0
  76. data/lib/xbrlware.rb +65 -0
  77. data/lib/xbrlware/constants.rb +29 -0
  78. data/lib/xbrlware/context.rb +148 -0
  79. data/lib/xbrlware/date_util.rb +35 -0
  80. data/lib/xbrlware/float_patch.rb +26 -0
  81. data/lib/xbrlware/hash_util.rb +175 -0
  82. data/lib/xbrlware/instance.rb +406 -0
  83. data/lib/xbrlware/item.rb +115 -0
  84. data/lib/xbrlware/linkbase/calculation_linkbase.rb +137 -0
  85. data/lib/xbrlware/linkbase/definition_linkbase.rb +186 -0
  86. data/lib/xbrlware/linkbase/label_linkbase.rb +128 -0
  87. data/lib/xbrlware/linkbase/linkbase.rb +170 -0
  88. data/lib/xbrlware/linkbase/presentation_linkbase.rb +160 -0
  89. data/lib/xbrlware/meta_util.rb +45 -0
  90. data/lib/xbrlware/taxonomies/us_gaap_taxonomy_20090131.rb +40365 -0
  91. data/lib/xbrlware/taxonomy.rb +133 -0
  92. data/lib/xbrlware/unit.rb +42 -0
  93. data/lib/xbrlware/util.rb +83 -0
  94. data/lib/xbrlware/xml_parser.rb +122 -0
  95. data/setup.rb +1585 -0
  96. data/test/lib/edgar/edgar_data_downloader_test.rb +35 -0
  97. data/test/lib/edgar/resources/0000930413-09-005485-index.htm +331 -0
  98. data/test/lib/edgar/resources/usgaap.rss.xml +2861 -0
  99. data/test/lib/xbrlware/411_footnotes_test.rb +65 -0
  100. data/test/lib/xbrlware/42_schemaref_test.rb +20 -0
  101. data/test/lib/xbrlware/46_item_test.rb +253 -0
  102. data/test/lib/xbrlware/47_context_test.rb +129 -0
  103. data/test/lib/xbrlware/48_unit_test.rb +45 -0
  104. data/test/lib/xbrlware/49_tuple_test.rb +12 -0
  105. data/test/lib/xbrlware/date_util_test.rb +24 -0
  106. data/test/lib/xbrlware/dimension/context_explicit_dimension_test.rb +40 -0
  107. data/test/lib/xbrlware/dimension/resources/context_explicit_dimension.xml +84 -0
  108. data/test/lib/xbrlware/float_patch_test.rb +10 -0
  109. data/test/lib/xbrlware/hash_util_test.rb +29 -0
  110. data/test/lib/xbrlware/instance_test.rb +250 -0
  111. data/test/lib/xbrlware/linkbase/calculation_linkbase_test.rb +39 -0
  112. data/test/lib/xbrlware/linkbase/definition_linkbase_test.rb +35 -0
  113. data/test/lib/xbrlware/linkbase/label_linkbase_test.rb +22 -0
  114. data/test/lib/xbrlware/linkbase/linkbase_test.rb +36 -0
  115. data/test/lib/xbrlware/linkbase/linkbase_test_util.rb +98 -0
  116. data/test/lib/xbrlware/linkbase/presentation_linkbase_test.rb +33 -0
  117. data/test/lib/xbrlware/linkbase/report.html +62 -0
  118. data/test/lib/xbrlware/linkbase/resources/cal.xml +219 -0
  119. data/test/lib/xbrlware/linkbase/resources/def.xml +186 -0
  120. data/test/lib/xbrlware/linkbase/resources/def_with_multiple_dimension.xml +41 -0
  121. data/test/lib/xbrlware/linkbase/resources/instance.xml +5822 -0
  122. data/test/lib/xbrlware/linkbase/resources/lab.xml +782 -0
  123. data/test/lib/xbrlware/linkbase/resources/pre.xml +485 -0
  124. data/test/lib/xbrlware/linkbase/resources/report_10_q.htm +12327 -0
  125. data/test/lib/xbrlware/linkbase/resources/taxonomy.xsd +178 -0
  126. data/test/lib/xbrlware/linkbase/sample_html_report.html +40 -0
  127. data/test/lib/xbrlware/meta_util_test.rb +23 -0
  128. data/test/lib/xbrlware/resources/411/411_footnotes.xml +66 -0
  129. data/test/lib/xbrlware/resources/42/42_schema_ref_with_base.xml +7 -0
  130. data/test/lib/xbrlware/resources/42/42_schema_ref_without_base.xml +7 -0
  131. data/test/lib/xbrlware/resources/46/46_item_value.xml +61 -0
  132. data/test/lib/xbrlware/resources/47/472_period_forever.xml +29 -0
  133. data/test/lib/xbrlware/resources/47/472_period_instant.xml +24 -0
  134. data/test/lib/xbrlware/resources/47/472_period_start_dt_and_end_dt.xml +30 -0
  135. data/test/lib/xbrlware/resources/47/4731_entity_identifier.xml +29 -0
  136. data/test/lib/xbrlware/resources/47/4732_entity_segment_not_present.xml +24 -0
  137. data/test/lib/xbrlware/resources/47/4732_entity_segment_present.xml +30 -0
  138. data/test/lib/xbrlware/resources/47/474_scenario_not_present.xml +26 -0
  139. data/test/lib/xbrlware/resources/47/474_scenario_present.xml +30 -0
  140. data/test/lib/xbrlware/resources/47/47_multiple_contexts.xml +36 -0
  141. data/test/lib/xbrlware/resources/48/482_unit_measure.xml +32 -0
  142. data/test/lib/xbrlware/resources/48/483_unit_divide.xml +39 -0
  143. data/test/lib/xbrlware/resources/48/48_multiple_units.xml +43 -0
  144. data/test/lib/xbrlware/resources/49/49_tuple.xml +61 -0
  145. data/test/lib/xbrlware/resources/49_tuple.xsd +44 -0
  146. data/test/lib/xbrlware/resources/instance.xml +128 -0
  147. data/test/lib/xbrlware/resources/report_test_xbrl_files/cal.xml +219 -0
  148. data/test/lib/xbrlware/resources/report_test_xbrl_files/def.xml +186 -0
  149. data/test/lib/xbrlware/resources/report_test_xbrl_files/instance.xml +5822 -0
  150. data/test/lib/xbrlware/resources/report_test_xbrl_files/lab.xml +782 -0
  151. data/test/lib/xbrlware/resources/report_test_xbrl_files/pre.xml +485 -0
  152. data/test/lib/xbrlware/resources/report_test_xbrl_files/report/report_index.html +62 -0
  153. data/test/lib/xbrlware/resources/report_test_xbrl_files/taxonomy.xsd +178 -0
  154. data/test/lib/xbrlware/resources/taxonomy_test_files/1/cal.xml +223 -0
  155. data/test/lib/xbrlware/resources/taxonomy_test_files/1/def.xml +190 -0
  156. data/test/lib/xbrlware/resources/taxonomy_test_files/1/lab.xml +786 -0
  157. data/test/lib/xbrlware/resources/taxonomy_test_files/1/pre.xml +489 -0
  158. data/test/lib/xbrlware/resources/taxonomy_test_files/1/taxonomy.xsd +177 -0
  159. data/test/lib/xbrlware/resources/taxonomy_test_files/2/linkbases/cal.xml +223 -0
  160. data/test/lib/xbrlware/resources/taxonomy_test_files/2/linkbases/def.xml +190 -0
  161. data/test/lib/xbrlware/resources/taxonomy_test_files/2/linkbases/lab.xml +786 -0
  162. data/test/lib/xbrlware/resources/taxonomy_test_files/2/linkbases/pre.xml +489 -0
  163. data/test/lib/xbrlware/resources/taxonomy_test_files/2/taxonomy.xsd +175 -0
  164. data/test/lib/xbrlware/resources/taxonomy_test_files/3/taxonomy.xsd +175 -0
  165. data/test/lib/xbrlware/resources/us_gaap_schema.xsd +8 -0
  166. data/test/lib/xbrlware/resources/us_gaap_schema_local.xsd +10 -0
  167. data/test/lib/xbrlware/resources/util_test_xbrl_files/cal.xml +219 -0
  168. data/test/lib/xbrlware/resources/util_test_xbrl_files/def.xml +186 -0
  169. data/test/lib/xbrlware/resources/util_test_xbrl_files/instance.xml +5822 -0
  170. data/test/lib/xbrlware/resources/util_test_xbrl_files/lab.xml +782 -0
  171. data/test/lib/xbrlware/resources/util_test_xbrl_files/pre.xml +485 -0
  172. data/test/lib/xbrlware/resources/util_test_xbrl_files/taxonomy.xsd +178 -0
  173. data/test/lib/xbrlware/resources/xbrl_xsd/dei-2009-01-31.xsd +162 -0
  174. data/test/lib/xbrlware/resources/xbrl_xsd/dei-std-2009-01-31.xsd +23 -0
  175. data/test/lib/xbrlware/resources/xbrl_xsd/negated-2008-03-31.xsd +23 -0
  176. data/test/lib/xbrlware/resources/xbrl_xsd/ref-2006-02-27.xsd +121 -0
  177. data/test/lib/xbrlware/resources/xbrl_xsd/us-gaap-2009-01-31.xsd +13474 -0
  178. data/test/lib/xbrlware/resources/xbrl_xsd/us-roles-2009-01-31.xsd +2283 -0
  179. data/test/lib/xbrlware/resources/xbrl_xsd/us-types-2009-01-31.xsd +368 -0
  180. data/test/lib/xbrlware/resources/xbrl_xsd/xbrl-instance-2003-12-31.xsd +772 -0
  181. data/test/lib/xbrlware/resources/xbrl_xsd/xbrl-linkbase-2003-12-31.xsd +477 -0
  182. data/test/lib/xbrlware/resources/xbrl_xsd/xbrldi-2006.xsd +41 -0
  183. data/test/lib/xbrlware/resources/xbrl_xsd/xbrldt-2005.xsd +53 -0
  184. data/test/lib/xbrlware/resources/xbrl_xsd/xl-2003-12-31.xsd +246 -0
  185. data/test/lib/xbrlware/resources/xbrl_xsd/xlink-2003-12-31.xsd +117 -0
  186. data/test/lib/xbrlware/taxonomy_test.rb +124 -0
  187. data/test/lib/xbrlware/util_test.rb +18 -0
  188. data/test/lib/xbrlware/xml_parser_test.rb +142 -0
  189. data/test/schema_validator_jruby.rb +40 -0
  190. data/test/schema_validator_ruby.rb +7 -0
  191. data/test/scratchpad/block.rb +36 -0
  192. data/test/test_helper.rb +21 -0
  193. data/xbrlware.iml +30 -0
  194. metadata +261 -0
@@ -0,0 +1,39 @@
1
+ require File.dirname(__FILE__) + '/../../../test_helper.rb'
2
+ require File.dirname(__FILE__) + '/linkbase_test_util'
3
+
4
+ class TestCalculationLinkbase < Test::Unit::TestCase
5
+ include LinkbaseTestUtil
6
+
7
+ def test_calculation
8
+ calc_file=File.dirname(__FILE__)+"/resources/cal.xml"
9
+ lab_file=File.dirname(__FILE__)+"/resources/lab.xml"
10
+ instance_file=File.dirname(__FILE__)+"/resources/instance.xml"
11
+ instance = Xbrlware::Instance.new(instance_file)
12
+ label=Xbrlware::Linkbase::LabelLinkbase.new(lab_file)
13
+ cal_linkbase = Xbrlware::Linkbase::CalculationLinkbase.new(calc_file, instance, label)
14
+ calculation=cal_linkbase.calculation("http://pbg.com/20090613/role/StatementsOfChangesInEquity")
15
+ assert_not_nil(calculation)
16
+ assert_equal("StatementsOfChangesInEquity", calculation.href)
17
+
18
+ collector = Set.new
19
+
20
+ calculation.arcs.each do |arc|
21
+ get_all_items(collector, arc)
22
+ end
23
+
24
+ expected=%w{loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest
25
+ loc_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent
26
+ loc_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax
27
+ loc_ProfitLoss
28
+ loc_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease}
29
+ assert_equal(expected.sort, collector.to_a.sort)
30
+ end
31
+
32
+ def get_all_items(collector, arc)
33
+ collector << arc.item_id
34
+ arc.children.each do |child|
35
+ get_all_items(collector, child)
36
+ end unless arc.children.nil?
37
+ end
38
+
39
+ end
@@ -0,0 +1,35 @@
1
+ require File.dirname(__FILE__) + '/../../../test_helper.rb'
2
+ require File.dirname(__FILE__) + '/linkbase_test_util'
3
+
4
+ class TestDefinitionLinkbase < Test::Unit::TestCase
5
+ include LinkbaseTestUtil
6
+
7
+ def test_definition
8
+ def_file=File.dirname(__FILE__)+"/resources/def_with_multiple_dimension.xml"
9
+ def_linkbase = Xbrlware::Linkbase::DefinitionLinkbase.new(def_file)
10
+ definition=def_linkbase.definition[0]
11
+ assert_equal("Guarantees", definition.href)
12
+ assert_equal(1, definition.primary_items.size)
13
+ assert_equal(1, definition.primary_items.to_a[0].hypercubes.size)
14
+ assert_equal(2, definition.primary_items.to_a[0].hypercubes.to_a[0].dimensions.size)
15
+
16
+ dimensions=definition.primary_items.to_a[0].hypercubes.to_a[0].dimensions.to_a
17
+ assert_equal(1, dimensions[0].domains.size)
18
+ domain_prods=dimensions[0].domains.to_a
19
+ assert_equal("company_AllRegions", domain_prods[0].item_id)
20
+ assert_equal(4, domain_prods[0].members.size)
21
+
22
+
23
+ assert_equal(1, dimensions[1].domains.size)
24
+ domain_regions=dimensions[1].domains.to_a
25
+ assert_equal("company_AllProducts", domain_regions[0].item_id)
26
+ assert_equal(4, domain_regions[0].members.size)
27
+ end
28
+
29
+ def test_invalid_definition
30
+ def_file=File.dirname(__FILE__)+"/resources/def_with_multiple_dimension.xml"
31
+ def_linkbase = Xbrlware::Linkbase::DefinitionLinkbase.new(def_file)
32
+ definition=def_linkbase.definition("role_not_exist")
33
+ assert_nil(definition)
34
+ end
35
+ end
@@ -0,0 +1,22 @@
1
+ require File.dirname(__FILE__) + '/../../../test_helper.rb'
2
+
3
+ class TestLabelLinkbase < Test::Unit::TestCase
4
+ def initialize(test_case_class)
5
+ super
6
+ label_file=File.dirname(__FILE__)+"/resources/lab.xml"
7
+ @label_linkbase = Xbrlware::Linkbase::LabelLinkbase.new(label_file)
8
+ end
9
+
10
+ def test_get_labels_by_itemname
11
+ l=@label_linkbase.label("bgllc_PrepaidExpensesAndOtherCurrentAssets")
12
+ assert_equal(4, l.keys.size)
13
+ end
14
+
15
+ def test_get_label_by_itemname_and_role
16
+ l=@label_linkbase.label("bgllc_PrepaidExpensesAndOtherCurrentAssets", "http://www.xbrl.org/2003/role/label")
17
+ assert_equal("Prepaid expenses and other current assets", l.value)
18
+
19
+ l=@label_linkbase.label("us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents", "http://www.xbrl.org/2003/role/totalLabel")
20
+ assert_equal("Effect of Exchange Rate Changes on Cash and Cash Equivalents", l.value)
21
+ end
22
+ end
@@ -0,0 +1,36 @@
1
+ require File.dirname(__FILE__) + '/../../../test_helper.rb'
2
+
3
+ class TestLinkbase < Test::Unit::TestCase
4
+
5
+
6
+ def test_build_relationship
7
+ a=Xbrlware::Linkbase::Linkbase::Link::Arc.new("a", "href_for_a")
8
+ b=Xbrlware::Linkbase::Linkbase::Link::Arc.new("b", "href_for_b")
9
+ c=Xbrlware::Linkbase::Linkbase::Link::Arc.new("c", "href_for_c")
10
+ d=Xbrlware::Linkbase::Linkbase::Link::Arc.new("d", "href_for_d")
11
+ e=Xbrlware::Linkbase::Linkbase::Link::Arc.new("e", "href_for_e")
12
+ f=Xbrlware::Linkbase::Linkbase::Link::Arc.new("f", "href_for_f")
13
+ z=Xbrlware::Linkbase::Linkbase::Link::Arc.new("z", "href_for_z")
14
+ o=Xbrlware::Linkbase::Linkbase::Link::Arc.new("o", "href_for_o")
15
+ p=Xbrlware::Linkbase::Linkbase::Link::Arc.new("p", "href_for_p")
16
+ q=Xbrlware::Linkbase::Linkbase::Link::Arc.new("q", "href_for_q")
17
+
18
+ a_1=Xbrlware::Linkbase::Linkbase::Link::Arc.new("a", "href_for_a")
19
+
20
+ map={a_1 => [b, c, d], b => e, c => f, f => [o, p, q], z => a}
21
+
22
+ arcs=Xbrlware::Linkbase::Linkbase.build_relationship(map)
23
+ assert_equal(1, arcs.size)
24
+ assert_equal("z", arcs[0].item_id)
25
+ assert_equal(1, arcs[0].children.size)
26
+
27
+ a_=arcs[0].children.select {|s| s==a}
28
+ assert_equal(3, a_[0].children.size)
29
+
30
+ c_=a_[0].children.select {|s| s==c}
31
+ assert_equal(1, c_[0].children.size)
32
+
33
+ f_=c_[0].children.select {|s| s==f}
34
+ assert_equal(3, f_[0].children.size)
35
+ end
36
+ end
@@ -0,0 +1,98 @@
1
+ module LinkbaseTestUtil
2
+ def print_arc(arcs, indent=0)
3
+ arcs.each do |arc|
4
+ if arc.items.nil? || arc.items.size==0
5
+ puts " " * indent * 2 + arc.item_id + "[" + (arc.label if arc.respond_to?(:label)).to_s+"][role "+arc.role.to_s+"][order "+arc.order.to_s+"] = None .. ctx undefined.."
6
+ else
7
+ arc.items.each do |item|
8
+ print_item(item, arc, indent)
9
+ end
10
+ end
11
+ print_arc(arc.children, indent+1) if arc.children
12
+ end
13
+ end
14
+
15
+ def print_item(item, arc, indent, verbose=false)
16
+
17
+ return if item.nil?
18
+
19
+ val = item.value
20
+ val = "HTML?" if !val.nil? && val.length > 30
21
+
22
+
23
+ ctx = item.context
24
+ if verbose
25
+ puts " " * indent * 2 + arc.item_id + "[" +(arc.label if arc.respond_to?(:label)).to_s+"][balance "+(item.meta["xbrli:balance"] unless item.meta.nil?).to_s+"][role "+arc.role+"][order "+arc.order.to_s+"] = " + val + " .. ctx .." + ctx.id + " dimension-domain : " + ctx.explicit_dimensions_domains.inject("") {|_s, k| _s + k[0] + ":" + k[1].to_s+", " }
26
+ else
27
+ puts " " * indent * 2 + (arc.label if arc.respond_to?(:label)).to_s+" " + val + " .. ctx .." + ctx.id + " dimension-domain : " + ctx.explicit_dimensions_domains.inject("") {|_s, k| _s + k[0] + ":" + k[1].to_s+", " }
28
+ end
29
+ end
30
+
31
+ def print_arc_no_domains(arcs, period=nil,indent=0)
32
+ arcs.each do |arc|
33
+ if arc.items.nil? || arc.items.size==0
34
+ #puts " " * indent * 2 + (arc.label if arc.respond_to?(:label)).to_s
35
+ else
36
+ val_all=""
37
+ arc.items.each do |item|
38
+ val_all=item_val(item, arc, nil, period, indent)
39
+ val_all +=" [balance "+(item.meta["xbrli:balance"] unless item.meta.nil?).to_s+"]" unless val_all=="-"
40
+ break unless val_all=="-"
41
+ end
42
+ puts " " * indent * 2 + (arc.label if arc.respond_to?(:label)).to_s+"|" + val_all.to_s
43
+ end
44
+ print_arc_no_domains(arc.children, period, indent+1) if arc.children
45
+ end
46
+ end
47
+
48
+ def print_arc_for_domains(arcs, domains=nil, period=nil,indent=0)
49
+
50
+ domain_heading="|"
51
+ domains.each do |domain|
52
+ domain_heading += domain.to_s + "|"
53
+ end
54
+
55
+ puts domain_heading if indent==0
56
+
57
+ arcs.each do |arc|
58
+ if arc.items.nil? || arc.items.size==0
59
+ #puts " " * indent * 2 + (arc.label if arc.respond_to?(:label)).to_s
60
+ else
61
+ val_all=""
62
+ domains.each do |domain|
63
+ val="-"
64
+ arc.items.each do |item|
65
+ val=item_val(item, arc, domain, period, indent)
66
+ val +=" [balance "+(item.meta["xbrli:balance"] unless item.meta.nil?).to_s+"]" unless val=="-"
67
+ break unless val=="-"
68
+ end
69
+ val_all += val + "|"
70
+ end
71
+ puts " " * indent * 2 + (arc.label if arc.respond_to?(:label)).to_s+"|" + val_all.to_s
72
+ end
73
+ print_arc_for_domains(arc.children, domains, period, indent+1) if arc.children
74
+ end
75
+ end
76
+
77
+
78
+ def item_val(item, arc, domain, period, indent, verbose=false)
79
+
80
+ return "-" if item.nil?
81
+
82
+ val = item.value
83
+ val = "HTML?" if !val.nil? && val.length > 30
84
+
85
+ ctx = item.context
86
+
87
+ return "-" unless ctx.period.to_s==period.to_s unless period.nil?
88
+
89
+ return val.to_s if domain.nil?
90
+
91
+ ctx.domain.each do |dom|
92
+ return val.to_s if dom==domain
93
+ end unless domain.nil?
94
+
95
+ return "-"
96
+
97
+ end
98
+ end
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + '/../../../test_helper.rb'
2
+ require File.dirname(__FILE__) + '/linkbase_test_util'
3
+
4
+
5
+ class TestPresentationLinkbase < Test::Unit::TestCase
6
+ include LinkbaseTestUtil
7
+ def setup
8
+ label_file=File.dirname(__FILE__)+"/resources/lab.xml"
9
+ label_linkbase = Xbrlware::Linkbase::LabelLinkbase.new(label_file)
10
+
11
+ def_file=File.dirname(__FILE__)+"/resources/def.xml"
12
+ def_linkbase = Xbrlware::Linkbase::DefinitionLinkbase.new(def_file, label_linkbase)
13
+
14
+ pre_file=File.dirname(__FILE__)+"/resources/pre.xml"
15
+ instance_file=File.dirname(__FILE__)+"/resources/instance.xml"
16
+ instance = Xbrlware::Instance.new(instance_file)
17
+ @pre_linkbase = Xbrlware::Linkbase::PresentationLinkbase.new(pre_file, instance, def_linkbase, label_linkbase)
18
+ end
19
+
20
+ def test_presentation
21
+ presentation=@pre_linkbase.presentation
22
+ assert_equal(22, presentation.size)
23
+
24
+ presentation=@pre_linkbase.presentation("http://pbg.com/20090613/role/StatementsOfChangesInEquityParenthetical")
25
+ assert_not_nil(presentation)
26
+ assert_equal("StatementsOfChangesInEquityParenthetical", presentation.href)
27
+
28
+
29
+ presentation=@pre_linkbase.presentation("not-exist")
30
+ assert_nil(presentation)
31
+ end
32
+
33
+ end
@@ -0,0 +1,62 @@
1
+
2
+ <html>
3
+ <head>
4
+ <title>XBRL Parser -- 01 - Statement - Condensed Consolidated Statements of Operations (Unaudited)
5
+ </head>
6
+ <body>
7
+
8
+ <table border="1">
9
+ <tr>
10
+ <td>start_date2007-12-30end_date2008-09-06</td>
11
+ </tr>
12
+ <tr>
13
+ <td>
14
+ <table border="1">
15
+ <tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net revenues</td><td>9987000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cost of sales</td><td>5475000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gross profit</td><td>4512000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selling, delivery and administrative expenses</td><td>3610000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Operating income</td><td>902000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest expense</td><td>151000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest income</td><td>108000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Other non-operating expenses (income), net</td><td>0.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income before income taxes</td><td>859000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income tax (benefit) expense</td><td>57000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income</td><td>802000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Less: Net income attributable to noncontrolling interests</td><td>23000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income attributable to Bottling LLC</td><td>779000000.0</td></tr>
16
+ </table>
17
+ </td>
18
+ </tr>
19
+ </table>
20
+
21
+ <table border="1">
22
+ <tr>
23
+ <td>start_date2008-06-15end_date2008-09-06</td>
24
+ </tr>
25
+ <tr>
26
+ <td>
27
+ <table border="1">
28
+ <tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net revenues</td><td>3814000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cost of sales</td><td>2077000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gross profit</td><td>1737000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selling, delivery and administrative expenses</td><td>1284000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Operating income</td><td>453000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest expense</td><td>52000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest income</td><td>34000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Other non-operating expenses (income), net</td><td>-5000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income before income taxes</td><td>430000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income tax (benefit) expense</td><td>29000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income</td><td>401000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Less: Net income attributable to noncontrolling interests</td><td>17000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income attributable to Bottling LLC</td><td>384000000.0</td></tr>
29
+ </table>
30
+ </td>
31
+ </tr>
32
+ </table>
33
+
34
+ <table border="1">
35
+ <tr>
36
+ <td>start_date2008-12-28end_date2009-09-05</td>
37
+ </tr>
38
+ <tr>
39
+ <td>
40
+ <table border="1">
41
+ <tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net revenues</td><td>9414000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cost of sales</td><td>5245000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gross profit</td><td>4169000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selling, delivery and administrative expenses</td><td>3286000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Operating income</td><td>883000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest expense</td><td>181000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest income</td><td>74000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Other non-operating expenses (income), net</td><td>4000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income before income taxes</td><td>780000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income tax (benefit) expense</td><td>-29000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income</td><td>809000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Less: Net income attributable to noncontrolling interests</td><td>32000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income attributable to Bottling LLC</td><td>777000000.0</td></tr>
42
+ </table>
43
+ </td>
44
+ </tr>
45
+ </table>
46
+
47
+ <table border="1">
48
+ <tr>
49
+ <td>start_date2009-06-14end_date2009-09-05</td>
50
+ </tr>
51
+ <tr>
52
+ <td>
53
+ <table border="1">
54
+ <tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net revenues</td><td>3633000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cost of sales</td><td>2012000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Gross profit</td><td>1621000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selling, delivery and administrative expenses</td><td>1163000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Operating income</td><td>458000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest expense</td><td>56000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interest income</td><td>24000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Other non-operating expenses (income), net</td><td>0.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income before income taxes</td><td>426000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Income tax (benefit) expense</td><td>-20000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income</td><td>446000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Less: Net income attributable to noncontrolling interests</td><td>28000000.0</td></tr><tr><td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Net income attributable to Bottling LLC</td><td>418000000.0</td></tr>
55
+ </table>
56
+ </td>
57
+ </tr>
58
+ </table>
59
+
60
+ <body>
61
+ </html>
62
+
@@ -0,0 +1,219 @@
1
+ <?xml version="1.0" encoding="us-ascii" standalone="no"?>
2
+ <linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase xbrl_xsd/xbrl-linkbase-2003-12-31.xsd">
3
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#IncomeTaxes" roleURI="http://pbg.com/20090613/role/IncomeTaxes" />
4
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#BasisOfPresentation" roleURI="http://pbg.com/20090613/role/BasisOfPresentation" />
5
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#SeasonalityOfBusiness" roleURI="http://pbg.com/20090613/role/SeasonalityOfBusiness" />
6
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#NewAccountingStandards" roleURI="http://pbg.com/20090613/role/NewAccountingStandards" />
7
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#ShareBasedCompensation" roleURI="http://pbg.com/20090613/role/ShareBasedCompensation" />
8
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#BalanceSheetDetails" roleURI="http://pbg.com/20090613/role/BalanceSheetDetails" />
9
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#OtherIntangibleAssetsNetAndGoodwill" roleURI="http://pbg.com/20090613/role/OtherIntangibleAssetsNetAndGoodwill" />
10
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#FairValueMeasurements" roleURI="http://pbg.com/20090613/role/FairValueMeasurements" />
11
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#FinancialInstrumentsAndRiskManagement" roleURI="http://pbg.com/20090613/role/FinancialInstrumentsAndRiskManagement" />
12
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#PensionAndPostretirementMedicalBenefitPlans" roleURI="http://pbg.com/20090613/role/PensionAndPostretirementMedicalBenefitPlans" />
13
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#SegmentInformation" roleURI="http://pbg.com/20090613/role/SegmentInformation" />
14
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#RestructuringCharges" roleURI="http://pbg.com/20090613/role/RestructuringCharges" />
15
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#SupplementalCashFlowInformation" roleURI="http://pbg.com/20090613/role/SupplementalCashFlowInformation" />
16
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#Contingencies" roleURI="http://pbg.com/20090613/role/Contingencies" />
17
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#DocumentAndEntityInformation" roleURI="http://pbg.com/20090613/role/DocumentAndEntityInformation" />
18
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#StatementsOfOperations" roleURI="http://pbg.com/20090613/role/StatementsOfOperations" />
19
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#StatementsOfCashFlows" roleURI="http://pbg.com/20090613/role/StatementsOfCashFlows" />
20
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#BalanceSheets" roleURI="http://pbg.com/20090613/role/BalanceSheets" />
21
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#StatementsOfComprehensiveIncome" roleURI="http://pbg.com/20090613/role/StatementsOfComprehensiveIncome" />
22
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#StatementsOfChangesInEquity" roleURI="http://pbg.com/20090613/role/StatementsOfChangesInEquity" />
23
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#StatementsOfChangesInEquityParenthetical" roleURI="http://pbg.com/20090613/role/StatementsOfChangesInEquityParenthetical" />
24
+ <roleRef xlink:type="simple" xlink:href="bgllc-20090905.xsd#Guarantees" roleURI="http://pbg.com/20090613/role/Guarantees" />
25
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/IncomeTaxes" xlink:title="0610 - Disclosure - Income Taxes" />
26
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/BasisOfPresentation" xlink:title="0601 - Disclosure - Basis of Presentation" />
27
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/SeasonalityOfBusiness" xlink:title="0602 - Disclosure - Seasonality of Business" />
28
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/NewAccountingStandards" xlink:title="0603 - Disclosure - New Accounting Standards" />
29
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/ShareBasedCompensation" xlink:title="0604 - Disclosure - Share Based Compensation" />
30
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/BalanceSheetDetails" xlink:title="0605 - Disclosure - Balance Sheet Details" />
31
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/OtherIntangibleAssetsNetAndGoodwill" xlink:title="0606 - Disclosure - Other Intangible Assets, net and Goodwill" />
32
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/FairValueMeasurements" xlink:title="0607 - Disclosure - Fair Value Measurements" />
33
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/FinancialInstrumentsAndRiskManagement" xlink:title="0608 - Disclosure - Financial Instruments and Risk Management" />
34
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/PensionAndPostretirementMedicalBenefitPlans" xlink:title="0609 - Disclosure - Pension and Postretirement Medical Benefit Plans" />
35
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/SegmentInformation" xlink:title="0611 - Disclosure - Segment Information" />
36
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/RestructuringCharges" xlink:title="0612 - Disclosure - Restructuring Charges" />
37
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/SupplementalCashFlowInformation" xlink:title="0613 - Disclosure - Supplemental Cash Flow Information" />
38
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/Contingencies" xlink:title="0614 - Disclosure - Contingencies" />
39
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/DocumentAndEntityInformation" xlink:title="00 - Document - Document and Company Information">
40
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_DocumentAndCompanyInformationAbstract" xlink:label="bgllc_DocumentAndCompanyInformationAbstract" />
41
+ </calculationLink>
42
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/StatementsOfOperations" xlink:title="01 - Statement - Condensed Consolidated Statements of Operations (Unaudited)">
43
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_NetIncomeLoss" />
44
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_NetIncomeLossAttributableToNoncontrollingInterest" />
45
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetIncomeLoss" xlink:to="loc_NetIncomeLossAttributableToNoncontrollingInterest" order="40" use="optional" weight="-1" />
46
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_ProfitLoss" />
47
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetIncomeLoss" xlink:to="loc_ProfitLoss" order="20" use="optional" weight="1" />
48
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_IncomeTaxExpenseBenefit" />
49
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ProfitLoss" xlink:to="loc_IncomeTaxExpenseBenefit" order="40" use="optional" weight="-1" />
50
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_IncomeBeforeIncomeTaxes" xlink:label="bgllc_IncomeBeforeIncomeTaxes" />
51
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ProfitLoss" xlink:to="bgllc_IncomeBeforeIncomeTaxes" order="20" use="optional" weight="1" priority="1" />
52
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_OperatingIncomeLoss" />
53
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="bgllc_IncomeBeforeIncomeTaxes" xlink:to="loc_OperatingIncomeLoss" order="20" use="optional" weight="1" priority="1" />
54
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_GrossProfit" />
55
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_OperatingIncomeLoss" xlink:to="loc_GrossProfit" order="40" use="optional" weight="1" priority="1" />
56
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_CostOfGoodsSold" />
57
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_GrossProfit" xlink:to="loc_CostOfGoodsSold" order="20" use="optional" weight="-1" priority="1" />
58
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_SalesRevenueGoodsNet" xlink:label="loc_SalesRevenueGoodsNet" />
59
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_GrossProfit" xlink:to="loc_SalesRevenueGoodsNet" order="40" use="optional" weight="1" priority="1" />
60
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_InterestExpense" />
61
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="bgllc_IncomeBeforeIncomeTaxes" xlink:to="loc_InterestExpense" order="60" use="optional" weight="-1" priority="1" />
62
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_InvestmentIncomeInterest" xlink:label="loc_InvestmentIncomeInterest" />
63
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="bgllc_IncomeBeforeIncomeTaxes" xlink:to="loc_InvestmentIncomeInterest" order="40" use="optional" weight="1" priority="1" />
64
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_ForeignCurrencyTransactionGainLossBeforeTax" />
65
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="bgllc_IncomeBeforeIncomeTaxes" xlink:to="loc_ForeignCurrencyTransactionGainLossBeforeTax" order="80" use="optional" weight="1" />
66
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_SellingDeliveryAndAdministrativeExpenses" xlink:label="bgllc_SellingDeliveryAndAdministrativeExpenses" />
67
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_OperatingIncomeLoss" xlink:to="bgllc_SellingDeliveryAndAdministrativeExpenses" order="20" use="optional" weight="-1" priority="1" />
68
+ </calculationLink>
69
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/StatementsOfCashFlows" xlink:title="02 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)">
70
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_CashAndCashEquivalentsPeriodIncreaseDecrease" />
71
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_EffectOfExchangeRateOnCashAndCashEquivalents" />
72
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_EffectOfExchangeRateOnCashAndCashEquivalents" order="80" use="optional" weight="1" />
73
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_NetCashProvidedByUsedInFinancingActivities" />
74
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_NetCashProvidedByUsedInFinancingActivities" order="60" use="optional" weight="1" />
75
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:label="loc_ProceedsFromPaymentsForOtherFinancingActivities" />
76
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_ProceedsFromPaymentsForOtherFinancingActivities" order="120" use="optional" weight="1" />
77
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_RepaymentsOfLongTermDebt" />
78
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_RepaymentsOfLongTermDebt" order="100" use="optional" weight="-1" />
79
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_ProceedsFromIssuanceOfLongTermDebt" />
80
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_ProceedsFromIssuanceOfLongTermDebt" order="80" use="optional" weight="1" />
81
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_NetCashProvidedByUsedInInvestingActivities" />
82
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_NetCashProvidedByUsedInInvestingActivities" order="40" use="optional" weight="1" />
83
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_PaymentsForProceedsFromOtherInvestingActivities" />
84
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_PaymentsForProceedsFromOtherInvestingActivities" order="100" use="optional" weight="-1" />
85
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_ProceedsFromSaleOfPropertyPlantAndEquipment" />
86
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_ProceedsFromSaleOfPropertyPlantAndEquipment" order="80" use="optional" weight="1" />
87
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_NetCashProvidedByUsedInOperatingActivities" />
88
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_NetCashProvidedByUsedInOperatingActivities" order="20" use="optional" weight="1" />
89
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_ShareBasedCompensation" />
90
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_ShareBasedCompensation" order="100" use="optional" weight="1" />
91
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_DeferredIncomeTaxExpenseBenefit" />
92
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_DeferredIncomeTaxExpenseBenefit" order="80" use="optional" weight="1" />
93
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_DepreciationDepletionAndAmortization" />
94
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_DepreciationDepletionAndAmortization" order="60" use="optional" weight="1" />
95
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesAndInterestInAffiliates" xlink:label="loc_PaymentsToAcquireBusinessesAndInterestInAffiliates" />
96
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_PaymentsToAcquireBusinessesAndInterestInAffiliates" order="60" use="optional" weight="-1" />
97
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PaymentsForCapitalImprovements" xlink:label="loc_PaymentsForCapitalImprovements" />
98
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_PaymentsForCapitalImprovements" order="40" use="optional" weight="-1" priority="1" />
99
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_OtherAdjustmentsNet" xlink:label="bgllc_OtherAdjustmentsNet" />
100
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="bgllc_OtherAdjustmentsNet" order="40" use="optional" weight="1" priority="1" />
101
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesOther" xlink:label="loc_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesOther" />
102
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesOther" order="20" use="optional" weight="1" priority="1" />
103
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_IssuanceOfNoteReceivableFromNoncontrolledAffiliate" xlink:label="bgllc_IssuanceOfNoteReceivableFromNoncontrolledAffiliate" />
104
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="bgllc_IssuanceOfNoteReceivableFromNoncontrolledAffiliate" order="140" use="optional" weight="1" priority="1" />
105
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_RepaymentsOfNoteReceivableFromNoncontrolledAffiliate" xlink:label="bgllc_RepaymentsOfNoteReceivableFromNoncontrolledAffiliate" />
106
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="bgllc_RepaymentsOfNoteReceivableFromNoncontrolledAffiliate" order="160" use="optional" weight="-1" priority="1" />
107
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PensionContributions" xlink:label="us-gaap_PensionContributions_2" />
108
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_PensionContributions_2" order="160" use="optional" weight="1" priority="1" />
109
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_ProfitLoss" />
110
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="loc_ProfitLoss" order="140" use="optional" weight="1" priority="1" />
111
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapital" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapital_2" />
112
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOperatingCapital_2" order="120" use="optional" weight="1" priority="1" />
113
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_2" />
114
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapital_2" xlink:to="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_2" order="100" use="optional" weight="-1" priority="1" />
115
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" />
116
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapital_2" xlink:to="loc_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" order="60" use="optional" weight="-1" priority="1" />
117
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
118
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapital_2" xlink:to="loc_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="40" use="optional" weight="1" priority="1" />
119
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_IncreaseDecreaseInInventories" />
120
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapital_2" xlink:to="loc_IncreaseDecreaseInInventories" order="20" use="optional" weight="1" priority="1" />
121
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables" xlink:label="loc_IncreaseDecreaseInReceivables" />
122
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapital_2" xlink:to="loc_IncreaseDecreaseInReceivables" order="80" use="optional" weight="1" priority="1" />
123
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProceedsFromPaymentsForLongTermLoansForRelatedParties" xlink:label="loc_ProceedsFromPaymentsForLongTermLoansForRelatedParties" />
124
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_ProceedsFromPaymentsForLongTermLoansForRelatedParties" order="120" use="optional" weight="1" />
125
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:label="loc_PaymentsToAcquireEquityMethodInvestments" />
126
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInInvestingActivities" xlink:to="loc_PaymentsToAcquireEquityMethodInvestments" order="20" use="optional" weight="-1" />
127
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebt" xlink:label="loc_ProceedsFromRepaymentsOfShortTermDebt" />
128
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInFinancingActivities" xlink:to="loc_ProceedsFromRepaymentsOfShortTermDebt" order="60" use="optional" weight="1" />
129
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_ProceedsFromNoncontrollingInterestHolder" xlink:label="bgllc_ProceedsFromNoncontrollingInterestHolder" />
130
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_NetCashProvidedByUsedInFinancingActivities" xlink:to="bgllc_ProceedsFromNoncontrollingInterestHolder" order="20" use="optional" weight="1" priority="1" />
131
+ </calculationLink>
132
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/BalanceSheets" xlink:title="03 - Statement - Condensed Consolidated Balance Sheets (Unaudited)">
133
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_LiabilitiesAndStockholdersEquity" />
134
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_Liabilities" />
135
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_LiabilitiesAndStockholdersEquity" xlink:to="loc_Liabilities" order="40" use="optional" weight="1" />
136
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_DeferredTaxLiabilitiesNoncurrent" />
137
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Liabilities" xlink:to="loc_DeferredTaxLiabilitiesNoncurrent" order="80" use="optional" weight="1" />
138
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_OtherLiabilitiesNoncurrent" />
139
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Liabilities" xlink:to="loc_OtherLiabilitiesNoncurrent" order="60" use="optional" weight="1" />
140
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_LiabilitiesCurrent" />
141
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Liabilities" xlink:to="loc_LiabilitiesCurrent" order="20" use="optional" weight="1" />
142
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_ShortTermBorrowings" />
143
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_LiabilitiesCurrent" xlink:to="loc_ShortTermBorrowings" order="40" use="optional" weight="1" />
144
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_Assets" xlink:label="loc_Assets" />
145
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_OtherAssetsNoncurrent" />
146
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_OtherAssetsNoncurrent" order="140" use="optional" weight="1" />
147
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" />
148
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" order="100" use="optional" weight="1" />
149
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_Goodwill" />
150
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_Goodwill" order="80" use="optional" weight="1" />
151
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_IntangibleAssetsNetExcludingGoodwill" />
152
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_IntangibleAssetsNetExcludingGoodwill" order="60" use="optional" weight="1" />
153
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_PropertyPlantAndEquipmentNet" />
154
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_PropertyPlantAndEquipmentNet" order="40" use="optional" weight="1" />
155
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_AssetsCurrent" />
156
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_AssetsCurrent" order="20" use="optional" weight="1" />
157
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_PrepaidExpensesAndOtherCurrentAssets" xlink:label="bgllc_PrepaidExpensesAndOtherCurrentAssets" />
158
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AssetsCurrent" xlink:to="bgllc_PrepaidExpensesAndOtherCurrentAssets" order="80" use="optional" weight="1" priority="1" />
159
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_InventoryNet" />
160
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AssetsCurrent" xlink:to="loc_InventoryNet" order="60" use="optional" weight="1" />
161
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ReceivablesNetCurrent" xlink:label="loc_ReceivablesNetCurrent" />
162
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AssetsCurrent" xlink:to="loc_ReceivablesNetCurrent" order="40" use="optional" weight="1" />
163
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_CashAndCashEquivalentsAtCarryingValue" />
164
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_AssetsCurrent" xlink:to="loc_CashAndCashEquivalentsAtCarryingValue" order="20" use="optional" weight="1" />
165
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_AccountsPayableAndAccruedLiabilitiesCurrent" />
166
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_LiabilitiesCurrent" xlink:to="loc_AccountsPayableAndAccruedLiabilitiesCurrent" order="20" use="optional" weight="1" />
167
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
168
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_LiabilitiesAndStockholdersEquity" xlink:to="loc_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="20" use="optional" weight="1" />
169
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_MinorityInterest" />
170
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_MinorityInterest" order="40" use="optional" weight="1" priority="1" />
171
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_StockholdersEquity" />
172
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_StockholdersEquity" order="20" use="optional" weight="1" priority="1" />
173
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_AccumulatedOtherComprehensiveIncomeLossNetOfTax" />
174
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_StockholdersEquity" xlink:to="loc_AccumulatedOtherComprehensiveIncomeLossNetOfTax" order="20" use="optional" weight="1" />
175
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_LongTermDebtAndCapitalLeaseObligations" />
176
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Liabilities" xlink:to="loc_LongTermDebtAndCapitalLeaseObligations" order="40" use="optional" weight="1" />
177
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent" xlink:label="loc_LongTermDebtAndCapitalLeaseObligationsCurrent" />
178
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_LiabilitiesCurrent" xlink:to="loc_LongTermDebtAndCapitalLeaseObligationsCurrent" order="60" use="optional" weight="1" />
179
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_DueFromRelatedPartiesNoncurrent" xlink:label="loc_DueFromRelatedPartiesNoncurrent" />
180
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_Assets" xlink:to="loc_DueFromRelatedPartiesNoncurrent" order="120" use="optional" weight="1" />
181
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_OwnersNetInvestment" xlink:label="bgllc_OwnersNetInvestment" />
182
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_StockholdersEquity" xlink:to="bgllc_OwnersNetInvestment" order="40" use="optional" weight="1" priority="1" />
183
+ </calculationLink>
184
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/StatementsOfComprehensiveIncome" xlink:title="05 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited)">
185
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_ComprehensiveIncomeNetOfTax" />
186
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" />
187
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTax" xlink:to="loc_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" order="40" use="optional" weight="-1" />
188
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" />
189
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTax" xlink:to="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" order="20" use="optional" weight="1" />
190
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" xlink:label="loc_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" />
191
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" order="40" use="optional" weight="1" />
192
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_ProfitLoss" />
193
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_ProfitLoss" order="20" use="optional" weight="1" />
194
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" xlink:label="loc_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" />
195
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" order="80" use="optional" weight="1" priority="1" />
196
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" />
197
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" order="60" use="optional" weight="-1" />
198
+ </calculationLink>
199
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/StatementsOfChangesInEquity" xlink:title="04 - Statement - Condensed Consolidated Statements of Changes in Shareholders Equity (Unaudited)">
200
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" />
201
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" />
202
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_WithholdingTaxEquityAwards" xlink:label="bgllc_WithholdingTaxEquityAwards" />
203
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
204
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_ContributionsFromOwnersIncludingNoncontrollingInterests" xlink:label="bgllc_ContributionsFromOwnersIncludingNoncontrollingInterests" />
205
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_CashDistributionsToOwner" xlink:label="bgllc_CashDistributionsToOwner" />
206
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_ContributionsFromNoncontrollingInterestHolder" xlink:label="bgllc_ContributionsFromNoncontrollingInterestHolder" />
207
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_ProfitLoss" />
208
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_ProfitLoss" order="60" use="optional" weight="1" priority="1" />
209
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" xlink:label="loc_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" />
210
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease" order="80" use="optional" weight="1" priority="1" />
211
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" />
212
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent" order="20" use="optional" weight="-1" priority="1" />
213
+ <loc xlink:type="locator" xlink:href="http://taxonomies.xbrl.us/us-gaap/2009/elts/us-gaap-2009-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" xlink:label="loc_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" />
214
+ <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="loc_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax" order="40" use="optional" weight="1" priority="1" />
215
+ <loc xlink:type="locator" xlink:href="bgllc-20090905.xsd#bgllc_Sfas158MeasurementDateAdjustmentNetOfTax" xlink:label="bgllc_Sfas158MeasurementDateAdjustmentNetOfTax" />
216
+ </calculationLink>
217
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/StatementsOfChangesInEquityParenthetical" xlink:title="041 - Statement - Condensed Consolidated Statements of Changes in Equity (Parenthetical) (Unaudited)" />
218
+ <calculationLink xlink:type="extended" xlink:role="http://pbg.com/20090613/role/Guarantees" xlink:title="0615 - Disclosure - Guarantees" />
219
+ </linkbase>