rubyXL 1.2.10 → 2.1.1
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/Gemfile +14 -10
- data/Gemfile.lock +80 -21
- data/LICENSE.txt +1 -1
- data/README.rdoc +88 -82
- data/Rakefile +7 -2
- data/VERSION +1 -1
- data/lib/rubyXL.rb +13 -7
- data/lib/rubyXL/cell.rb +108 -268
- data/lib/rubyXL/generic_storage.rb +40 -0
- data/lib/rubyXL/objects/border.rb +66 -0
- data/lib/rubyXL/objects/calculation_chain.rb +28 -0
- data/lib/rubyXL/objects/cell_style.rb +75 -0
- data/lib/rubyXL/objects/color.rb +25 -0
- data/lib/rubyXL/objects/column_range.rb +74 -0
- data/lib/rubyXL/objects/container_nodes.rb +122 -0
- data/lib/rubyXL/objects/data_validation.rb +43 -0
- data/lib/rubyXL/objects/document_properties.rb +76 -0
- data/lib/rubyXL/objects/extensions.rb +36 -0
- data/lib/rubyXL/objects/fill.rb +57 -0
- data/lib/rubyXL/objects/font.rb +111 -0
- data/lib/rubyXL/objects/formula.rb +24 -0
- data/lib/rubyXL/objects/ooxml_object.rb +295 -0
- data/lib/rubyXL/objects/reference.rb +110 -0
- data/lib/rubyXL/objects/relationships.rb +59 -0
- data/lib/rubyXL/objects/shared_strings.rb +57 -0
- data/lib/rubyXL/objects/sheet_data.rb +149 -0
- data/lib/rubyXL/objects/sheet_view.rb +71 -0
- data/lib/rubyXL/objects/stylesheet.rb +200 -0
- data/lib/rubyXL/objects/text.rb +87 -0
- data/lib/rubyXL/objects/theme.rb +64 -0
- data/lib/rubyXL/objects/workbook.rb +233 -0
- data/lib/rubyXL/objects/worksheet.rb +485 -0
- data/lib/rubyXL/parser.rb +78 -442
- data/lib/rubyXL/workbook.rb +216 -385
- data/lib/rubyXL/worksheet.rb +509 -1062
- data/lib/rubyXL/writer/content_types_writer.rb +104 -68
- data/lib/rubyXL/writer/core_writer.rb +26 -43
- data/lib/rubyXL/writer/generic_writer.rb +43 -0
- data/lib/rubyXL/writer/root_rels_writer.rb +11 -19
- data/lib/rubyXL/writer/styles_writer.rb +6 -398
- data/lib/rubyXL/writer/theme_writer.rb +321 -327
- data/lib/rubyXL/writer/workbook_writer.rb +63 -67
- data/lib/rubyXL/writer/worksheet_writer.rb +29 -218
- data/rdoc/created.rid +39 -0
- data/rdoc/fonts.css +167 -0
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/js/darkfish.js +140 -0
- data/rdoc/js/jquery.js +18 -0
- data/rdoc/js/navigation.js +142 -0
- data/rdoc/js/search.js +109 -0
- data/rdoc/js/search_index.js +1 -0
- data/rdoc/js/searcher.js +228 -0
- data/rdoc/rdoc.css +580 -0
- data/rubyXL.gemspec +90 -34
- data/spec/lib/cell_spec.rb +29 -59
- data/spec/lib/parser_spec.rb +35 -19
- data/spec/lib/reference_spec.rb +29 -0
- data/spec/lib/stylesheet_spec.rb +29 -0
- data/spec/lib/workbook_spec.rb +22 -17
- data/spec/lib/worksheet_spec.rb +47 -202
- metadata +185 -148
- data/lib/.DS_Store +0 -0
- data/lib/rubyXL/Hash.rb +0 -60
- data/lib/rubyXL/color.rb +0 -14
- data/lib/rubyXL/private_class.rb +0 -265
- data/lib/rubyXL/writer/app_writer.rb +0 -62
- data/lib/rubyXL/writer/calc_chain_writer.rb +0 -33
- data/lib/rubyXL/writer/shared_strings_writer.rb +0 -30
- data/lib/rubyXL/writer/workbook_rels_writer.rb +0 -59
- data/lib/rubyXL/zip.rb +0 -20
- data/spec/lib/hash_spec.rb +0 -28
|
@@ -1,343 +1,337 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
|
-
require 'rubygems'
|
|
3
|
-
require 'nokogiri'
|
|
4
2
|
|
|
5
3
|
module RubyXL
|
|
6
4
|
module Writer
|
|
7
|
-
class ThemeWriter
|
|
8
|
-
attr_accessor :dirpath, :filepath, :workbook
|
|
5
|
+
class ThemeWriter < GenericWriter
|
|
9
6
|
|
|
10
|
-
def
|
|
11
|
-
|
|
12
|
-
@workbook = wb
|
|
13
|
-
@filepath = dirpath + '/xl/theme/theme1.xml'
|
|
7
|
+
def filepath
|
|
8
|
+
File.join('xl', 'theme', 'theme1.xml')
|
|
14
9
|
end
|
|
15
10
|
|
|
16
11
|
def write()
|
|
12
|
+
return @workbook.theme['theme1.xml'] unless @workbook.theme.empty?
|
|
17
13
|
|
|
14
|
+
# Fallback theme. Note that this particular theme totall throws colors off. Need to figure it out eventually.
|
|
18
15
|
contents = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
16
|
+
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
17
|
+
<a:themeElements>
|
|
18
|
+
<a:clrScheme name="Office">
|
|
19
|
+
<a:dk1>
|
|
20
|
+
<a:sysClr val="windowText" lastClr="000000"/>
|
|
21
|
+
</a:dk1>
|
|
22
|
+
<a:lt1>
|
|
23
|
+
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
24
|
+
</a:lt1>
|
|
25
|
+
<a:dk2>
|
|
26
|
+
<a:srgbClr val="1F497D"/>
|
|
27
|
+
</a:dk2>
|
|
28
|
+
<a:lt2>
|
|
29
|
+
<a:srgbClr val="EEECE1"/>
|
|
30
|
+
</a:lt2>
|
|
31
|
+
<a:accent1>
|
|
32
|
+
<a:srgbClr val="4F81BD"/>
|
|
33
|
+
</a:accent1>
|
|
34
|
+
<a:accent2>
|
|
35
|
+
<a:srgbClr val="C0504D"/>
|
|
36
|
+
</a:accent2>
|
|
37
|
+
<a:accent3>
|
|
38
|
+
<a:srgbClr val="9BBB59"/>
|
|
39
|
+
</a:accent3>
|
|
40
|
+
<a:accent4>
|
|
41
|
+
<a:srgbClr val="8064A2"/>
|
|
42
|
+
</a:accent4>
|
|
43
|
+
<a:accent5>
|
|
44
|
+
<a:srgbClr val="4BACC6"/>
|
|
45
|
+
</a:accent5>
|
|
46
|
+
<a:accent6>
|
|
47
|
+
<a:srgbClr val="F79646"/>
|
|
48
|
+
</a:accent6>
|
|
49
|
+
<a:hlink>
|
|
50
|
+
<a:srgbClr val="0000FF"/>
|
|
51
|
+
</a:hlink>
|
|
52
|
+
<a:folHlink>
|
|
53
|
+
<a:srgbClr val="800080"/>
|
|
54
|
+
</a:folHlink>
|
|
55
|
+
</a:clrScheme>
|
|
56
|
+
<a:fontScheme name="Office">
|
|
57
|
+
<a:majorFont>
|
|
58
|
+
<a:latin typeface="Cambria"/>
|
|
59
|
+
<a:ea typeface=""/>
|
|
60
|
+
<a:cs typeface=""/>
|
|
61
|
+
<a:font script="Jpan" typeface="MS Pゴシック"/>
|
|
62
|
+
<a:font script="Hang" typeface="맑은 고딕"/>
|
|
63
|
+
<a:font script="Hans" typeface="宋体"/>
|
|
64
|
+
<a:font script="Hant" typeface="新細明體"/>
|
|
65
|
+
<a:font script="Arab" typeface="Times New Roman"/>
|
|
66
|
+
<a:font script="Hebr" typeface="Times New Roman"/>
|
|
67
|
+
<a:font script="Thai" typeface="Tahoma"/>
|
|
68
|
+
<a:font script="Ethi" typeface="Nyala"/>
|
|
69
|
+
<a:font script="Beng" typeface="Vrinda"/>
|
|
70
|
+
<a:font script="Gujr" typeface="Shruti"/>
|
|
71
|
+
<a:font script="Khmr" typeface="MoolBoran"/>
|
|
72
|
+
<a:font script="Knda" typeface="Tunga"/>
|
|
73
|
+
<a:font script="Guru" typeface="Raavi"/>
|
|
74
|
+
<a:font script="Cans" typeface="Euphemia"/>
|
|
75
|
+
<a:font script="Cher" typeface="Plantagenet Cherokee"/>
|
|
76
|
+
<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
|
|
77
|
+
<a:font script="Tibt" typeface="Microsoft Himalaya"/>
|
|
78
|
+
<a:font script="Thaa" typeface="MV Boli"/>
|
|
79
|
+
<a:font script="Deva" typeface="Mangal"/>
|
|
80
|
+
<a:font script="Telu" typeface="Gautami"/>
|
|
81
|
+
<a:font script="Taml" typeface="Latha"/>
|
|
82
|
+
<a:font script="Syrc" typeface="Estrangelo Edessa"/>
|
|
83
|
+
<a:font script="Orya" typeface="Kalinga"/>
|
|
84
|
+
<a:font script="Mlym" typeface="Kartika"/>
|
|
85
|
+
<a:font script="Laoo" typeface="DokChampa"/>
|
|
86
|
+
<a:font script="Sinh" typeface="Iskoola Pota"/>
|
|
87
|
+
<a:font script="Mong" typeface="Mongolian Baiti"/>
|
|
88
|
+
<a:font script="Viet" typeface="Times New Roman"/>
|
|
89
|
+
<a:font script="Uigh" typeface="Microsoft Uighur"/>
|
|
90
|
+
</a:majorFont>
|
|
91
|
+
<a:minorFont>
|
|
92
|
+
<a:latin typeface="Calibri"/>
|
|
93
|
+
<a:ea typeface=""/>
|
|
94
|
+
<a:cs typeface=""/>
|
|
95
|
+
<a:font script="Jpan" typeface="MS Pゴシック"/>
|
|
96
|
+
<a:font script="Hang" typeface="맑은 고딕"/>
|
|
97
|
+
<a:font script="Hans" typeface="宋体"/>
|
|
98
|
+
<a:font script="Hant" typeface="新細明體"/>
|
|
99
|
+
<a:font script="Arab" typeface="Arial"/>
|
|
100
|
+
<a:font script="Hebr" typeface="Arial"/>
|
|
101
|
+
<a:font script="Thai" typeface="Tahoma"/>
|
|
102
|
+
<a:font script="Ethi" typeface="Nyala"/>
|
|
103
|
+
<a:font script="Beng" typeface="Vrinda"/>
|
|
104
|
+
<a:font script="Gujr" typeface="Shruti"/>
|
|
105
|
+
<a:font script="Khmr" typeface="DaunPenh"/>
|
|
106
|
+
<a:font script="Knda" typeface="Tunga"/>
|
|
107
|
+
<a:font script="Guru" typeface="Raavi"/>
|
|
108
|
+
<a:font script="Cans" typeface="Euphemia"/>
|
|
109
|
+
<a:font script="Cher" typeface="Plantagenet Cherokee"/>
|
|
110
|
+
<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
|
|
111
|
+
<a:font script="Tibt" typeface="Microsoft Himalaya"/>
|
|
112
|
+
<a:font script="Thaa" typeface="MV Boli"/>
|
|
113
|
+
<a:font script="Deva" typeface="Mangal"/>
|
|
114
|
+
<a:font script="Telu" typeface="Gautami"/>
|
|
115
|
+
<a:font script="Taml" typeface="Latha"/>
|
|
116
|
+
<a:font script="Syrc" typeface="Estrangelo Edessa"/>
|
|
117
|
+
<a:font script="Orya" typeface="Kalinga"/>
|
|
118
|
+
<a:font script="Mlym" typeface="Kartika"/>
|
|
119
|
+
<a:font script="Laoo" typeface="DokChampa"/>
|
|
120
|
+
<a:font script="Sinh" typeface="Iskoola Pota"/>
|
|
121
|
+
<a:font script="Mong" typeface="Mongolian Baiti"/>
|
|
122
|
+
<a:font script="Viet" typeface="Arial"/>
|
|
123
|
+
<a:font script="Uigh" typeface="Microsoft Uighur"/>
|
|
124
|
+
</a:minorFont>
|
|
125
|
+
</a:fontScheme>
|
|
126
|
+
<a:fmtScheme name="Office">
|
|
127
|
+
<a:fillStyleLst>
|
|
128
|
+
<a:solidFill>
|
|
129
|
+
<a:schemeClr val="phClr"/>
|
|
130
|
+
</a:solidFill>
|
|
131
|
+
<a:gradFill rotWithShape="1">
|
|
132
|
+
<a:gsLst>
|
|
133
|
+
<a:gs pos="0">
|
|
134
|
+
<a:schemeClr val="phClr">
|
|
135
|
+
<a:tint val="50000"/>
|
|
136
|
+
<a:satMod val="300000"/>
|
|
137
|
+
</a:schemeClr>
|
|
138
|
+
</a:gs>
|
|
139
|
+
<a:gs pos="35000">
|
|
140
|
+
<a:schemeClr val="phClr">
|
|
141
|
+
<a:tint val="37000"/>
|
|
142
|
+
<a:satMod val="300000"/>
|
|
143
|
+
</a:schemeClr>
|
|
144
|
+
</a:gs>
|
|
145
|
+
<a:gs pos="100000">
|
|
146
|
+
<a:schemeClr val="phClr">
|
|
147
|
+
<a:tint val="15000"/>
|
|
148
|
+
<a:satMod val="350000"/>
|
|
149
|
+
</a:schemeClr>
|
|
150
|
+
</a:gs>
|
|
151
|
+
</a:gsLst>
|
|
152
|
+
<a:lin ang="16200000" scaled="1"/>
|
|
153
|
+
</a:gradFill>
|
|
154
|
+
<a:gradFill rotWithShape="1">
|
|
155
|
+
<a:gsLst>
|
|
156
|
+
<a:gs pos="0">
|
|
157
|
+
<a:schemeClr val="phClr">
|
|
158
|
+
<a:tint val="100000"/>
|
|
159
|
+
<a:shade val="100000"/>
|
|
160
|
+
<a:satMod val="130000"/>
|
|
161
|
+
</a:schemeClr>
|
|
162
|
+
</a:gs>
|
|
163
|
+
<a:gs pos="100000">
|
|
164
|
+
<a:schemeClr val="phClr">
|
|
165
|
+
<a:tint val="50000"/>
|
|
166
|
+
<a:shade val="100000"/>
|
|
167
|
+
<a:satMod val="350000"/>
|
|
168
|
+
</a:schemeClr>
|
|
169
|
+
</a:gs>
|
|
170
|
+
</a:gsLst>
|
|
171
|
+
<a:lin ang="16200000" scaled="0"/>
|
|
172
|
+
</a:gradFill>
|
|
173
|
+
</a:fillStyleLst>
|
|
174
|
+
<a:lnStyleLst>
|
|
175
|
+
<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr">
|
|
176
|
+
<a:solidFill>
|
|
177
|
+
<a:schemeClr val="phClr">
|
|
178
|
+
<a:shade val="95000"/>
|
|
179
|
+
<a:satMod val="105000"/>
|
|
180
|
+
</a:schemeClr>
|
|
181
|
+
</a:solidFill>
|
|
182
|
+
<a:prstDash val="solid"/>
|
|
183
|
+
</a:ln>
|
|
184
|
+
<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr">
|
|
185
|
+
<a:solidFill>
|
|
186
|
+
<a:schemeClr val="phClr"/>
|
|
187
|
+
</a:solidFill>
|
|
188
|
+
<a:prstDash val="solid"/>
|
|
189
|
+
</a:ln>
|
|
190
|
+
<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr">
|
|
191
|
+
<a:solidFill>
|
|
192
|
+
<a:schemeClr val="phClr"/>
|
|
193
|
+
</a:solidFill>
|
|
194
|
+
<a:prstDash val="solid"/>
|
|
195
|
+
</a:ln>
|
|
196
|
+
</a:lnStyleLst>
|
|
197
|
+
<a:effectStyleLst>
|
|
198
|
+
<a:effectStyle>
|
|
199
|
+
<a:effectLst>
|
|
200
|
+
<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0">
|
|
201
|
+
<a:srgbClr val="000000">
|
|
202
|
+
<a:alpha val="38000"/>
|
|
203
|
+
</a:srgbClr>
|
|
204
|
+
</a:outerShdw>
|
|
205
|
+
</a:effectLst>
|
|
206
|
+
</a:effectStyle>
|
|
207
|
+
<a:effectStyle>
|
|
208
|
+
<a:effectLst>
|
|
209
|
+
<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
|
|
210
|
+
<a:srgbClr val="000000">
|
|
211
|
+
<a:alpha val="35000"/>
|
|
212
|
+
</a:srgbClr>
|
|
213
|
+
</a:outerShdw>
|
|
214
|
+
</a:effectLst>
|
|
215
|
+
</a:effectStyle>
|
|
216
|
+
<a:effectStyle>
|
|
217
|
+
<a:effectLst>
|
|
218
|
+
<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
|
|
219
|
+
<a:srgbClr val="000000">
|
|
220
|
+
<a:alpha val="35000"/>
|
|
221
|
+
</a:srgbClr>
|
|
222
|
+
</a:outerShdw>
|
|
223
|
+
</a:effectLst>
|
|
224
|
+
<a:scene3d>
|
|
225
|
+
<a:camera prst="orthographicFront">
|
|
226
|
+
<a:rot lat="0" lon="0" rev="0"/>
|
|
227
|
+
</a:camera>
|
|
228
|
+
<a:lightRig rig="threePt" dir="t">
|
|
229
|
+
<a:rot lat="0" lon="0" rev="1200000"/>
|
|
230
|
+
</a:lightRig>
|
|
231
|
+
</a:scene3d>
|
|
232
|
+
<a:sp3d>
|
|
233
|
+
<a:bevelT w="63500" h="25400"/>
|
|
234
|
+
</a:sp3d>
|
|
235
|
+
</a:effectStyle>
|
|
236
|
+
</a:effectStyleLst>
|
|
237
|
+
<a:bgFillStyleLst>
|
|
238
|
+
<a:solidFill>
|
|
239
|
+
<a:schemeClr val="phClr"/>
|
|
240
|
+
</a:solidFill>
|
|
241
|
+
<a:gradFill rotWithShape="1">
|
|
242
|
+
<a:gsLst>
|
|
243
|
+
<a:gs pos="0">
|
|
244
|
+
<a:schemeClr val="phClr">
|
|
245
|
+
<a:tint val="40000"/>
|
|
246
|
+
<a:satMod val="350000"/>
|
|
247
|
+
</a:schemeClr>
|
|
248
|
+
</a:gs>
|
|
249
|
+
<a:gs pos="40000">
|
|
250
|
+
<a:schemeClr val="phClr">
|
|
251
|
+
<a:tint val="45000"/>
|
|
252
|
+
<a:shade val="99000"/>
|
|
253
|
+
<a:satMod val="350000"/>
|
|
254
|
+
</a:schemeClr>
|
|
255
|
+
</a:gs>
|
|
256
|
+
<a:gs pos="100000">
|
|
257
|
+
<a:schemeClr val="phClr">
|
|
258
|
+
<a:shade val="20000"/>
|
|
259
|
+
<a:satMod val="255000"/>
|
|
260
|
+
</a:schemeClr>
|
|
261
|
+
</a:gs>
|
|
262
|
+
</a:gsLst>
|
|
263
|
+
<a:path path="circle">
|
|
264
|
+
<a:fillToRect l="50000" t="-80000" r="50000" b="180000"/>
|
|
265
|
+
</a:path>
|
|
266
|
+
</a:gradFill>
|
|
267
|
+
<a:gradFill rotWithShape="1">
|
|
268
|
+
<a:gsLst>
|
|
269
|
+
<a:gs pos="0">
|
|
270
|
+
<a:schemeClr val="phClr">
|
|
271
|
+
<a:tint val="80000"/>
|
|
272
|
+
<a:satMod val="300000"/>
|
|
273
|
+
</a:schemeClr>
|
|
274
|
+
</a:gs>
|
|
275
|
+
<a:gs pos="100000">
|
|
276
|
+
<a:schemeClr val="phClr">
|
|
277
|
+
<a:shade val="30000"/>
|
|
278
|
+
<a:satMod val="200000"/>
|
|
279
|
+
</a:schemeClr>
|
|
280
|
+
</a:gs>
|
|
281
|
+
</a:gsLst>
|
|
282
|
+
<a:path path="circle">
|
|
283
|
+
<a:fillToRect l="50000" t="50000" r="50000" b="50000"/>
|
|
284
|
+
</a:path>
|
|
285
|
+
</a:gradFill>
|
|
286
|
+
</a:bgFillStyleLst>
|
|
287
|
+
</a:fmtScheme>
|
|
288
|
+
</a:themeElements>
|
|
289
|
+
<a:objectDefaults>
|
|
290
|
+
<a:spDef>
|
|
291
|
+
<a:spPr/>
|
|
292
|
+
<a:bodyPr/>
|
|
293
|
+
<a:lstStyle/>
|
|
294
|
+
<a:style>
|
|
295
|
+
<a:lnRef idx="1">
|
|
296
|
+
<a:schemeClr val="accent1"/>
|
|
297
|
+
</a:lnRef>
|
|
298
|
+
<a:fillRef idx="3">
|
|
299
|
+
<a:schemeClr val="accent1"/>
|
|
300
|
+
</a:fillRef>
|
|
301
|
+
<a:effectRef idx="2">
|
|
302
|
+
<a:schemeClr val="accent1"/>
|
|
303
|
+
</a:effectRef>
|
|
304
|
+
<a:fontRef idx="minor">
|
|
305
|
+
<a:schemeClr val="lt1"/>
|
|
306
|
+
</a:fontRef>
|
|
307
|
+
</a:style>
|
|
308
|
+
</a:spDef>
|
|
309
|
+
<a:lnDef>
|
|
310
|
+
<a:spPr/>
|
|
311
|
+
<a:bodyPr/>
|
|
312
|
+
<a:lstStyle/>
|
|
313
|
+
<a:style>
|
|
314
|
+
<a:lnRef idx="2">
|
|
315
|
+
<a:schemeClr val="accent1"/>
|
|
316
|
+
</a:lnRef>
|
|
317
|
+
<a:fillRef idx="0">
|
|
318
|
+
<a:schemeClr val="accent1"/>
|
|
319
|
+
</a:fillRef>
|
|
320
|
+
<a:effectRef idx="1">
|
|
321
|
+
<a:schemeClr val="accent1"/>
|
|
322
|
+
</a:effectRef>
|
|
323
|
+
<a:fontRef idx="minor">
|
|
324
|
+
<a:schemeClr val="tx1"/>
|
|
325
|
+
</a:fontRef>
|
|
326
|
+
</a:style>
|
|
327
|
+
</a:lnDef>
|
|
328
|
+
</a:objectDefaults>
|
|
329
|
+
<a:extraClrSchemeLst/>
|
|
330
|
+
</a:theme>'
|
|
19
331
|
|
|
20
|
-
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
21
|
-
<a:themeElements>
|
|
22
|
-
<a:clrScheme name="Office">
|
|
23
|
-
<a:dk1>
|
|
24
|
-
<a:sysClr val="windowText" lastClr="000000"/>
|
|
25
|
-
</a:dk1>
|
|
26
|
-
<a:lt1>
|
|
27
|
-
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
28
|
-
</a:lt1>
|
|
29
|
-
<a:dk2>
|
|
30
|
-
<a:srgbClr val="1F497D"/>
|
|
31
|
-
</a:dk2>
|
|
32
|
-
<a:lt2>
|
|
33
|
-
<a:srgbClr val="EEECE1"/>
|
|
34
|
-
</a:lt2>
|
|
35
|
-
<a:accent1>
|
|
36
|
-
<a:srgbClr val="4F81BD"/>
|
|
37
|
-
</a:accent1>
|
|
38
|
-
<a:accent2>
|
|
39
|
-
<a:srgbClr val="C0504D"/>
|
|
40
|
-
</a:accent2>
|
|
41
|
-
<a:accent3>
|
|
42
|
-
<a:srgbClr val="9BBB59"/>
|
|
43
|
-
</a:accent3>
|
|
44
|
-
<a:accent4>
|
|
45
|
-
<a:srgbClr val="8064A2"/>
|
|
46
|
-
</a:accent4>
|
|
47
|
-
<a:accent5>
|
|
48
|
-
<a:srgbClr val="4BACC6"/>
|
|
49
|
-
</a:accent5>
|
|
50
|
-
<a:accent6>
|
|
51
|
-
<a:srgbClr val="F79646"/>
|
|
52
|
-
</a:accent6>
|
|
53
|
-
<a:hlink>
|
|
54
|
-
<a:srgbClr val="0000FF"/>
|
|
55
|
-
</a:hlink>
|
|
56
|
-
<a:folHlink>
|
|
57
|
-
<a:srgbClr val="800080"/>
|
|
58
|
-
</a:folHlink>
|
|
59
|
-
</a:clrScheme>
|
|
60
|
-
<a:fontScheme name="Office">
|
|
61
|
-
<a:majorFont>
|
|
62
|
-
<a:latin typeface="Cambria"/>
|
|
63
|
-
<a:ea typeface=""/>
|
|
64
|
-
<a:cs typeface=""/>
|
|
65
|
-
<a:font script="Jpan" typeface="MS Pゴシック"/>
|
|
66
|
-
<a:font script="Hang" typeface="맑은 고딕"/>
|
|
67
|
-
<a:font script="Hans" typeface="宋体"/>
|
|
68
|
-
<a:font script="Hant" typeface="新細明體"/>
|
|
69
|
-
<a:font script="Arab" typeface="Times New Roman"/>
|
|
70
|
-
<a:font script="Hebr" typeface="Times New Roman"/>
|
|
71
|
-
<a:font script="Thai" typeface="Tahoma"/>
|
|
72
|
-
<a:font script="Ethi" typeface="Nyala"/>
|
|
73
|
-
<a:font script="Beng" typeface="Vrinda"/>
|
|
74
|
-
<a:font script="Gujr" typeface="Shruti"/>
|
|
75
|
-
<a:font script="Khmr" typeface="MoolBoran"/>
|
|
76
|
-
<a:font script="Knda" typeface="Tunga"/>
|
|
77
|
-
<a:font script="Guru" typeface="Raavi"/>
|
|
78
|
-
<a:font script="Cans" typeface="Euphemia"/>
|
|
79
|
-
<a:font script="Cher" typeface="Plantagenet Cherokee"/>
|
|
80
|
-
<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
|
|
81
|
-
<a:font script="Tibt" typeface="Microsoft Himalaya"/>
|
|
82
|
-
<a:font script="Thaa" typeface="MV Boli"/>
|
|
83
|
-
<a:font script="Deva" typeface="Mangal"/>
|
|
84
|
-
<a:font script="Telu" typeface="Gautami"/>
|
|
85
|
-
<a:font script="Taml" typeface="Latha"/>
|
|
86
|
-
<a:font script="Syrc" typeface="Estrangelo Edessa"/>
|
|
87
|
-
<a:font script="Orya" typeface="Kalinga"/>
|
|
88
|
-
<a:font script="Mlym" typeface="Kartika"/>
|
|
89
|
-
<a:font script="Laoo" typeface="DokChampa"/>
|
|
90
|
-
<a:font script="Sinh" typeface="Iskoola Pota"/>
|
|
91
|
-
<a:font script="Mong" typeface="Mongolian Baiti"/>
|
|
92
|
-
<a:font script="Viet" typeface="Times New Roman"/>
|
|
93
|
-
<a:font script="Uigh" typeface="Microsoft Uighur"/>
|
|
94
|
-
</a:majorFont>
|
|
95
|
-
<a:minorFont>
|
|
96
|
-
<a:latin typeface="Calibri"/>
|
|
97
|
-
<a:ea typeface=""/>
|
|
98
|
-
<a:cs typeface=""/>
|
|
99
|
-
<a:font script="Jpan" typeface="MS Pゴシック"/>
|
|
100
|
-
<a:font script="Hang" typeface="맑은 고딕"/>
|
|
101
|
-
<a:font script="Hans" typeface="宋体"/>
|
|
102
|
-
<a:font script="Hant" typeface="新細明體"/>
|
|
103
|
-
<a:font script="Arab" typeface="Arial"/>
|
|
104
|
-
<a:font script="Hebr" typeface="Arial"/>
|
|
105
|
-
<a:font script="Thai" typeface="Tahoma"/>
|
|
106
|
-
<a:font script="Ethi" typeface="Nyala"/>
|
|
107
|
-
<a:font script="Beng" typeface="Vrinda"/>
|
|
108
|
-
<a:font script="Gujr" typeface="Shruti"/>
|
|
109
|
-
<a:font script="Khmr" typeface="DaunPenh"/>
|
|
110
|
-
<a:font script="Knda" typeface="Tunga"/>
|
|
111
|
-
<a:font script="Guru" typeface="Raavi"/>
|
|
112
|
-
<a:font script="Cans" typeface="Euphemia"/>
|
|
113
|
-
<a:font script="Cher" typeface="Plantagenet Cherokee"/>
|
|
114
|
-
<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>
|
|
115
|
-
<a:font script="Tibt" typeface="Microsoft Himalaya"/>
|
|
116
|
-
<a:font script="Thaa" typeface="MV Boli"/>
|
|
117
|
-
<a:font script="Deva" typeface="Mangal"/>
|
|
118
|
-
<a:font script="Telu" typeface="Gautami"/>
|
|
119
|
-
<a:font script="Taml" typeface="Latha"/>
|
|
120
|
-
<a:font script="Syrc" typeface="Estrangelo Edessa"/>
|
|
121
|
-
<a:font script="Orya" typeface="Kalinga"/>
|
|
122
|
-
<a:font script="Mlym" typeface="Kartika"/>
|
|
123
|
-
<a:font script="Laoo" typeface="DokChampa"/>
|
|
124
|
-
<a:font script="Sinh" typeface="Iskoola Pota"/>
|
|
125
|
-
<a:font script="Mong" typeface="Mongolian Baiti"/>
|
|
126
|
-
<a:font script="Viet" typeface="Arial"/>
|
|
127
|
-
<a:font script="Uigh" typeface="Microsoft Uighur"/>
|
|
128
|
-
</a:minorFont>
|
|
129
|
-
</a:fontScheme>
|
|
130
|
-
<a:fmtScheme name="Office">
|
|
131
|
-
<a:fillStyleLst>
|
|
132
|
-
<a:solidFill>
|
|
133
|
-
<a:schemeClr val="phClr"/>
|
|
134
|
-
</a:solidFill>
|
|
135
|
-
<a:gradFill rotWithShape="1">
|
|
136
|
-
<a:gsLst>
|
|
137
|
-
<a:gs pos="0">
|
|
138
|
-
<a:schemeClr val="phClr">
|
|
139
|
-
<a:tint val="50000"/>
|
|
140
|
-
<a:satMod val="300000"/>
|
|
141
|
-
</a:schemeClr>
|
|
142
|
-
</a:gs>
|
|
143
|
-
<a:gs pos="35000">
|
|
144
|
-
<a:schemeClr val="phClr">
|
|
145
|
-
<a:tint val="37000"/>
|
|
146
|
-
<a:satMod val="300000"/>
|
|
147
|
-
</a:schemeClr>
|
|
148
|
-
</a:gs>
|
|
149
|
-
<a:gs pos="100000">
|
|
150
|
-
<a:schemeClr val="phClr">
|
|
151
|
-
<a:tint val="15000"/>
|
|
152
|
-
<a:satMod val="350000"/>
|
|
153
|
-
</a:schemeClr>
|
|
154
|
-
</a:gs>
|
|
155
|
-
</a:gsLst>
|
|
156
|
-
<a:lin ang="16200000" scaled="1"/>
|
|
157
|
-
</a:gradFill>
|
|
158
|
-
<a:gradFill rotWithShape="1">
|
|
159
|
-
<a:gsLst>
|
|
160
|
-
<a:gs pos="0">
|
|
161
|
-
<a:schemeClr val="phClr">
|
|
162
|
-
<a:tint val="100000"/>
|
|
163
|
-
<a:shade val="100000"/>
|
|
164
|
-
<a:satMod val="130000"/>
|
|
165
|
-
</a:schemeClr>
|
|
166
|
-
</a:gs>
|
|
167
|
-
<a:gs pos="100000">
|
|
168
|
-
<a:schemeClr val="phClr">
|
|
169
|
-
<a:tint val="50000"/>
|
|
170
|
-
<a:shade val="100000"/>
|
|
171
|
-
<a:satMod val="350000"/>
|
|
172
|
-
</a:schemeClr>
|
|
173
|
-
</a:gs>
|
|
174
|
-
</a:gsLst>
|
|
175
|
-
<a:lin ang="16200000" scaled="0"/>
|
|
176
|
-
</a:gradFill>
|
|
177
|
-
</a:fillStyleLst>
|
|
178
|
-
<a:lnStyleLst>
|
|
179
|
-
<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr">
|
|
180
|
-
<a:solidFill>
|
|
181
|
-
<a:schemeClr val="phClr">
|
|
182
|
-
<a:shade val="95000"/>
|
|
183
|
-
<a:satMod val="105000"/>
|
|
184
|
-
</a:schemeClr>
|
|
185
|
-
</a:solidFill>
|
|
186
|
-
<a:prstDash val="solid"/>
|
|
187
|
-
</a:ln>
|
|
188
|
-
<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr">
|
|
189
|
-
<a:solidFill>
|
|
190
|
-
<a:schemeClr val="phClr"/>
|
|
191
|
-
</a:solidFill>
|
|
192
|
-
<a:prstDash val="solid"/>
|
|
193
|
-
</a:ln>
|
|
194
|
-
<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr">
|
|
195
|
-
<a:solidFill>
|
|
196
|
-
<a:schemeClr val="phClr"/>
|
|
197
|
-
</a:solidFill>
|
|
198
|
-
<a:prstDash val="solid"/>
|
|
199
|
-
</a:ln>
|
|
200
|
-
</a:lnStyleLst>
|
|
201
|
-
<a:effectStyleLst>
|
|
202
|
-
<a:effectStyle>
|
|
203
|
-
<a:effectLst>
|
|
204
|
-
<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0">
|
|
205
|
-
<a:srgbClr val="000000">
|
|
206
|
-
<a:alpha val="38000"/>
|
|
207
|
-
</a:srgbClr>
|
|
208
|
-
</a:outerShdw>
|
|
209
|
-
</a:effectLst>
|
|
210
|
-
</a:effectStyle>
|
|
211
|
-
<a:effectStyle>
|
|
212
|
-
<a:effectLst>
|
|
213
|
-
<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
|
|
214
|
-
<a:srgbClr val="000000">
|
|
215
|
-
<a:alpha val="35000"/>
|
|
216
|
-
</a:srgbClr>
|
|
217
|
-
</a:outerShdw>
|
|
218
|
-
</a:effectLst>
|
|
219
|
-
</a:effectStyle>
|
|
220
|
-
<a:effectStyle>
|
|
221
|
-
<a:effectLst>
|
|
222
|
-
<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0">
|
|
223
|
-
<a:srgbClr val="000000">
|
|
224
|
-
<a:alpha val="35000"/>
|
|
225
|
-
</a:srgbClr>
|
|
226
|
-
</a:outerShdw>
|
|
227
|
-
</a:effectLst>
|
|
228
|
-
<a:scene3d>
|
|
229
|
-
<a:camera prst="orthographicFront">
|
|
230
|
-
<a:rot lat="0" lon="0" rev="0"/>
|
|
231
|
-
</a:camera>
|
|
232
|
-
<a:lightRig rig="threePt" dir="t">
|
|
233
|
-
<a:rot lat="0" lon="0" rev="1200000"/>
|
|
234
|
-
</a:lightRig>
|
|
235
|
-
</a:scene3d>
|
|
236
|
-
<a:sp3d>
|
|
237
|
-
<a:bevelT w="63500" h="25400"/>
|
|
238
|
-
</a:sp3d>
|
|
239
|
-
</a:effectStyle>
|
|
240
|
-
</a:effectStyleLst>
|
|
241
|
-
<a:bgFillStyleLst>
|
|
242
|
-
<a:solidFill>
|
|
243
|
-
<a:schemeClr val="phClr"/>
|
|
244
|
-
</a:solidFill>
|
|
245
|
-
<a:gradFill rotWithShape="1">
|
|
246
|
-
<a:gsLst>
|
|
247
|
-
<a:gs pos="0">
|
|
248
|
-
<a:schemeClr val="phClr">
|
|
249
|
-
<a:tint val="40000"/>
|
|
250
|
-
<a:satMod val="350000"/>
|
|
251
|
-
</a:schemeClr>
|
|
252
|
-
</a:gs>
|
|
253
|
-
<a:gs pos="40000">
|
|
254
|
-
<a:schemeClr val="phClr">
|
|
255
|
-
<a:tint val="45000"/>
|
|
256
|
-
<a:shade val="99000"/>
|
|
257
|
-
<a:satMod val="350000"/>
|
|
258
|
-
</a:schemeClr>
|
|
259
|
-
</a:gs>
|
|
260
|
-
<a:gs pos="100000">
|
|
261
|
-
<a:schemeClr val="phClr">
|
|
262
|
-
<a:shade val="20000"/>
|
|
263
|
-
<a:satMod val="255000"/>
|
|
264
|
-
</a:schemeClr>
|
|
265
|
-
</a:gs>
|
|
266
|
-
</a:gsLst>
|
|
267
|
-
<a:path path="circle">
|
|
268
|
-
<a:fillToRect l="50000" t="-80000" r="50000" b="180000"/>
|
|
269
|
-
</a:path>
|
|
270
|
-
</a:gradFill>
|
|
271
|
-
<a:gradFill rotWithShape="1">
|
|
272
|
-
<a:gsLst>
|
|
273
|
-
<a:gs pos="0">
|
|
274
|
-
<a:schemeClr val="phClr">
|
|
275
|
-
<a:tint val="80000"/>
|
|
276
|
-
<a:satMod val="300000"/>
|
|
277
|
-
</a:schemeClr>
|
|
278
|
-
</a:gs>
|
|
279
|
-
<a:gs pos="100000">
|
|
280
|
-
<a:schemeClr val="phClr">
|
|
281
|
-
<a:shade val="30000"/>
|
|
282
|
-
<a:satMod val="200000"/>
|
|
283
|
-
</a:schemeClr>
|
|
284
|
-
</a:gs>
|
|
285
|
-
</a:gsLst>
|
|
286
|
-
<a:path path="circle">
|
|
287
|
-
<a:fillToRect l="50000" t="50000" r="50000" b="50000"/>
|
|
288
|
-
</a:path>
|
|
289
|
-
</a:gradFill>
|
|
290
|
-
</a:bgFillStyleLst>
|
|
291
|
-
</a:fmtScheme>
|
|
292
|
-
</a:themeElements>
|
|
293
|
-
<a:objectDefaults>
|
|
294
|
-
<a:spDef>
|
|
295
|
-
<a:spPr/>
|
|
296
|
-
<a:bodyPr/>
|
|
297
|
-
<a:lstStyle/>
|
|
298
|
-
<a:style>
|
|
299
|
-
<a:lnRef idx="1">
|
|
300
|
-
<a:schemeClr val="accent1"/>
|
|
301
|
-
</a:lnRef>
|
|
302
|
-
<a:fillRef idx="3">
|
|
303
|
-
<a:schemeClr val="accent1"/>
|
|
304
|
-
</a:fillRef>
|
|
305
|
-
<a:effectRef idx="2">
|
|
306
|
-
<a:schemeClr val="accent1"/>
|
|
307
|
-
</a:effectRef>
|
|
308
|
-
<a:fontRef idx="minor">
|
|
309
|
-
<a:schemeClr val="lt1"/>
|
|
310
|
-
</a:fontRef>
|
|
311
|
-
</a:style>
|
|
312
|
-
</a:spDef>
|
|
313
|
-
<a:lnDef>
|
|
314
|
-
<a:spPr/>
|
|
315
|
-
<a:bodyPr/>
|
|
316
|
-
<a:lstStyle/>
|
|
317
|
-
<a:style>
|
|
318
|
-
<a:lnRef idx="2">
|
|
319
|
-
<a:schemeClr val="accent1"/>
|
|
320
|
-
</a:lnRef>
|
|
321
|
-
<a:fillRef idx="0">
|
|
322
|
-
<a:schemeClr val="accent1"/>
|
|
323
|
-
</a:fillRef>
|
|
324
|
-
<a:effectRef idx="1">
|
|
325
|
-
<a:schemeClr val="accent1"/>
|
|
326
|
-
</a:effectRef>
|
|
327
|
-
<a:fontRef idx="minor">
|
|
328
|
-
<a:schemeClr val="tx1"/>
|
|
329
|
-
</a:fontRef>
|
|
330
|
-
</a:style>
|
|
331
|
-
</a:lnDef>
|
|
332
|
-
</a:objectDefaults>
|
|
333
|
-
<a:extraClrSchemeLst/>
|
|
334
|
-
</a:theme>'
|
|
335
|
-
|
|
336
|
-
# file = File.new(@filepath, 'w+')
|
|
337
|
-
# file.write(contents)
|
|
338
|
-
# file.close
|
|
339
332
|
contents
|
|
340
333
|
end
|
|
334
|
+
|
|
341
335
|
end
|
|
342
336
|
end
|
|
343
337
|
end
|