axlsx 1.0.0

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.
Files changed (179) hide show
  1. data/Rakefile +13 -0
  2. data/lib/axlsx.rb +38 -0
  3. data/lib/axlsx/content_type/content_type.rb +23 -0
  4. data/lib/axlsx/content_type/default.rb +32 -0
  5. data/lib/axlsx/content_type/override.rb +30 -0
  6. data/lib/axlsx/doc_props/app.rb +148 -0
  7. data/lib/axlsx/doc_props/core.rb +34 -0
  8. data/lib/axlsx/drawing/axis.rb +78 -0
  9. data/lib/axlsx/drawing/bar_3D_chart.rb +138 -0
  10. data/lib/axlsx/drawing/bar_series.rb +91 -0
  11. data/lib/axlsx/drawing/cat_axis.rb +58 -0
  12. data/lib/axlsx/drawing/chart.rb +120 -0
  13. data/lib/axlsx/drawing/drawing.rb +121 -0
  14. data/lib/axlsx/drawing/graphic_frame.rb +55 -0
  15. data/lib/axlsx/drawing/marker.rb +57 -0
  16. data/lib/axlsx/drawing/pie_3D_chart.rb +59 -0
  17. data/lib/axlsx/drawing/pie_series.rb +88 -0
  18. data/lib/axlsx/drawing/scaling.rb +53 -0
  19. data/lib/axlsx/drawing/series.rb +70 -0
  20. data/lib/axlsx/drawing/title.rb +69 -0
  21. data/lib/axlsx/drawing/two_cell_anchor.rb +88 -0
  22. data/lib/axlsx/drawing/val_axis.rb +34 -0
  23. data/lib/axlsx/drawing/view_3D.rb +72 -0
  24. data/lib/axlsx/package.rb +181 -0
  25. data/lib/axlsx/rels/relationship.rb +43 -0
  26. data/lib/axlsx/rels/relationships.rb +25 -0
  27. data/lib/axlsx/stylesheet/border.rb +52 -0
  28. data/lib/axlsx/stylesheet/border_pr.rb +65 -0
  29. data/lib/axlsx/stylesheet/cell_alignment.rb +96 -0
  30. data/lib/axlsx/stylesheet/cell_protection.rb +33 -0
  31. data/lib/axlsx/stylesheet/cell_style.rb +60 -0
  32. data/lib/axlsx/stylesheet/color.rb +57 -0
  33. data/lib/axlsx/stylesheet/fill.rb +31 -0
  34. data/lib/axlsx/stylesheet/font.rb +128 -0
  35. data/lib/axlsx/stylesheet/gradient_fill.rb +70 -0
  36. data/lib/axlsx/stylesheet/gradient_stop.rb +31 -0
  37. data/lib/axlsx/stylesheet/num_fmt.rb +61 -0
  38. data/lib/axlsx/stylesheet/pattern_fill.rb +64 -0
  39. data/lib/axlsx/stylesheet/styles.rb +296 -0
  40. data/lib/axlsx/stylesheet/table_style.rb +44 -0
  41. data/lib/axlsx/stylesheet/table_style_element.rb +66 -0
  42. data/lib/axlsx/stylesheet/table_styles.rb +39 -0
  43. data/lib/axlsx/stylesheet/xf.rb +117 -0
  44. data/lib/axlsx/util/constants.rb +189 -0
  45. data/lib/axlsx/util/simple_typed_list.rb +150 -0
  46. data/lib/axlsx/util/validators.rb +132 -0
  47. data/lib/axlsx/workbook/workbook.rb +130 -0
  48. data/lib/axlsx/workbook/worksheet/cell.rb +184 -0
  49. data/lib/axlsx/workbook/worksheet/row.rb +92 -0
  50. data/lib/axlsx/workbook/worksheet/worksheet.rb +194 -0
  51. data/lib/schema/dc.xsd +118 -0
  52. data/lib/schema/dcmitype.xsd +50 -0
  53. data/lib/schema/dcterms.xsd +331 -0
  54. data/lib/schema/dml-chart.xsd +1499 -0
  55. data/lib/schema/dml-chartDrawing.xsd +146 -0
  56. data/lib/schema/dml-compatibility.xsd +14 -0
  57. data/lib/schema/dml-diagram.xsd +1091 -0
  58. data/lib/schema/dml-lockedCanvas.xsd +11 -0
  59. data/lib/schema/dml-main.xsd +3048 -0
  60. data/lib/schema/dml-picture.xsd +23 -0
  61. data/lib/schema/dml-spreadsheetDrawing.xsd +185 -0
  62. data/lib/schema/dml-wordprocessingDrawing.xsd +185 -0
  63. data/lib/schema/opc-contentTypes.xsd +42 -0
  64. data/lib/schema/opc-coreProperties.xsd +50 -0
  65. data/lib/schema/opc-digSig.xsd +49 -0
  66. data/lib/schema/opc-relationships.xsd +33 -0
  67. data/lib/schema/pml.xsd +1676 -0
  68. data/lib/schema/shared-additionalCharacteristics.xsd +28 -0
  69. data/lib/schema/shared-bibliography.xsd +144 -0
  70. data/lib/schema/shared-commonSimpleTypes.xsd +166 -0
  71. data/lib/schema/shared-customXmlDataProperties.xsd +25 -0
  72. data/lib/schema/shared-customXmlSchemaProperties.xsd +18 -0
  73. data/lib/schema/shared-documentPropertiesCustom.xsd +59 -0
  74. data/lib/schema/shared-documentPropertiesExtended.xsd +56 -0
  75. data/lib/schema/shared-documentPropertiesVariantTypes.xsd +195 -0
  76. data/lib/schema/shared-math.xsd +582 -0
  77. data/lib/schema/shared-relationshipReference.xsd +25 -0
  78. data/lib/schema/sml.xsd +4430 -0
  79. data/lib/schema/vml-main.xsd +569 -0
  80. data/lib/schema/vml-officeDrawing.xsd +509 -0
  81. data/lib/schema/vml-presentationDrawing.xsd +12 -0
  82. data/lib/schema/vml-spreadsheetDrawing.xsd +108 -0
  83. data/lib/schema/vml-wordprocessingDrawing.xsd +96 -0
  84. data/lib/schema/wml.xsd +3644 -0
  85. data/lib/schema/xml.xsd +117 -0
  86. data/test/content_type/tc_content_type.rb +81 -0
  87. data/test/content_type/tc_content_type.rb~ +81 -0
  88. data/test/content_type/tc_default.rb +40 -0
  89. data/test/content_type/tc_default.rb~ +40 -0
  90. data/test/content_type/tc_override.rb +40 -0
  91. data/test/content_type/tc_override.rb~ +40 -0
  92. data/test/doc_props/tc_app.rb +19 -0
  93. data/test/doc_props/tc_app.rb~ +19 -0
  94. data/test/doc_props/tc_core.rb +34 -0
  95. data/test/drawing/tc_axis.rb +39 -0
  96. data/test/drawing/tc_axis.rb~ +0 -0
  97. data/test/drawing/tc_bar_3D_chart.rb +66 -0
  98. data/test/drawing/tc_bar_3D_chart.rb~ +4 -0
  99. data/test/drawing/tc_bar_series.rb +34 -0
  100. data/test/drawing/tc_bar_series.rb~ +31 -0
  101. data/test/drawing/tc_cat_axis.rb +32 -0
  102. data/test/drawing/tc_cat_axis.rb~ +39 -0
  103. data/test/drawing/tc_chart.rb +59 -0
  104. data/test/drawing/tc_chart.rb~ +58 -0
  105. data/test/drawing/tc_drawing.rb +71 -0
  106. data/test/drawing/tc_graphic_frame.rb +26 -0
  107. data/test/drawing/tc_graphic_frame.rb~ +21 -0
  108. data/test/drawing/tc_marker.rb +45 -0
  109. data/test/drawing/tc_marker.rb~ +26 -0
  110. data/test/drawing/tc_pie_3D_chart.rb +33 -0
  111. data/test/drawing/tc_pie_3D_chart.rb~ +58 -0
  112. data/test/drawing/tc_pie_series.rb +35 -0
  113. data/test/drawing/tc_pie_series.rb~ +26 -0
  114. data/test/drawing/tc_scaling.rb +37 -0
  115. data/test/drawing/tc_scaling.rb~ +45 -0
  116. data/test/drawing/tc_series.rb +24 -0
  117. data/test/drawing/tc_series.rb~ +31 -0
  118. data/test/drawing/tc_title.rb +34 -0
  119. data/test/drawing/tc_title.rb~ +37 -0
  120. data/test/drawing/tc_two_cell_anchor.rb +37 -0
  121. data/test/drawing/tc_two_cell_anchor.rb~ +35 -0
  122. data/test/drawing/tc_val_axis.rb +20 -0
  123. data/test/drawing/tc_val_axis.rb~ +32 -0
  124. data/test/drawing/tc_view_3D.rb +46 -0
  125. data/test/drawing/tc_view_3D.rb~ +37 -0
  126. data/test/rels/tc_relationship.rb +16 -0
  127. data/test/rels/tc_relationship.rb~ +39 -0
  128. data/test/rels/tc_relationships.rb +32 -0
  129. data/test/rels/tc_relationships.rb~ +37 -0
  130. data/test/stylesheet/tc_border.rb +38 -0
  131. data/test/stylesheet/tc_border.rb~ +31 -0
  132. data/test/stylesheet/tc_border_pr.rb +33 -0
  133. data/test/stylesheet/tc_border_pr.rb~ +31 -0
  134. data/test/stylesheet/tc_cell_alignment.rb +77 -0
  135. data/test/stylesheet/tc_cell_alignment.rb~ +38 -0
  136. data/test/stylesheet/tc_cell_protection.rb +30 -0
  137. data/test/stylesheet/tc_cell_protection.rb~ +77 -0
  138. data/test/stylesheet/tc_cell_style.rb +58 -0
  139. data/test/stylesheet/tc_cell_style.rb~ +30 -0
  140. data/test/stylesheet/tc_color.rb +38 -0
  141. data/test/stylesheet/tc_color.rb~ +38 -0
  142. data/test/stylesheet/tc_fill.rb +19 -0
  143. data/test/stylesheet/tc_fill.rb~ +19 -0
  144. data/test/stylesheet/tc_font.rb +114 -0
  145. data/test/stylesheet/tc_font.rb~ +19 -0
  146. data/test/stylesheet/tc_gradient_fill.rb +65 -0
  147. data/test/stylesheet/tc_gradient_fill.rb~ +114 -0
  148. data/test/stylesheet/tc_gradient_stop.rb +32 -0
  149. data/test/stylesheet/tc_gradient_stop.rb~ +65 -0
  150. data/test/stylesheet/tc_num_fmt.rb +31 -0
  151. data/test/stylesheet/tc_num_fmt.rb~ +32 -0
  152. data/test/stylesheet/tc_pattern_fill.rb +38 -0
  153. data/test/stylesheet/tc_pattern_fill.rb~ +31 -0
  154. data/test/stylesheet/tc_styles.rb +64 -0
  155. data/test/stylesheet/tc_table_style.rb +37 -0
  156. data/test/stylesheet/tc_table_style.rb~ +38 -0
  157. data/test/stylesheet/tc_table_style_element.rb +37 -0
  158. data/test/stylesheet/tc_table_style_element.rb~ +37 -0
  159. data/test/stylesheet/tc_table_styles.rb +30 -0
  160. data/test/stylesheet/tc_table_styles.rb~ +37 -0
  161. data/test/stylesheet/tc_xf.rb +121 -0
  162. data/test/stylesheet/tc_xf.rb~ +30 -0
  163. data/test/tc_app.rb~ +19 -0
  164. data/test/tc_border_pr.rb~ +21 -0
  165. data/test/tc_package.rb +70 -0
  166. data/test/tc_package.rb~ +64 -0
  167. data/test/tc_pie_3D_chart.rb~ +66 -0
  168. data/test/tc_relationships.rb~ +37 -0
  169. data/test/tc_series.rb~ +31 -0
  170. data/test/tc_styles.rb~ +64 -0
  171. data/test/tc_validators.rb~ +77 -0
  172. data/test/tc_worksheet.rb~ +85 -0
  173. data/test/util/tc_simple_typed_list.rb +66 -0
  174. data/test/util/tc_validators.rb +76 -0
  175. data/test/workbook/tc_workbook.rb +53 -0
  176. data/test/workbook/worksheet/tc_cell.rb +78 -0
  177. data/test/workbook/worksheet/tc_row.rb +30 -0
  178. data/test/workbook/worksheet/tc_worksheet.rb +85 -0
  179. metadata +378 -0
