rubyfromexcel 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/examples/ruby-versions/2050example-ruby/sheets/sheet1.rb +9 -0
- data/examples/ruby-versions/2050example-ruby/sheets/sheet2.rb +25 -0
- data/examples/ruby-versions/2050example-ruby/sheets/sheet3.rb +8 -0
- data/examples/ruby-versions/2050example-ruby/sheets/sheet4.rb +14 -0
- data/examples/ruby-versions/2050example-ruby/sheets/sheet5.rb +118 -0
- data/examples/ruby-versions/2050example-ruby/specs/sheet1_rspec.rb +8 -0
- data/examples/ruby-versions/2050example-ruby/specs/sheet2_rspec.rb +44 -0
- data/examples/ruby-versions/2050example-ruby/specs/sheet3_rspec.rb +12 -0
- data/examples/ruby-versions/2050example-ruby/specs/sheet4_rspec.rb +8 -0
- data/examples/ruby-versions/2050example-ruby/specs/sheet5_rspec.rb +164 -0
- data/examples/ruby-versions/2050example-ruby/spreadsheet.rb +9 -0
- data/examples/unzipped-sheets/2050example/[Content_Types].xml +2 -0
- data/examples/unzipped-sheets/2050example/docProps/app.xml +2 -0
- data/examples/unzipped-sheets/2050example/docProps/core.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/_rels/workbook.xml.rels +2 -0
- data/examples/unzipped-sheets/2050example/xl/calcChain.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings1.bin +0 -0
- data/examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings2.bin +0 -0
- data/examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings3.bin +0 -0
- data/examples/unzipped-sheets/2050example/xl/sharedStrings.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/styles.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/tables/table1.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/tables/table2.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/theme/theme1.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/workbook.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet1.xml.rels +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet2.xml.rels +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet4.xml.rels +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet5.xml.rels +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/sheet1.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/sheet2.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/sheet3.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/sheet4.xml +2 -0
- data/examples/unzipped-sheets/2050example/xl/worksheets/sheet5.xml +2 -0
- data/lib/formulae/compile/formula_builder.rb +2 -2
- metadata +43 -10
- data/examples/sheets/example.xlsx +0 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# 中间结果
|
3
|
+
class Sheet2 < Spreadsheet
|
4
|
+
def b5; "产出"; end
|
5
|
+
def c5; 2010.0; end
|
6
|
+
def d5; 2015.0; end
|
7
|
+
def e5; 2020.0; end
|
8
|
+
def f5; 2025.0; end
|
9
|
+
def g5; 2030.0; end
|
10
|
+
def h5; 2035.0; end
|
11
|
+
def i5; 2040.0; end
|
12
|
+
def j5; 2045.0; end
|
13
|
+
def k5; 2050.0; end
|
14
|
+
def b6; "T.01"; end
|
15
|
+
def c6; @c6 ||= sheet5.a('c32','c32'); end
|
16
|
+
def d6; @d6 ||= sheet5.a('d32','d32'); end
|
17
|
+
def e6; @e6 ||= sheet5.a('e32','e32'); end
|
18
|
+
def f6; @f6 ||= sheet5.a('f32','f32'); end
|
19
|
+
def g6; @g6 ||= sheet5.a('g32','g32'); end
|
20
|
+
def h6; @h6 ||= sheet5.a('h32','h32'); end
|
21
|
+
def i6; @i6 ||= sheet5.a('i32','i32'); end
|
22
|
+
def j6; @j6 ||= sheet5.a('j32','j32'); end
|
23
|
+
def k6; @k6 ||= sheet5.a('k32','k32'); end
|
24
|
+
end
|
25
|
+
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# I
|
3
|
+
class Sheet5 < Spreadsheet
|
4
|
+
def a1; "I"; end
|
5
|
+
def b1; @b1 ||= sheet4.c8; end
|
6
|
+
def b3; "工业"; end
|
7
|
+
def c4; @c4 ||= sheet1.c5; end
|
8
|
+
def c7; 2010.0; end
|
9
|
+
def d7; 2015.0; end
|
10
|
+
def e7; 2020.0; end
|
11
|
+
def f7; 2025.0; end
|
12
|
+
def g7; 2030.0; end
|
13
|
+
def h7; 2035.0; end
|
14
|
+
def i7; 2040.0; end
|
15
|
+
def j7; 2045.0; end
|
16
|
+
def k7; 2050.0; end
|
17
|
+
def b8; 1.0; end
|
18
|
+
def c8; 1.0; end
|
19
|
+
def d8; 1.0; end
|
20
|
+
def e8; 1.0; end
|
21
|
+
def f8; 1.0; end
|
22
|
+
def g8; 1.0; end
|
23
|
+
def h8; 1.0; end
|
24
|
+
def i8; 1.0; end
|
25
|
+
def j8; 1.0; end
|
26
|
+
def k8; 1.0; end
|
27
|
+
def b9; 2.0; end
|
28
|
+
def c9; 10.0; end
|
29
|
+
def d9; 10.0; end
|
30
|
+
def e9; 10.0; end
|
31
|
+
def f9; 10.0; end
|
32
|
+
def g9; 10.0; end
|
33
|
+
def h9; 10.0; end
|
34
|
+
def i9; 10.0; end
|
35
|
+
def j9; 10.0; end
|
36
|
+
def k9; 10.0; end
|
37
|
+
def b10; 3.0; end
|
38
|
+
def c10; 100.0; end
|
39
|
+
def d10; 100.0; end
|
40
|
+
def e10; 100.0; end
|
41
|
+
def f10; 100.0; end
|
42
|
+
def g10; 100.0; end
|
43
|
+
def h10; 100.0; end
|
44
|
+
def i10; 100.0; end
|
45
|
+
def j10; 100.0; end
|
46
|
+
def k10; 100.0; end
|
47
|
+
def b11; 4.0; end
|
48
|
+
def c11; 1000.0; end
|
49
|
+
def d11; 1000.0; end
|
50
|
+
def e11; 1000.0; end
|
51
|
+
def f11; 1000.0; end
|
52
|
+
def g11; 1000.0; end
|
53
|
+
def h11; 1000.0; end
|
54
|
+
def i11; 1000.0; end
|
55
|
+
def j11; 1000.0; end
|
56
|
+
def k11; 1000.0; end
|
57
|
+
def b17; "选择"; end
|
58
|
+
def c19; 2010.0; end
|
59
|
+
def d19; 2015.0; end
|
60
|
+
def e19; 2020.0; end
|
61
|
+
def f19; 2025.0; end
|
62
|
+
def g19; 2030.0; end
|
63
|
+
def h19; 2035.0; end
|
64
|
+
def i19; 2040.0; end
|
65
|
+
def j19; 2045.0; end
|
66
|
+
def k19; 2050.0; end
|
67
|
+
def b20; @b20 ||= c4; end
|
68
|
+
def c20; @c20 ||= index(a('c8','c11'),match(c4,a('b8','b11'),0.0)); end
|
69
|
+
def d20; @d20 ||= index(a('d8','d11'),match(c4,a('b8','b11'),0.0)); end
|
70
|
+
def e20; @e20 ||= index(a('e8','e11'),match(c4,a('b8','b11'),0.0)); end
|
71
|
+
def f20; @f20 ||= index(a('f8','f11'),match(c4,a('b8','b11'),0.0)); end
|
72
|
+
def g20; @g20 ||= index(a('g8','g11'),match(c4,a('b8','b11'),0.0)); end
|
73
|
+
def h20; @h20 ||= index(a('h8','h11'),match(c4,a('b8','b11'),0.0)); end
|
74
|
+
def i20; @i20 ||= index(a('i8','i11'),match(c4,a('b8','b11'),0.0)); end
|
75
|
+
def j20; @j20 ||= index(a('j8','j11'),match(c4,a('b8','b11'),0.0)); end
|
76
|
+
def k20; @k20 ||= index(a('k8','k11'),match(c4,a('b8','b11'),0.0)); end
|
77
|
+
def b25; "结果"; end
|
78
|
+
def c26; @c26 ||= c20*sheet3.c5; end
|
79
|
+
def d26; @d26 ||= d20*sheet3.c5; end
|
80
|
+
def e26; @e26 ||= e20*sheet3.c5; end
|
81
|
+
def f26; @f26 ||= f20*sheet3.c5; end
|
82
|
+
def g26; @g26 ||= g20*sheet3.c5; end
|
83
|
+
def h26; @h26 ||= h20*sheet3.c5; end
|
84
|
+
def i26; @i26 ||= i20*sheet3.c5; end
|
85
|
+
def j26; @j26 ||= j20*sheet3.c5; end
|
86
|
+
def k26; @k26 ||= k20*sheet3.c5; end
|
87
|
+
def b31; "编号"; end
|
88
|
+
def c31; "2010"; end
|
89
|
+
def d31; "2015"; end
|
90
|
+
def e31; "2020"; end
|
91
|
+
def f31; "2025"; end
|
92
|
+
def g31; "2030"; end
|
93
|
+
def h31; "2035"; end
|
94
|
+
def i31; "2040"; end
|
95
|
+
def j31; "2045"; end
|
96
|
+
def k31; "2050"; end
|
97
|
+
def b32; "T.1"; end
|
98
|
+
def c32; @c32 ||= c26; end
|
99
|
+
def d32; @d32 ||= d26; end
|
100
|
+
def e32; @e32 ||= e26; end
|
101
|
+
def f32; @f32 ||= f26; end
|
102
|
+
def g32; @g32 ||= g26; end
|
103
|
+
def h32; @h32 ||= h26; end
|
104
|
+
def i32; @i32 ||= i26; end
|
105
|
+
def j32; @j32 ||= j26; end
|
106
|
+
def k32; @k32 ||= k26; end
|
107
|
+
def b33; "合计"; end
|
108
|
+
def c33; @c33 ||= subtotal(109.0,sheet5.a('c32','c32')); end
|
109
|
+
def d33; @d33 ||= subtotal(109.0,sheet5.a('d32','d32')); end
|
110
|
+
def e33; @e33 ||= subtotal(109.0,sheet5.a('e32','e32')); end
|
111
|
+
def f33; @f33 ||= subtotal(109.0,sheet5.a('f32','f32')); end
|
112
|
+
def g33; @g33 ||= subtotal(109.0,sheet5.a('g32','g32')); end
|
113
|
+
def h33; @h33 ||= subtotal(109.0,sheet5.a('h32','h32')); end
|
114
|
+
def i33; @i33 ||= subtotal(109.0,sheet5.a('i32','i32')); end
|
115
|
+
def j33; @j33 ||= subtotal(109.0,sheet5.a('j32','j32')); end
|
116
|
+
def k33; @k33 ||= subtotal(109.0,sheet5.a('k32','k32')); end
|
117
|
+
end
|
118
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
require_relative '../spreadsheet'
|
3
|
+
# 中间结果
|
4
|
+
describe 'Sheet2' do
|
5
|
+
def sheet2; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet2; end
|
6
|
+
|
7
|
+
it 'cell c6 should equal 142.85714285714286' do
|
8
|
+
sheet2.c6.should be_within(14.285714285714286).of(142.85714285714286)
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'cell d6 should equal 142.85714285714286' do
|
12
|
+
sheet2.d6.should be_within(14.285714285714286).of(142.85714285714286)
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'cell e6 should equal 142.85714285714286' do
|
16
|
+
sheet2.e6.should be_within(14.285714285714286).of(142.85714285714286)
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'cell f6 should equal 142.85714285714286' do
|
20
|
+
sheet2.f6.should be_within(14.285714285714286).of(142.85714285714286)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'cell g6 should equal 142.85714285714286' do
|
24
|
+
sheet2.g6.should be_within(14.285714285714286).of(142.85714285714286)
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'cell h6 should equal 142.85714285714286' do
|
28
|
+
sheet2.h6.should be_within(14.285714285714286).of(142.85714285714286)
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'cell i6 should equal 142.85714285714286' do
|
32
|
+
sheet2.i6.should be_within(14.285714285714286).of(142.85714285714286)
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'cell j6 should equal 142.85714285714286' do
|
36
|
+
sheet2.j6.should be_within(14.285714285714286).of(142.85714285714286)
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'cell k6 should equal 142.85714285714286' do
|
40
|
+
sheet2.k6.should be_within(14.285714285714286).of(142.85714285714286)
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
require_relative '../spreadsheet'
|
3
|
+
# 常数
|
4
|
+
describe 'Sheet3' do
|
5
|
+
def sheet3; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet3; end
|
6
|
+
|
7
|
+
it 'cell c5 should equal 1.4285714285714286' do
|
8
|
+
sheet3.c5.should be_within(0.14285714285714288).of(1.4285714285714286)
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
12
|
+
|
@@ -0,0 +1,164 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
require_relative '../spreadsheet'
|
3
|
+
# I
|
4
|
+
describe 'Sheet5' do
|
5
|
+
def sheet5; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet5; end
|
6
|
+
|
7
|
+
it 'cell b1 should equal "工业"' do
|
8
|
+
sheet5.b1.should == "工业"
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'cell c4 should equal 3.0' do
|
12
|
+
sheet5.c4.should be_within(0.30000000000000004).of(3.0)
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'cell b20 should equal 3.0' do
|
16
|
+
sheet5.b20.should be_within(0.30000000000000004).of(3.0)
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'cell c20 should equal 100.0' do
|
20
|
+
sheet5.c20.should be_within(10.0).of(100.0)
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'cell d20 should equal 100.0' do
|
24
|
+
sheet5.d20.should be_within(10.0).of(100.0)
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'cell e20 should equal 100.0' do
|
28
|
+
sheet5.e20.should be_within(10.0).of(100.0)
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'cell f20 should equal 100.0' do
|
32
|
+
sheet5.f20.should be_within(10.0).of(100.0)
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'cell g20 should equal 100.0' do
|
36
|
+
sheet5.g20.should be_within(10.0).of(100.0)
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'cell h20 should equal 100.0' do
|
40
|
+
sheet5.h20.should be_within(10.0).of(100.0)
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'cell i20 should equal 100.0' do
|
44
|
+
sheet5.i20.should be_within(10.0).of(100.0)
|
45
|
+
end
|
46
|
+
|
47
|
+
it 'cell j20 should equal 100.0' do
|
48
|
+
sheet5.j20.should be_within(10.0).of(100.0)
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'cell k20 should equal 100.0' do
|
52
|
+
sheet5.k20.should be_within(10.0).of(100.0)
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'cell c26 should equal 142.85714285714286' do
|
56
|
+
sheet5.c26.should be_within(14.285714285714286).of(142.85714285714286)
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'cell d26 should equal 142.85714285714286' do
|
60
|
+
sheet5.d26.should be_within(14.285714285714286).of(142.85714285714286)
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'cell e26 should equal 142.85714285714286' do
|
64
|
+
sheet5.e26.should be_within(14.285714285714286).of(142.85714285714286)
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'cell f26 should equal 142.85714285714286' do
|
68
|
+
sheet5.f26.should be_within(14.285714285714286).of(142.85714285714286)
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'cell g26 should equal 142.85714285714286' do
|
72
|
+
sheet5.g26.should be_within(14.285714285714286).of(142.85714285714286)
|
73
|
+
end
|
74
|
+
|
75
|
+
it 'cell h26 should equal 142.85714285714286' do
|
76
|
+
sheet5.h26.should be_within(14.285714285714286).of(142.85714285714286)
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'cell i26 should equal 142.85714285714286' do
|
80
|
+
sheet5.i26.should be_within(14.285714285714286).of(142.85714285714286)
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'cell j26 should equal 142.85714285714286' do
|
84
|
+
sheet5.j26.should be_within(14.285714285714286).of(142.85714285714286)
|
85
|
+
end
|
86
|
+
|
87
|
+
it 'cell k26 should equal 142.85714285714286' do
|
88
|
+
sheet5.k26.should be_within(14.285714285714286).of(142.85714285714286)
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'cell c32 should equal 142.85714285714286' do
|
92
|
+
sheet5.c32.should be_within(14.285714285714286).of(142.85714285714286)
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'cell d32 should equal 142.85714285714286' do
|
96
|
+
sheet5.d32.should be_within(14.285714285714286).of(142.85714285714286)
|
97
|
+
end
|
98
|
+
|
99
|
+
it 'cell e32 should equal 142.85714285714286' do
|
100
|
+
sheet5.e32.should be_within(14.285714285714286).of(142.85714285714286)
|
101
|
+
end
|
102
|
+
|
103
|
+
it 'cell f32 should equal 142.85714285714286' do
|
104
|
+
sheet5.f32.should be_within(14.285714285714286).of(142.85714285714286)
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'cell g32 should equal 142.85714285714286' do
|
108
|
+
sheet5.g32.should be_within(14.285714285714286).of(142.85714285714286)
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'cell h32 should equal 142.85714285714286' do
|
112
|
+
sheet5.h32.should be_within(14.285714285714286).of(142.85714285714286)
|
113
|
+
end
|
114
|
+
|
115
|
+
it 'cell i32 should equal 142.85714285714286' do
|
116
|
+
sheet5.i32.should be_within(14.285714285714286).of(142.85714285714286)
|
117
|
+
end
|
118
|
+
|
119
|
+
it 'cell j32 should equal 142.85714285714286' do
|
120
|
+
sheet5.j32.should be_within(14.285714285714286).of(142.85714285714286)
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'cell k32 should equal 142.85714285714286' do
|
124
|
+
sheet5.k32.should be_within(14.285714285714286).of(142.85714285714286)
|
125
|
+
end
|
126
|
+
|
127
|
+
it 'cell c33 should equal 142.85714285714286' do
|
128
|
+
sheet5.c33.should be_within(14.285714285714286).of(142.85714285714286)
|
129
|
+
end
|
130
|
+
|
131
|
+
it 'cell d33 should equal 142.85714285714286' do
|
132
|
+
sheet5.d33.should be_within(14.285714285714286).of(142.85714285714286)
|
133
|
+
end
|
134
|
+
|
135
|
+
it 'cell e33 should equal 142.85714285714286' do
|
136
|
+
sheet5.e33.should be_within(14.285714285714286).of(142.85714285714286)
|
137
|
+
end
|
138
|
+
|
139
|
+
it 'cell f33 should equal 142.85714285714286' do
|
140
|
+
sheet5.f33.should be_within(14.285714285714286).of(142.85714285714286)
|
141
|
+
end
|
142
|
+
|
143
|
+
it 'cell g33 should equal 142.85714285714286' do
|
144
|
+
sheet5.g33.should be_within(14.285714285714286).of(142.85714285714286)
|
145
|
+
end
|
146
|
+
|
147
|
+
it 'cell h33 should equal 142.85714285714286' do
|
148
|
+
sheet5.h33.should be_within(14.285714285714286).of(142.85714285714286)
|
149
|
+
end
|
150
|
+
|
151
|
+
it 'cell i33 should equal 142.85714285714286' do
|
152
|
+
sheet5.i33.should be_within(14.285714285714286).of(142.85714285714286)
|
153
|
+
end
|
154
|
+
|
155
|
+
it 'cell j33 should equal 142.85714285714286' do
|
156
|
+
sheet5.j33.should be_within(14.285714285714286).of(142.85714285714286)
|
157
|
+
end
|
158
|
+
|
159
|
+
it 'cell k33 should equal 142.85714285714286' do
|
160
|
+
sheet5.k33.should be_within(14.285714285714286).of(142.85714285714286)
|
161
|
+
end
|
162
|
+
|
163
|
+
end
|
164
|
+
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="bin" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/tables/table1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/><Override PartName="/xl/tables/table2.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet4.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet5.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/><Override PartName="/xl/worksheets/sheet2.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet3.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/calcChain.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/></Types>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="4" baseType="variant"><vt:variant><vt:lpstr>工作表</vt:lpstr></vt:variant><vt:variant><vt:i4>5</vt:i4></vt:variant><vt:variant><vt:lpstr>命名范围</vt:lpstr></vt:variant><vt:variant><vt:i4>2</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="7" baseType="lpstr"><vt:lpstr>控制面板</vt:lpstr><vt:lpstr>中间结果</vt:lpstr><vt:lpstr>常数</vt:lpstr><vt:lpstr>结构</vt:lpstr><vt:lpstr>I</vt:lpstr><vt:lpstr>I.1</vt:lpstr><vt:lpstr>常数</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>12.0000</AppVersion></Properties>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator></dc:creator><cp:lastModifiedBy></cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">2006-09-13T11:21:51Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2012-02-27T00:48:36Z</dcterms:modified></cp:coreProperties>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet3.xml"/><Relationship Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet2.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet5.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet4.xml"/><Relationship Id="rId9" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" Target="calcChain.xml"/></Relationships>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<calcChain xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><c r="C5" i="5"/><c r="C4" i="3"/><c r="E20" s="1"/><c r="E26" s="1"/><c r="E32" s="1"/><c r="B1"/><c r="E6" i="2" l="1"/><c r="E33" i="3"/><c r="J20"/><c r="J26" s="1"/><c r="J32" s="1"/><c r="H20"/><c r="H26" s="1"/><c r="H32" s="1"/><c r="F20"/><c r="F26" s="1"/><c r="F32" s="1"/><c r="D20"/><c r="D26" s="1"/><c r="D32" s="1"/><c r="K20"/><c r="K26" s="1"/><c r="K32" s="1"/><c r="I20"/><c r="I26" s="1"/><c r="I32" s="1"/><c r="G20"/><c r="G26" s="1"/><c r="G32" s="1"/><c r="C20"/><c r="C26" s="1"/><c r="C32" s="1"/><c r="B20"/><c r="G6" i="2" l="1"/><c r="G33" i="3"/><c r="K6" i="2"/><c r="K33" i="3"/><c r="F6" i="2"/><c r="F33" i="3"/><c r="J6" i="2"/><c r="J33" i="3"/><c r="C33"/><c r="C6" i="2"/><c r="I6"/><c r="I33" i="3"/><c r="D6" i="2"/><c r="D33" i="3"/><c r="H6" i="2"/><c r="H33" i="3"/></calcChain>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="32" uniqueCount="32"><si><t>变量</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>水平</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>工工业化</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>模型</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>编号</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>名称</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>I</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>工业</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>II</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>交通</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>III</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>居民</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>I</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>工业</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>电力</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>煤炭</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>选择</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>结果</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>编号</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>T.1</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>2010</t></si><si><t>2015</t></si><si><t>2020</t></si><si><t>2025</t></si><si><t>2030</t></si><si><t>2035</t></si><si><t>2040</t></si><si><t>2045</t></si><si><t>2050</t></si><si><t>合计</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>产出</t><phoneticPr fontId="1" type="noConversion"/></si><si><t>T.01</t><phoneticPr fontId="1" type="noConversion"/></si></sst>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><fonts count="4"><font><sz val="11"/><color theme="1"/><name val="宋体"/><family val="2"/><charset val="134"/><scheme val="minor"/></font><font><sz val="9"/><name val="宋体"/><family val="2"/><charset val="134"/><scheme val="minor"/></font><font><sz val="9"/><color theme="1"/><name val="Times New Roman"/><family val="1"/></font><font><sz val="9"/><color theme="1"/><name val="宋体"/><family val="3"/><charset val="134"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"><alignment vertical="center"/></xf></cellStyleXfs><cellXfs count="3"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"><alignment vertical="center"/></xf><xf numFmtId="0" fontId="2" fillId="0" borderId="0" xfId="0" applyFont="1"><alignment vertical="center"/></xf><xf numFmtId="0" fontId="3" fillId="0" borderId="0" xfId="0" applyFont="1"><alignment vertical="center"/></xf></cellXfs><cellStyles count="1"><cellStyle name="常规" xfId="0" builtinId="0"/></cellStyles><dxfs count="25"><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="宋体"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="宋体"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="宋体"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="Times New Roman"/><scheme val="none"/></font></dxf><dxf><font><b val="0"/><i val="0"/><strike val="0"/><condense val="0"/><extend val="0"/><outline val="0"/><shadow val="0"/><u val="none"/><vertAlign val="baseline"/><sz val="9"/><color theme="1"/><name val="宋体"/><scheme val="none"/></font></dxf></dxfs><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleLight16"/></styleSheet>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="1" name="模型" displayName="模型" ref="B7:C10" totalsRowShown="0" headerRowDxfId="24"><autoFilter ref="B7:C10"/><tableColumns count="2"><tableColumn id="1" name="编号" dataDxfId="23"/><tableColumn id="2" name="名称" dataDxfId="22"/></tableColumns><tableStyleInfo name="TableStyleMedium9" showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/></table>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<table xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" id="2" name="I.Outputs" displayName="I.Outputs" ref="B31:K33" totalsRowCount="1" headerRowDxfId="21" dataDxfId="20"><autoFilter ref="B31:K32"/><tableColumns count="10"><tableColumn id="1" name="编号" totalsRowLabel="合计" dataDxfId="19" totalsRowDxfId="18"/><tableColumn id="2" name="2010" totalsRowFunction="sum" dataDxfId="17" totalsRowDxfId="16"><calculatedColumnFormula>C26</calculatedColumnFormula></tableColumn><tableColumn id="3" name="2015" totalsRowFunction="sum" dataDxfId="15" totalsRowDxfId="14"><calculatedColumnFormula>D26</calculatedColumnFormula></tableColumn><tableColumn id="4" name="2020" totalsRowFunction="sum" dataDxfId="13" totalsRowDxfId="12"><calculatedColumnFormula>E26</calculatedColumnFormula></tableColumn><tableColumn id="5" name="2025" totalsRowFunction="sum" dataDxfId="11" totalsRowDxfId="10"><calculatedColumnFormula>F26</calculatedColumnFormula></tableColumn><tableColumn id="6" name="2030" totalsRowFunction="sum" dataDxfId="9" totalsRowDxfId="8"><calculatedColumnFormula>G26</calculatedColumnFormula></tableColumn><tableColumn id="7" name="2035" totalsRowFunction="sum" dataDxfId="7" totalsRowDxfId="6"><calculatedColumnFormula>H26</calculatedColumnFormula></tableColumn><tableColumn id="8" name="2040" totalsRowFunction="sum" dataDxfId="5" totalsRowDxfId="4"><calculatedColumnFormula>I26</calculatedColumnFormula></tableColumn><tableColumn id="9" name="2045" totalsRowFunction="sum" dataDxfId="3" totalsRowDxfId="2"><calculatedColumnFormula>J26</calculatedColumnFormula></tableColumn><tableColumn id="10" name="2050" totalsRowFunction="sum" dataDxfId="1" totalsRowDxfId="0"><calculatedColumnFormula>K26</calculatedColumnFormula></tableColumn></tableColumns><tableStyleInfo name="TableStyleMedium9" showFirstColumn="0" showLastColumn="0" showRowStripes="1" showColumnStripes="0"/></table>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office 主题"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="1F497D"/></a:dk2><a:lt2><a:srgbClr val="EEECE1"/></a:lt2><a:accent1><a:srgbClr val="4F81BD"/></a:accent1><a:accent2><a:srgbClr val="C0504D"/></a:accent2><a:accent3><a:srgbClr val="9BBB59"/></a:accent3><a:accent4><a:srgbClr val="8064A2"/></a:accent4><a:accent5><a:srgbClr val="4BACC6"/></a:accent5><a:accent6><a:srgbClr val="F79646"/></a:accent6><a:hlink><a:srgbClr val="0000FF"/></a:hlink><a:folHlink><a:srgbClr val="800080"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Cambria"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="MS Pゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="宋体"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/></a:majorFont><a:minorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="MS Pゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="宋体"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/></a:theme>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="4" lowestEdited="4" rupBuild="4506"/><workbookPr filterPrivacy="1" defaultThemeVersion="124226"/><bookViews><workbookView xWindow="0" yWindow="90" windowWidth="19200" windowHeight="11640" activeTab="1"/></bookViews><sheets><sheet name="控制面板" sheetId="1" r:id="rId1"/><sheet name="中间结果" sheetId="2" r:id="rId2"/><sheet name="常数" sheetId="5" r:id="rId3"/><sheet name="结构" sheetId="4" r:id="rId4"/><sheet name="I" sheetId="3" r:id="rId5"/></sheets><definedNames><definedName name="I.1">控制面板!$C$5</definedName><definedName name="常数">常数!$C$5</definedName></definedNames><calcPr calcId="125725" calcMode="manual"/></workbook>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings" Target="../printerSettings/printerSettings1.bin"/></Relationships>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings" Target="../printerSettings/printerSettings2.bin"/></Relationships>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table1.xml"/></Relationships>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" Target="../tables/table2.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings" Target="../printerSettings/printerSettings3.bin"/></Relationships>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="B4:C5"/><sheetViews><sheetView workbookViewId="0"><selection activeCell="C6" sqref="C6"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="12"/><cols><col min="1" max="16384" width="9" style="1"/></cols><sheetData><row r="4" spans="2:3"><c r="B4" s="2" t="s"><v>0</v></c><c r="C4" s="2" t="s"><v>1</v></c></row><row r="5" spans="2:3"><c r="B5" s="2" t="s"><v>2</v></c><c r="C5" s="1"><v>3</v></c></row></sheetData><phoneticPr fontId="1" type="noConversion"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/><pageSetup paperSize="9" orientation="portrait" horizontalDpi="200" verticalDpi="200" r:id="rId1"/></worksheet>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="B5:K6"/><sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="E39" sqref="E39"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="12"/><cols><col min="1" max="16384" width="9" style="1"/></cols><sheetData><row r="5" spans="2:11"><c r="B5" s="2" t="s"><v>30</v></c><c r="C5" s="1"><v>2010</v></c><c r="D5" s="1"><v>2015</v></c><c r="E5" s="1"><v>2020</v></c><c r="F5" s="1"><v>2025</v></c><c r="G5" s="1"><v>2030</v></c><c r="H5" s="1"><v>2035</v></c><c r="I5" s="1"><v>2040</v></c><c r="J5" s="1"><v>2045</v></c><c r="K5" s="1"><v>2050</v></c></row><row r="6" spans="2:11"><c r="B6" s="1" t="s"><v>31</v></c><c r="C6" s="1"><f>I.Outputs[2010]</f><v>142.85714285714286</v></c><c r="D6" s="1"><f>I.Outputs[2015]</f><v>142.85714285714286</v></c><c r="E6" s="1"><f>I.Outputs[2020]</f><v>142.85714285714286</v></c><c r="F6" s="1"><f>I.Outputs[2025]</f><v>142.85714285714286</v></c><c r="G6" s="1"><f>I.Outputs[2030]</f><v>142.85714285714286</v></c><c r="H6" s="1"><f>I.Outputs[2035]</f><v>142.85714285714286</v></c><c r="I6" s="1"><f>I.Outputs[2040]</f><v>142.85714285714286</v></c><c r="J6" s="1"><f>I.Outputs[2045]</f><v>142.85714285714286</v></c><c r="K6" s="1"><f>I.Outputs[2050]</f><v>142.85714285714286</v></c></row></sheetData><phoneticPr fontId="1" type="noConversion"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/><pageSetup paperSize="9" orientation="portrait" horizontalDpi="200" verticalDpi="200" r:id="rId1"/></worksheet>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="B3:D5"/><sheetViews><sheetView workbookViewId="0"><selection activeCell="C5" sqref="C5"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="12"/><cols><col min="1" max="16384" width="9" style="1"/></cols><sheetData><row r="3" spans="2:4"><c r="B3" s="2"/></row><row r="5" spans="2:4"><c r="B5" s="2" t="s"><v>14</v></c><c r="C5" s="1"><f>10/7</f><v>1.4285714285714286</v></c><c r="D5" s="2" t="s"><v>15</v></c></row></sheetData><phoneticPr fontId="1" type="noConversion"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></worksheet>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="B6:C10"/><sheetViews><sheetView workbookViewId="0"><selection activeCell="C9" sqref="C9"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="12"/><cols><col min="1" max="16384" width="9" style="1"/></cols><sheetData><row r="6" spans="2:3"><c r="B6" s="2" t="s"><v>3</v></c></row><row r="7" spans="2:3"><c r="B7" s="2" t="s"><v>4</v></c><c r="C7" s="2" t="s"><v>5</v></c></row><row r="8" spans="2:3"><c r="B8" s="1" t="s"><v>6</v></c><c r="C8" s="2" t="s"><v>7</v></c></row><row r="9" spans="2:3"><c r="B9" s="1" t="s"><v>8</v></c><c r="C9" s="2" t="s"><v>9</v></c></row><row r="10" spans="2:3"><c r="B10" s="1" t="s"><v>10</v></c><c r="C10" s="2" t="s"><v>11</v></c></row></sheetData><phoneticPr fontId="1" type="noConversion"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/><tableParts count="1"><tablePart r:id="rId1"/></tableParts></worksheet>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><dimension ref="A1:K33"/><sheetViews><sheetView workbookViewId="0"><selection activeCell="I37" sqref="I37"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="12"/><cols><col min="1" max="16384" width="9" style="1"/></cols><sheetData><row r="1" spans="1:11"><c r="A1" s="1" t="s"><v>12</v></c><c r="B1" s="1" t="str"><f>INDEX(模型[名称],MATCH(A1,模型[编号],0))</f><v>工业</v></c></row><row r="3" spans="1:11"><c r="B3" s="2" t="s"><v>13</v></c></row><row r="4" spans="1:11"><c r="C4" s="1"><f>I.1</f><v>3</v></c></row><row r="7" spans="1:11"><c r="C7" s="1"><v>2010</v></c><c r="D7" s="1"><v>2015</v></c><c r="E7" s="1"><v>2020</v></c><c r="F7" s="1"><v>2025</v></c><c r="G7" s="1"><v>2030</v></c><c r="H7" s="1"><v>2035</v></c><c r="I7" s="1"><v>2040</v></c><c r="J7" s="1"><v>2045</v></c><c r="K7" s="1"><v>2050</v></c></row><row r="8" spans="1:11"><c r="B8" s="1"><v>1</v></c><c r="C8" s="1"><v>1</v></c><c r="D8" s="1"><v>1</v></c><c r="E8" s="1"><v>1</v></c><c r="F8" s="1"><v>1</v></c><c r="G8" s="1"><v>1</v></c><c r="H8" s="1"><v>1</v></c><c r="I8" s="1"><v>1</v></c><c r="J8" s="1"><v>1</v></c><c r="K8" s="1"><v>1</v></c></row><row r="9" spans="1:11"><c r="B9" s="1"><v>2</v></c><c r="C9" s="1"><v>10</v></c><c r="D9" s="1"><v>10</v></c><c r="E9" s="1"><v>10</v></c><c r="F9" s="1"><v>10</v></c><c r="G9" s="1"><v>10</v></c><c r="H9" s="1"><v>10</v></c><c r="I9" s="1"><v>10</v></c><c r="J9" s="1"><v>10</v></c><c r="K9" s="1"><v>10</v></c></row><row r="10" spans="1:11"><c r="B10" s="1"><v>3</v></c><c r="C10" s="1"><v>100</v></c><c r="D10" s="1"><v>100</v></c><c r="E10" s="1"><v>100</v></c><c r="F10" s="1"><v>100</v></c><c r="G10" s="1"><v>100</v></c><c r="H10" s="1"><v>100</v></c><c r="I10" s="1"><v>100</v></c><c r="J10" s="1"><v>100</v></c><c r="K10" s="1"><v>100</v></c></row><row r="11" spans="1:11"><c r="B11" s="1"><v>4</v></c><c r="C11" s="1"><v>1000</v></c><c r="D11" s="1"><v>1000</v></c><c r="E11" s="1"><v>1000</v></c><c r="F11" s="1"><v>1000</v></c><c r="G11" s="1"><v>1000</v></c><c r="H11" s="1"><v>1000</v></c><c r="I11" s="1"><v>1000</v></c><c r="J11" s="1"><v>1000</v></c><c r="K11" s="1"><v>1000</v></c></row><row r="17" spans="2:11"><c r="B17" s="2" t="s"><v>16</v></c></row><row r="19" spans="2:11"><c r="C19" s="1"><v>2010</v></c><c r="D19" s="1"><v>2015</v></c><c r="E19" s="1"><v>2020</v></c><c r="F19" s="1"><v>2025</v></c><c r="G19" s="1"><v>2030</v></c><c r="H19" s="1"><v>2035</v></c><c r="I19" s="1"><v>2040</v></c><c r="J19" s="1"><v>2045</v></c><c r="K19" s="1"><v>2050</v></c></row><row r="20" spans="2:11"><c r="B20" s="1"><f>C4</f><v>3</v></c><c r="C20" s="1"><f>INDEX(C8:C11,MATCH($C$4,$B$8:$B$11,0))</f><v>100</v></c><c r="D20" s="1"><f t="shared" ref="D20:K20" si="0">INDEX(D8:D11,MATCH($C$4,$B$8:$B$11,0))</f><v>100</v></c><c r="E20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="F20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="G20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="H20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="I20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="J20" s="1"><f t="shared" si="0"/><v>100</v></c><c r="K20" s="1"><f t="shared" si="0"/><v>100</v></c></row><row r="25" spans="2:11"><c r="B25" s="2" t="s"><v>17</v></c></row><row r="26" spans="2:11"><c r="C26" s="1"><f t="shared" ref="C26:K26" si="1">C20*常数</f><v>142.85714285714286</v></c><c r="D26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="E26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="F26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="G26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="H26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="I26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="J26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c><c r="K26" s="1"><f t="shared" si="1"/><v>142.85714285714286</v></c></row><row r="31" spans="2:11"><c r="B31" s="2" t="s"><v>18</v></c><c r="C31" s="2" t="s"><v>20</v></c><c r="D31" s="1" t="s"><v>21</v></c><c r="E31" s="2" t="s"><v>22</v></c><c r="F31" s="1" t="s"><v>23</v></c><c r="G31" s="2" t="s"><v>24</v></c><c r="H31" s="1" t="s"><v>25</v></c><c r="I31" s="2" t="s"><v>26</v></c><c r="J31" s="1" t="s"><v>27</v></c><c r="K31" s="2" t="s"><v>28</v></c></row><row r="32" spans="2:11"><c r="B32" s="1" t="s"><v>19</v></c><c r="C32" s="1"><f>C26</f><v>142.85714285714286</v></c><c r="D32" s="1"><f t="shared" ref="D32:K32" si="2">D26</f><v>142.85714285714286</v></c><c r="E32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="F32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="G32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="H32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="I32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="J32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c><c r="K32" s="1"><f t="shared" si="2"/><v>142.85714285714286</v></c></row><row r="33" spans="2:11"><c r="B33" s="2" t="s"><v>29</v></c><c r="C33" s="1"><f>SUBTOTAL(109,[2010])</f><v>142.85714285714286</v></c><c r="D33" s="1"><f>SUBTOTAL(109,[2015])</f><v>142.85714285714286</v></c><c r="E33" s="1"><f>SUBTOTAL(109,[2020])</f><v>142.85714285714286</v></c><c r="F33" s="1"><f>SUBTOTAL(109,[2025])</f><v>142.85714285714286</v></c><c r="G33" s="1"><f>SUBTOTAL(109,[2030])</f><v>142.85714285714286</v></c><c r="H33" s="1"><f>SUBTOTAL(109,[2035])</f><v>142.85714285714286</v></c><c r="I33" s="1"><f>SUBTOTAL(109,[2040])</f><v>142.85714285714286</v></c><c r="J33" s="1"><f>SUBTOTAL(109,[2045])</f><v>142.85714285714286</v></c><c r="K33" s="1"><f>SUBTOTAL(109,[2050])</f><v>142.85714285714286</v></c></row></sheetData><phoneticPr fontId="1" type="noConversion"/><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/><pageSetup paperSize="9" orientation="portrait" horizontalDpi="200" verticalDpi="200" r:id="rId1"/><ignoredErrors><ignoredError sqref="C20:L20" formulaRange="1"/></ignoredErrors><tableParts count="1"><tablePart r:id="rId2"/></tableParts></worksheet>
|
@@ -73,8 +73,8 @@ module RubyFromExcel
|
|
73
73
|
def named_reference(name, worksheet = nil)
|
74
74
|
worksheet ||= formula_cell ? formula_cell.worksheet : nil
|
75
75
|
return ":name" unless worksheet
|
76
|
-
worksheet.named_references[name.
|
77
|
-
worksheet.workbook.named_references[name.
|
76
|
+
worksheet.named_references[name.downcase] ||
|
77
|
+
worksheet.workbook.named_references[name.downcase] ||
|
78
78
|
":name"
|
79
79
|
end
|
80
80
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyfromexcel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &70198976262840 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.4.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70198976262840
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rubyscriptwriter
|
27
|
-
requirement: &
|
27
|
+
requirement: &70198976262320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,18 +32,18 @@ dependencies:
|
|
32
32
|
version: 0.0.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70198976262320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rubypeg
|
38
|
-
requirement: &
|
38
|
+
requirement: &70198976261740 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.0.
|
43
|
+
version: 0.0.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70198976261740
|
47
47
|
description:
|
48
48
|
email: ruby-from-excel@greenonblack.com
|
49
49
|
executables:
|
@@ -121,6 +121,17 @@ files:
|
|
121
121
|
- examples/checkpoints/checkpoint/checkpoint4.marshal
|
122
122
|
- examples/checkpoints/checkpoint/checkpoint5.marshal
|
123
123
|
- examples/create_and_test_examples.rb
|
124
|
+
- examples/ruby-versions/2050example-ruby/sheets/sheet1.rb
|
125
|
+
- examples/ruby-versions/2050example-ruby/sheets/sheet2.rb
|
126
|
+
- examples/ruby-versions/2050example-ruby/sheets/sheet3.rb
|
127
|
+
- examples/ruby-versions/2050example-ruby/sheets/sheet4.rb
|
128
|
+
- examples/ruby-versions/2050example-ruby/sheets/sheet5.rb
|
129
|
+
- examples/ruby-versions/2050example-ruby/specs/sheet1_rspec.rb
|
130
|
+
- examples/ruby-versions/2050example-ruby/specs/sheet2_rspec.rb
|
131
|
+
- examples/ruby-versions/2050example-ruby/specs/sheet3_rspec.rb
|
132
|
+
- examples/ruby-versions/2050example-ruby/specs/sheet4_rspec.rb
|
133
|
+
- examples/ruby-versions/2050example-ruby/specs/sheet5_rspec.rb
|
134
|
+
- examples/ruby-versions/2050example-ruby/spreadsheet.rb
|
124
135
|
- examples/ruby-versions/array-formulas-ruby/sheets/sheet1.rb
|
125
136
|
- examples/ruby-versions/array-formulas-ruby/sheets/sheet2.rb
|
126
137
|
- examples/ruby-versions/array-formulas-ruby/specs/sheet1_rspec.rb
|
@@ -177,12 +188,34 @@ files:
|
|
177
188
|
- examples/sheets/array-formulas.xlsx
|
178
189
|
- examples/sheets/checkpoint.xlsx
|
179
190
|
- examples/sheets/complex-test.xlsx
|
180
|
-
- examples/sheets/example.xlsx
|
181
191
|
- examples/sheets/namedReferenceTest.xlsx
|
182
192
|
- examples/sheets/pruning.xlsx
|
183
193
|
- examples/sheets/sharedFormulaTest.xlsx
|
184
194
|
- examples/sheets/table-test.xlsx
|
185
195
|
- examples/sheets/~$array-formulas.xlsx
|
196
|
+
- examples/unzipped-sheets/2050example/[Content_Types].xml
|
197
|
+
- examples/unzipped-sheets/2050example/docProps/app.xml
|
198
|
+
- examples/unzipped-sheets/2050example/docProps/core.xml
|
199
|
+
- examples/unzipped-sheets/2050example/xl/_rels/workbook.xml.rels
|
200
|
+
- examples/unzipped-sheets/2050example/xl/calcChain.xml
|
201
|
+
- examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings1.bin
|
202
|
+
- examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings2.bin
|
203
|
+
- examples/unzipped-sheets/2050example/xl/printerSettings/printerSettings3.bin
|
204
|
+
- examples/unzipped-sheets/2050example/xl/sharedStrings.xml
|
205
|
+
- examples/unzipped-sheets/2050example/xl/styles.xml
|
206
|
+
- examples/unzipped-sheets/2050example/xl/tables/table1.xml
|
207
|
+
- examples/unzipped-sheets/2050example/xl/tables/table2.xml
|
208
|
+
- examples/unzipped-sheets/2050example/xl/theme/theme1.xml
|
209
|
+
- examples/unzipped-sheets/2050example/xl/workbook.xml
|
210
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet1.xml.rels
|
211
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet2.xml.rels
|
212
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet4.xml.rels
|
213
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/_rels/sheet5.xml.rels
|
214
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/sheet1.xml
|
215
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/sheet2.xml
|
216
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/sheet3.xml
|
217
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/sheet4.xml
|
218
|
+
- examples/unzipped-sheets/2050example/xl/worksheets/sheet5.xml
|
186
219
|
- examples/unzipped-sheets/array-formulas/[Content_Types].xml
|
187
220
|
- examples/unzipped-sheets/array-formulas/docProps/app.xml
|
188
221
|
- examples/unzipped-sheets/array-formulas/docProps/core.xml
|
Binary file
|