@@ -0,0 +1,569 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:vml"
3
+ xmlns:pvml="urn:schemas-microsoft-com:office:powerpoint"
4
+ xmlns:o="urn:schemas-microsoft-com:office:office"
5
+ xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
6
+ xmlns:w10="urn:schemas-microsoft-com:office:word"
7
+ xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
8
+ xmlns:x="urn:schemas-microsoft-com:office:excel"
9
+ xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
10
+ targetNamespace="urn:schemas-microsoft-com:vml" elementFormDefault="qualified"
11
+ attributeFormDefault="unqualified">
12
+ <xsd:import namespace="urn:schemas-microsoft-com:office:office"
13
+ schemaLocation="vml-officeDrawing.xsd"/>
14
+ <xsd:import namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
15
+ schemaLocation="wml.xsd"/>
16
+ <xsd:import namespace="urn:schemas-microsoft-com:office:word"
17
+ schemaLocation="vml-wordprocessingDrawing.xsd"/>
18
+ <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
19
+ schemaLocation="shared-relationshipReference.xsd"/>
20
+ <xsd:import namespace="urn:schemas-microsoft-com:office:excel"
21
+ schemaLocation="vml-spreadsheetDrawing.xsd"/>
22
+ <xsd:import namespace="urn:schemas-microsoft-com:office:powerpoint"
23
+ schemaLocation="vml-presentationDrawing.xsd"/>
24
+ <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
25
+ schemaLocation="shared-commonSimpleTypes.xsd"/>
26
+ <xsd:attributeGroup name="AG_Id">
27
+ <xsd:attribute name="id" type="xsd:string" use="optional"/>
28
+ </xsd:attributeGroup>
29
+ <xsd:attributeGroup name="AG_Style">
30
+ <xsd:attribute name="style" type="xsd:string" use="optional"/>
31
+ </xsd:attributeGroup>
32
+ <xsd:attributeGroup name="AG_Type">
33
+ <xsd:attribute name="type" type="xsd:string" use="optional"/>
34
+ </xsd:attributeGroup>
35
+ <xsd:attributeGroup name="AG_Adj">
36
+ <xsd:attribute name="adj" type="xsd:string" use="optional"/>
37
+ </xsd:attributeGroup>
38
+ <xsd:attributeGroup name="AG_Path">
39
+ <xsd:attribute name="path" type="xsd:string" use="optional"/>
40
+ </xsd:attributeGroup>
41
+ <xsd:attributeGroup name="AG_Fill">
42
+ <xsd:attribute name="filled" type="s:ST_TrueFalse" use="optional"/>
43
+ <xsd:attribute name="fillcolor" type="s:ST_ColorType" use="optional"/>
44
+ </xsd:attributeGroup>
45
+ <xsd:attributeGroup name="AG_Chromakey">
46
+ <xsd:attribute name="chromakey" type="s:ST_ColorType" use="optional"/>
47
+ </xsd:attributeGroup>
48
+ <xsd:attributeGroup name="AG_Ext">
49
+ <xsd:attribute name="ext" form="qualified" type="ST_Ext"/>
50
+ </xsd:attributeGroup>
51
+ <xsd:attributeGroup name="AG_CoreAttributes">
52
+ <xsd:attributeGroup ref="AG_Id"/>
53
+ <xsd:attributeGroup ref="AG_Style"/>
54
+ <xsd:attribute name="href" type="xsd:string" use="optional"/>
55
+ <xsd:attribute name="target" type="xsd:string" use="optional"/>
56
+ <xsd:attribute name="class" type="xsd:string" use="optional"/>
57
+ <xsd:attribute name="title" type="xsd:string" use="optional"/>
58
+ <xsd:attribute name="alt" type="xsd:string" use="optional"/>
59
+ <xsd:attribute name="coordsize" type="xsd:string" use="optional"/>
60
+ <xsd:attribute name="coordorigin" type="xsd:string" use="optional"/>
61
+ <xsd:attribute name="wrapcoords" type="xsd:string" use="optional"/>
62
+ <xsd:attribute name="print" type="s:ST_TrueFalse" use="optional"/>
63
+ </xsd:attributeGroup>
64
+ <xsd:attributeGroup name="AG_ShapeAttributes">
65
+ <xsd:attributeGroup ref="AG_Chromakey"/>
66
+ <xsd:attributeGroup ref="AG_Fill"/>
67
+ <xsd:attribute name="opacity" type="xsd:string" use="optional"/>
68
+ <xsd:attribute name="stroked" type="s:ST_TrueFalse" use="optional"/>
69
+ <xsd:attribute name="strokecolor" type="s:ST_ColorType" use="optional"/>
70
+ <xsd:attribute name="strokeweight" type="xsd:string" use="optional"/>
71
+ <xsd:attribute name="insetpen" type="s:ST_TrueFalse" use="optional"/>
72
+ </xsd:attributeGroup>
73
+ <xsd:attributeGroup name="AG_OfficeCoreAttributes">
74
+ <xsd:attribute ref="o:spid"/>
75
+ <xsd:attribute ref="o:oned"/>
76
+ <xsd:attribute ref="o:regroupid"/>
77
+ <xsd:attribute ref="o:doubleclicknotify"/>
78
+ <xsd:attribute ref="o:button"/>
79
+ <xsd:attribute ref="o:userhidden"/>
80
+ <xsd:attribute ref="o:bullet"/>
81
+ <xsd:attribute ref="o:hr"/>
82
+ <xsd:attribute ref="o:hrstd"/>
83
+ <xsd:attribute ref="o:hrnoshade"/>
84
+ <xsd:attribute ref="o:hrpct"/>
85
+ <xsd:attribute ref="o:hralign"/>
86
+ <xsd:attribute ref="o:allowincell"/>
87
+ <xsd:attribute ref="o:allowoverlap"/>
88
+ <xsd:attribute ref="o:userdrawn"/>
89
+ <xsd:attribute ref="o:bordertopcolor"/>
90
+ <xsd:attribute ref="o:borderleftcolor"/>
91
+ <xsd:attribute ref="o:borderbottomcolor"/>
92
+ <xsd:attribute ref="o:borderrightcolor"/>
93
+ <xsd:attribute ref="o:dgmlayout"/>
94
+ <xsd:attribute ref="o:dgmnodekind"/>
95
+ <xsd:attribute ref="o:dgmlayoutmru"/>
96
+ <xsd:attribute ref="o:insetmode"/>
97
+ </xsd:attributeGroup>
98
+ <xsd:attributeGroup name="AG_OfficeShapeAttributes">
99
+ <xsd:attribute ref="o:spt"/>
100
+ <xsd:attribute ref="o:connectortype"/>
101
+ <xsd:attribute ref="o:bwmode"/>
102
+ <xsd:attribute ref="o:bwpure"/>
103
+ <xsd:attribute ref="o:bwnormal"/>
104
+ <xsd:attribute ref="o:forcedash"/>
105
+ <xsd:attribute ref="o:oleicon"/>
106
+ <xsd:attribute ref="o:ole"/>
107
+ <xsd:attribute ref="o:preferrelative"/>
108
+ <xsd:attribute ref="o:cliptowrap"/>
109
+ <xsd:attribute ref="o:clip"/>
110
+ </xsd:attributeGroup>
111
+ <xsd:attributeGroup name="AG_AllCoreAttributes">
112
+ <xsd:attributeGroup ref="AG_CoreAttributes"/>
113
+ <xsd:attributeGroup ref="AG_OfficeCoreAttributes"/>
114
+ </xsd:attributeGroup>
115
+ <xsd:attributeGroup name="AG_AllShapeAttributes">
116
+ <xsd:attributeGroup ref="AG_ShapeAttributes"/>
117
+ <xsd:attributeGroup ref="AG_OfficeShapeAttributes"/>
118
+ </xsd:attributeGroup>
119
+ <xsd:attributeGroup name="AG_ImageAttributes">
120
+ <xsd:attribute name="src" type="xsd:string" use="optional"/>
121
+ <xsd:attribute name="cropleft" type="xsd:string" use="optional"/>
122
+ <xsd:attribute name="croptop" type="xsd:string" use="optional"/>
123
+ <xsd:attribute name="cropright" type="xsd:string" use="optional"/>
124
+ <xsd:attribute name="cropbottom" type="xsd:string" use="optional"/>
125
+ <xsd:attribute name="gain" type="xsd:string" use="optional"/>
126
+ <xsd:attribute name="blacklevel" type="xsd:string" use="optional"/>
127
+ <xsd:attribute name="gamma" type="xsd:string" use="optional"/>
128
+ <xsd:attribute name="grayscale" type="s:ST_TrueFalse" use="optional"/>
129
+ <xsd:attribute name="bilevel" type="s:ST_TrueFalse" use="optional"/>
130
+ </xsd:attributeGroup>
131
+ <xsd:attributeGroup name="AG_StrokeAttributes">
132
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
133
+ <xsd:attribute name="weight" type="xsd:string" use="optional"/>
134
+ <xsd:attribute name="color" type="s:ST_ColorType" use="optional"/>
135
+ <xsd:attribute name="opacity" type="xsd:string" use="optional"/>
136
+ <xsd:attribute name="linestyle" type="ST_StrokeLineStyle" use="optional"/>
137
+ <xsd:attribute name="miterlimit" type="xsd:decimal" use="optional"/>
138
+ <xsd:attribute name="joinstyle" type="ST_StrokeJoinStyle" use="optional"/>
139
+ <xsd:attribute name="endcap" type="ST_StrokeEndCap" use="optional"/>
140
+ <xsd:attribute name="dashstyle" type="xsd:string" use="optional"/>
141
+ <xsd:attribute name="filltype" type="ST_FillType" use="optional"/>
142
+ <xsd:attribute name="src" type="xsd:string" use="optional"/>
143
+ <xsd:attribute name="imageaspect" type="ST_ImageAspect" use="optional"/>
144
+ <xsd:attribute name="imagesize" type="xsd:string" use="optional"/>
145
+ <xsd:attribute name="imagealignshape" type="s:ST_TrueFalse" use="optional"/>
146
+ <xsd:attribute name="color2" type="s:ST_ColorType" use="optional"/>
147
+ <xsd:attribute name="startarrow" type="ST_StrokeArrowType" use="optional"/>
148
+ <xsd:attribute name="startarrowwidth" type="ST_StrokeArrowWidth" use="optional"/>
149
+ <xsd:attribute name="startarrowlength" type="ST_StrokeArrowLength" use="optional"/>
150
+ <xsd:attribute name="endarrow" type="ST_StrokeArrowType" use="optional"/>
151
+ <xsd:attribute name="endarrowwidth" type="ST_StrokeArrowWidth" use="optional"/>
152
+ <xsd:attribute name="endarrowlength" type="ST_StrokeArrowLength" use="optional"/>
153
+ <xsd:attribute ref="o:href"/>
154
+ <xsd:attribute ref="o:althref"/>
155
+ <xsd:attribute ref="o:title"/>
156
+ <xsd:attribute ref="o:forcedash"/>
157
+ <xsd:attribute ref="r:id" use="optional"/>
158
+ <xsd:attribute name="insetpen" type="s:ST_TrueFalse" use="optional"/>
159
+ <xsd:attribute ref="o:relid"/>
160
+ </xsd:attributeGroup>
161
+ <xsd:group name="EG_ShapeElements">
162
+ <xsd:choice>
163
+ <xsd:element ref="path"/>
164
+ <xsd:element ref="formulas"/>
165
+ <xsd:element ref="handles"/>
166
+ <xsd:element ref="fill"/>
167
+ <xsd:element ref="stroke"/>
168
+ <xsd:element ref="shadow"/>
169
+ <xsd:element ref="textbox"/>
170
+ <xsd:element ref="textpath"/>
171
+ <xsd:element ref="imagedata"/>
172
+ <xsd:element ref="o:skew"/>
173
+ <xsd:element ref="o:extrusion"/>
174
+ <xsd:element ref="o:callout"/>
175
+ <xsd:element ref="o:lock"/>
176
+ <xsd:element ref="o:clippath"/>
177
+ <xsd:element ref="o:signatureline"/>
178
+ <xsd:element ref="w10:wrap"/>
179
+ <xsd:element ref="w10:anchorlock"/>
180
+ <xsd:element ref="w10:bordertop"/>
181
+ <xsd:element ref="w10:borderbottom"/>
182
+ <xsd:element ref="w10:borderleft"/>
183
+ <xsd:element ref="w10:borderright"/>
184
+ <xsd:element ref="x:ClientData" minOccurs="0"/>
185
+ <xsd:element ref="pvml:textdata" minOccurs="0"/>
186
+ </xsd:choice>
187
+ </xsd:group>
188
+ <xsd:element name="shape" type="CT_Shape"/>
189
+ <xsd:element name="shapetype" type="CT_Shapetype"/>
190
+ <xsd:element name="group" type="CT_Group"/>
191
+ <xsd:element name="background" type="CT_Background"/>
192
+ <xsd:complexType name="CT_Shape">
193
+ <xsd:choice maxOccurs="unbounded">
194
+ <xsd:group ref="EG_ShapeElements"/>
195
+ <xsd:element ref="o:ink"/>
196
+ <xsd:element ref="pvml:iscomment"/>
197
+ <xsd:element ref="o:equationxml"/>
198
+ </xsd:choice>
199
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
200
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
201
+ <xsd:attributeGroup ref="AG_Type"/>
202
+ <xsd:attributeGroup ref="AG_Adj"/>
203
+ <xsd:attributeGroup ref="AG_Path"/>
204
+ <xsd:attribute ref="o:gfxdata"/>
205
+ <xsd:attribute name="equationxml" type="xsd:string" use="optional"/>
206
+ </xsd:complexType>
207
+ <xsd:complexType name="CT_Shapetype">
208
+ <xsd:sequence>
209
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
210
+ <xsd:element ref="o:complex" minOccurs="0"/>
211
+ </xsd:sequence>
212
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
213
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
214
+ <xsd:attributeGroup ref="AG_Adj"/>
215
+ <xsd:attributeGroup ref="AG_Path"/>
216
+ <xsd:attribute ref="o:master"/>
217
+ </xsd:complexType>
218
+ <xsd:complexType name="CT_Group">
219
+ <xsd:choice maxOccurs="unbounded">
220
+ <xsd:group ref="EG_ShapeElements"/>
221
+ <xsd:element ref="group"/>
222
+ <xsd:element ref="shape"/>
223
+ <xsd:element ref="shapetype"/>
224
+ <xsd:element ref="arc"/>
225
+ <xsd:element ref="curve"/>
226
+ <xsd:element ref="image"/>
227
+ <xsd:element ref="line"/>
228
+ <xsd:element ref="oval"/>
229
+ <xsd:element ref="polyline"/>
230
+ <xsd:element ref="rect"/>
231
+ <xsd:element ref="roundrect"/>
232
+ <xsd:element ref="o:diagram"/>
233
+ </xsd:choice>
234
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
235
+ <xsd:attributeGroup ref="AG_Fill"/>
236
+ <xsd:attribute name="editas" type="ST_EditAs" use="optional"/>
237
+ <xsd:attribute ref="o:tableproperties"/>
238
+ <xsd:attribute ref="o:tablelimits"/>
239
+ </xsd:complexType>
240
+ <xsd:complexType name="CT_Background">
241
+ <xsd:sequence>
242
+ <xsd:element ref="fill" minOccurs="0"/>
243
+ </xsd:sequence>
244
+ <xsd:attributeGroup ref="AG_Id"/>
245
+ <xsd:attributeGroup ref="AG_Fill"/>
246
+ <xsd:attribute ref="o:bwmode"/>
247
+ <xsd:attribute ref="o:bwpure"/>
248
+ <xsd:attribute ref="o:bwnormal"/>
249
+ <xsd:attribute ref="o:targetscreensize"/>
250
+ </xsd:complexType>
251
+ <xsd:element name="fill" type="CT_Fill"/>
252
+ <xsd:element name="formulas" type="CT_Formulas"/>
253
+ <xsd:element name="handles" type="CT_Handles"/>
254
+ <xsd:element name="imagedata" type="CT_ImageData"/>
255
+ <xsd:element name="path" type="CT_Path"/>
256
+ <xsd:element name="textbox" type="CT_Textbox"/>
257
+ <xsd:element name="shadow" type="CT_Shadow"/>
258
+ <xsd:element name="stroke" type="CT_Stroke"/>
259
+ <xsd:element name="textpath" type="CT_TextPath"/>
260
+ <xsd:complexType name="CT_Fill">
261
+ <xsd:sequence>
262
+ <xsd:element ref="o:fill" minOccurs="0"/>
263
+ </xsd:sequence>
264
+ <xsd:attributeGroup ref="AG_Id"/>
265
+ <xsd:attribute name="type" type="ST_FillType" use="optional"/>
266
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
267
+ <xsd:attribute name="color" type="s:ST_ColorType" use="optional"/>
268
+ <xsd:attribute name="opacity" type="xsd:string" use="optional"/>
269
+ <xsd:attribute name="color2" type="s:ST_ColorType" use="optional"/>
270
+ <xsd:attribute name="src" type="xsd:string" use="optional"/>
271
+ <xsd:attribute ref="o:href"/>
272
+ <xsd:attribute ref="o:althref"/>
273
+ <xsd:attribute name="size" type="xsd:string" use="optional"/>
274
+ <xsd:attribute name="origin" type="xsd:string" use="optional"/>
275
+ <xsd:attribute name="position" type="xsd:string" use="optional"/>
276
+ <xsd:attribute name="aspect" type="ST_ImageAspect" use="optional"/>
277
+ <xsd:attribute name="colors" type="xsd:string" use="optional"/>
278
+ <xsd:attribute name="angle" type="xsd:decimal" use="optional"/>
279
+ <xsd:attribute name="alignshape" type="s:ST_TrueFalse" use="optional"/>
280
+ <xsd:attribute name="focus" type="xsd:string" use="optional"/>
281
+ <xsd:attribute name="focussize" type="xsd:string" use="optional"/>
282
+ <xsd:attribute name="focusposition" type="xsd:string" use="optional"/>
283
+ <xsd:attribute name="method" type="ST_FillMethod" use="optional"/>
284
+ <xsd:attribute ref="o:detectmouseclick"/>
285
+ <xsd:attribute ref="o:title"/>
286
+ <xsd:attribute ref="o:opacity2"/>
287
+ <xsd:attribute name="recolor" type="s:ST_TrueFalse" use="optional"/>
288
+ <xsd:attribute name="rotate" type="s:ST_TrueFalse" use="optional"/>
289
+ <xsd:attribute ref="r:id" use="optional"/>
290
+ <xsd:attribute ref="o:relid" use="optional"/>
291
+ </xsd:complexType>
292
+ <xsd:complexType name="CT_Formulas">
293
+ <xsd:sequence>
294
+ <xsd:element name="f" type="CT_F" minOccurs="0" maxOccurs="unbounded"/>
295
+ </xsd:sequence>
296
+ </xsd:complexType>
297
+ <xsd:complexType name="CT_F">
298
+ <xsd:attribute name="eqn" type="xsd:string"/>
299
+ </xsd:complexType>
300
+ <xsd:complexType name="CT_Handles">
301
+ <xsd:sequence>
302
+ <xsd:element name="h" type="CT_H" minOccurs="0" maxOccurs="unbounded"/>
303
+ </xsd:sequence>
304
+ </xsd:complexType>
305
+ <xsd:complexType name="CT_H">
306
+ <xsd:attribute name="position" type="xsd:string"/>
307
+ <xsd:attribute name="polar" type="xsd:string"/>
308
+ <xsd:attribute name="map" type="xsd:string"/>
309
+ <xsd:attribute name="invx" type="s:ST_TrueFalse"/>
310
+ <xsd:attribute name="invy" type="s:ST_TrueFalse"/>
311
+ <xsd:attribute name="switch" type="s:ST_TrueFalseBlank"/>
312
+ <xsd:attribute name="xrange" type="xsd:string"/>
313
+ <xsd:attribute name="yrange" type="xsd:string"/>
314
+ <xsd:attribute name="radiusrange" type="xsd:string"/>
315
+ </xsd:complexType>
316
+ <xsd:complexType name="CT_ImageData">
317
+ <xsd:attributeGroup ref="AG_Id"/>
318
+ <xsd:attributeGroup ref="AG_ImageAttributes"/>
319
+ <xsd:attributeGroup ref="AG_Chromakey"/>
320
+ <xsd:attribute name="embosscolor" type="s:ST_ColorType" use="optional"/>
321
+ <xsd:attribute name="recolortarget" type="s:ST_ColorType"/>
322
+ <xsd:attribute ref="o:href"/>
323
+ <xsd:attribute ref="o:althref"/>
324
+ <xsd:attribute ref="o:title"/>
325
+ <xsd:attribute ref="o:oleid"/>
326
+ <xsd:attribute ref="o:detectmouseclick"/>
327
+ <xsd:attribute ref="o:movie"/>
328
+ <xsd:attribute ref="o:relid"/>
329
+ <xsd:attribute ref="r:id"/>
330
+ <xsd:attribute ref="r:pict"/>
331
+ <xsd:attribute ref="r:href"/>
332
+ </xsd:complexType>
333
+ <xsd:complexType name="CT_Path">
334
+ <xsd:attributeGroup ref="AG_Id"/>
335
+ <xsd:attribute name="v" type="xsd:string" use="optional"/>
336
+ <xsd:attribute name="limo" type="xsd:string" use="optional"/>
337
+ <xsd:attribute name="textboxrect" type="xsd:string" use="optional"/>
338
+ <xsd:attribute name="fillok" type="s:ST_TrueFalse" use="optional"/>
339
+ <xsd:attribute name="strokeok" type="s:ST_TrueFalse" use="optional"/>
340
+ <xsd:attribute name="shadowok" type="s:ST_TrueFalse" use="optional"/>
341
+ <xsd:attribute name="arrowok" type="s:ST_TrueFalse" use="optional"/>
342
+ <xsd:attribute name="gradientshapeok" type="s:ST_TrueFalse" use="optional"/>
343
+ <xsd:attribute name="textpathok" type="s:ST_TrueFalse" use="optional"/>
344
+ <xsd:attribute name="insetpenok" type="s:ST_TrueFalse" use="optional"/>
345
+ <xsd:attribute ref="o:connecttype"/>
346
+ <xsd:attribute ref="o:connectlocs"/>
347
+ <xsd:attribute ref="o:connectangles"/>
348
+ <xsd:attribute ref="o:extrusionok"/>
349
+ </xsd:complexType>
350
+ <xsd:complexType name="CT_Shadow">
351
+ <xsd:attributeGroup ref="AG_Id"/>
352
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
353
+ <xsd:attribute name="type" type="ST_ShadowType" use="optional"/>
354
+ <xsd:attribute name="obscured" type="s:ST_TrueFalse" use="optional"/>
355
+ <xsd:attribute name="color" type="s:ST_ColorType" use="optional"/>
356
+ <xsd:attribute name="opacity" type="xsd:string" use="optional"/>
357
+ <xsd:attribute name="offset" type="xsd:string" use="optional"/>
358
+ <xsd:attribute name="color2" type="s:ST_ColorType" use="optional"/>
359
+ <xsd:attribute name="offset2" type="xsd:string" use="optional"/>
360
+ <xsd:attribute name="origin" type="xsd:string" use="optional"/>
361
+ <xsd:attribute name="matrix" type="xsd:string" use="optional"/>
362
+ </xsd:complexType>
363
+ <xsd:complexType name="CT_Stroke">
364
+ <xsd:sequence>
365
+ <xsd:element ref="o:left" minOccurs="0"/>
366
+ <xsd:element ref="o:top" minOccurs="0"/>
367
+ <xsd:element ref="o:right" minOccurs="0"/>
368
+ <xsd:element ref="o:bottom" minOccurs="0"/>
369
+ <xsd:element ref="o:column" minOccurs="0"/>
370
+ </xsd:sequence>
371
+ <xsd:attributeGroup ref="AG_Id"/>
372
+ <xsd:attributeGroup ref="AG_StrokeAttributes"/>
373
+ </xsd:complexType>
374
+ <xsd:complexType name="CT_Textbox">
375
+ <xsd:choice>
376
+ <xsd:element ref="w:txbxContent" minOccurs="0"/>
377
+ </xsd:choice>
378
+ <xsd:attributeGroup ref="AG_Id"/>
379
+ <xsd:attributeGroup ref="AG_Style"/>
380
+ <xsd:attribute name="inset" type="xsd:string" use="optional"/>
381
+ <xsd:attribute ref="o:singleclick"/>
382
+ <xsd:attribute ref="o:insetmode"/>
383
+ </xsd:complexType>
384
+ <xsd:complexType name="CT_TextPath">
385
+ <xsd:attributeGroup ref="AG_Id"/>
386
+ <xsd:attributeGroup ref="AG_Style"/>
387
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
388
+ <xsd:attribute name="fitshape" type="s:ST_TrueFalse" use="optional"/>
389
+ <xsd:attribute name="fitpath" type="s:ST_TrueFalse" use="optional"/>
390
+ <xsd:attribute name="trim" type="s:ST_TrueFalse" use="optional"/>
391
+ <xsd:attribute name="xscale" type="s:ST_TrueFalse" use="optional"/>
392
+ <xsd:attribute name="string" type="xsd:string" use="optional"/>
393
+ </xsd:complexType>
394
+ <xsd:element name="arc" type="CT_Arc"/>
395
+ <xsd:element name="curve" type="CT_Curve"/>
396
+ <xsd:element name="image" type="CT_Image"/>
397
+ <xsd:element name="line" type="CT_Line"/>
398
+ <xsd:element name="oval" type="CT_Oval"/>
399
+ <xsd:element name="polyline" type="CT_PolyLine"/>
400
+ <xsd:element name="rect" type="CT_Rect"/>
401
+ <xsd:element name="roundrect" type="CT_RoundRect"/>
402
+ <xsd:complexType name="CT_Arc">
403
+ <xsd:sequence>
404
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
405
+ </xsd:sequence>
406
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
407
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
408
+ <xsd:attribute name="startAngle" type="xsd:decimal" use="optional"/>
409
+ <xsd:attribute name="endAngle" type="xsd:decimal" use="optional"/>
410
+ </xsd:complexType>
411
+ <xsd:complexType name="CT_Curve">
412
+ <xsd:sequence>
413
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
414
+ </xsd:sequence>
415
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
416
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
417
+ <xsd:attribute name="from" type="xsd:string" use="optional"/>
418
+ <xsd:attribute name="control1" type="xsd:string" use="optional"/>
419
+ <xsd:attribute name="control2" type="xsd:string" use="optional"/>
420
+ <xsd:attribute name="to" type="xsd:string" use="optional"/>
421
+ </xsd:complexType>
422
+ <xsd:complexType name="CT_Image">
423
+ <xsd:sequence>
424
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
425
+ </xsd:sequence>
426
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
427
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
428
+ <xsd:attributeGroup ref="AG_ImageAttributes"/>
429
+ </xsd:complexType>
430
+ <xsd:complexType name="CT_Line">
431
+ <xsd:sequence>
432
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
433
+ </xsd:sequence>
434
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
435
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
436
+ <xsd:attribute name="from" type="xsd:string" use="optional"/>
437
+ <xsd:attribute name="to" type="xsd:string" use="optional"/>
438
+ </xsd:complexType>
439
+ <xsd:complexType name="CT_Oval">
440
+ <xsd:choice maxOccurs="unbounded">
441
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
442
+ </xsd:choice>
443
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
444
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
445
+ </xsd:complexType>
446
+ <xsd:complexType name="CT_PolyLine">
447
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
448
+ <xsd:group ref="EG_ShapeElements"/>
449
+ <xsd:element ref="o:ink"/>
450
+ </xsd:choice>
451
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
452
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
453
+ <xsd:attribute name="points" type="xsd:string" use="optional"/>
454
+ </xsd:complexType>
455
+ <xsd:complexType name="CT_Rect">
456
+ <xsd:choice maxOccurs="unbounded">
457
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
458
+ </xsd:choice>
459
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
460
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
461
+ </xsd:complexType>
462
+ <xsd:complexType name="CT_RoundRect">
463
+ <xsd:choice maxOccurs="unbounded">
464
+ <xsd:group ref="EG_ShapeElements" minOccurs="0" maxOccurs="unbounded"/>
465
+ </xsd:choice>
466
+ <xsd:attributeGroup ref="AG_AllCoreAttributes"/>
467
+ <xsd:attributeGroup ref="AG_AllShapeAttributes"/>
468
+ <xsd:attribute name="arcsize" type="xsd:string" use="optional"/>
469
+ </xsd:complexType>
470
+ <xsd:simpleType name="ST_Ext">
471
+ <xsd:restriction base="xsd:string">
472
+ <xsd:enumeration value="view"/>
473
+ <xsd:enumeration value="edit"/>
474
+ <xsd:enumeration value="backwardCompatible"/>
475
+ </xsd:restriction>
476
+ </xsd:simpleType>
477
+ <xsd:simpleType name="ST_FillType">
478
+ <xsd:restriction base="xsd:string">
479
+ <xsd:enumeration value="solid"/>
480
+ <xsd:enumeration value="gradient"/>
481
+ <xsd:enumeration value="gradientRadial"/>
482
+ <xsd:enumeration value="tile"/>
483
+ <xsd:enumeration value="pattern"/>
484
+ <xsd:enumeration value="frame"/>
485
+ </xsd:restriction>
486
+ </xsd:simpleType>
487
+ <xsd:simpleType name="ST_FillMethod">
488
+ <xsd:restriction base="xsd:string">
489
+ <xsd:enumeration value="none"/>
490
+ <xsd:enumeration value="linear"/>
491
+ <xsd:enumeration value="sigma"/>
492
+ <xsd:enumeration value="any"/>
493
+ <xsd:enumeration value="linear sigma"/>
494
+ </xsd:restriction>
495
+ </xsd:simpleType>
496
+ <xsd:simpleType name="ST_ShadowType">
497
+ <xsd:restriction base="xsd:string">
498
+ <xsd:enumeration value="single"/>
499
+ <xsd:enumeration value="double"/>
500
+ <xsd:enumeration value="emboss"/>
501
+ <xsd:enumeration value="perspective"/>
502
+ </xsd:restriction>
503
+ </xsd:simpleType>
504
+ <xsd:simpleType name="ST_StrokeLineStyle">
505
+ <xsd:restriction base="xsd:string">
506
+ <xsd:enumeration value="single"/>
507
+ <xsd:enumeration value="thinThin"/>
508
+ <xsd:enumeration value="thinThick"/>
509
+ <xsd:enumeration value="thickThin"/>
510
+ <xsd:enumeration value="thickBetweenThin"/>
511
+ </xsd:restriction>
512
+ </xsd:simpleType>
513
+ <xsd:simpleType name="ST_StrokeJoinStyle">
514
+ <xsd:restriction base="xsd:string">
515
+ <xsd:enumeration value="round"/>
516
+ <xsd:enumeration value="bevel"/>
517
+ <xsd:enumeration value="miter"/>
518
+ </xsd:restriction>
519
+ </xsd:simpleType>
520
+ <xsd:simpleType name="ST_StrokeEndCap">
521
+ <xsd:restriction base="xsd:string">
522
+ <xsd:enumeration value="flat"/>
523
+ <xsd:enumeration value="square"/>
524
+ <xsd:enumeration value="round"/>
525
+ </xsd:restriction>
526
+ </xsd:simpleType>
527
+ <xsd:simpleType name="ST_StrokeArrowLength">
528
+ <xsd:restriction base="xsd:string">
529
+ <xsd:enumeration value="short"/>
530
+ <xsd:enumeration value="medium"/>
531
+ <xsd:enumeration value="long"/>
532
+ </xsd:restriction>
533
+ </xsd:simpleType>
534
+ <xsd:simpleType name="ST_StrokeArrowWidth">
535
+ <xsd:restriction base="xsd:string">
536
+ <xsd:enumeration value="narrow"/>
537
+ <xsd:enumeration value="medium"/>
538
+ <xsd:enumeration value="wide"/>
539
+ </xsd:restriction>
540
+ </xsd:simpleType>
541
+ <xsd:simpleType name="ST_StrokeArrowType">
542
+ <xsd:restriction base="xsd:string">
543
+ <xsd:enumeration value="none"/>
544
+ <xsd:enumeration value="block"/>
545
+ <xsd:enumeration value="classic"/>
546
+ <xsd:enumeration value="oval"/>
547
+ <xsd:enumeration value="diamond"/>
548
+ <xsd:enumeration value="open"/>
549
+ </xsd:restriction>
550
+ </xsd:simpleType>
551
+ <xsd:simpleType name="ST_ImageAspect">
552
+ <xsd:restriction base="xsd:string">
553
+ <xsd:enumeration value="ignore"/>
554
+ <xsd:enumeration value="atMost"/>
555
+ <xsd:enumeration value="atLeast"/>
556
+ </xsd:restriction>
557
+ </xsd:simpleType>
558
+ <xsd:simpleType name="ST_EditAs">
559
+ <xsd:restriction base="xsd:string">
560
+ <xsd:enumeration value="canvas"/>
561
+ <xsd:enumeration value="orgchart"/>
562
+ <xsd:enumeration value="radial"/>
563
+ <xsd:enumeration value="cycle"/>
564
+ <xsd:enumeration value="stacked"/>
565
+ <xsd:enumeration value="venn"/>
566
+ <xsd:enumeration value="bullseye"/>
567
+ </xsd:restriction>
568
+ </xsd:simpleType>
569
+ </xsd:schema>