axlsx 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
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,509 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3
+ xmlns="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml"
4
+ xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
5
+ xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
6
+ targetNamespace="urn:schemas-microsoft-com:office:office" elementFormDefault="qualified"
7
+ attributeFormDefault="unqualified">
8
+ <xsd:import namespace="urn:schemas-microsoft-com:vml" schemaLocation="vml-main.xsd"/>
9
+ <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
10
+ schemaLocation="shared-relationshipReference.xsd"/>
11
+ <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
12
+ schemaLocation="shared-commonSimpleTypes.xsd"/>
13
+ <xsd:attribute name="bwmode" type="ST_BWMode"/>
14
+ <xsd:attribute name="bwpure" type="ST_BWMode"/>
15
+ <xsd:attribute name="bwnormal" type="ST_BWMode"/>
16
+ <xsd:attribute name="targetscreensize" type="ST_ScreenSize"/>
17
+ <xsd:attribute name="insetmode" type="ST_InsetMode" default="custom"/>
18
+ <xsd:attribute name="spt" type="xsd:float"/>
19
+ <xsd:attribute name="wrapcoords" type="xsd:string"/>
20
+ <xsd:attribute name="oned" type="s:ST_TrueFalse"/>
21
+ <xsd:attribute name="regroupid" type="xsd:integer"/>
22
+ <xsd:attribute name="doubleclicknotify" type="s:ST_TrueFalse"/>
23
+ <xsd:attribute name="connectortype" type="ST_ConnectorType" default="straight"/>
24
+ <xsd:attribute name="button" type="s:ST_TrueFalse"/>
25
+ <xsd:attribute name="userhidden" type="s:ST_TrueFalse"/>
26
+ <xsd:attribute name="forcedash" type="s:ST_TrueFalse"/>
27
+ <xsd:attribute name="oleicon" type="s:ST_TrueFalse"/>
28
+ <xsd:attribute name="ole" type="s:ST_TrueFalseBlank"/>
29
+ <xsd:attribute name="preferrelative" type="s:ST_TrueFalse"/>
30
+ <xsd:attribute name="cliptowrap" type="s:ST_TrueFalse"/>
31
+ <xsd:attribute name="clip" type="s:ST_TrueFalse"/>
32
+ <xsd:attribute name="bullet" type="s:ST_TrueFalse"/>
33
+ <xsd:attribute name="hr" type="s:ST_TrueFalse"/>
34
+ <xsd:attribute name="hrstd" type="s:ST_TrueFalse"/>
35
+ <xsd:attribute name="hrnoshade" type="s:ST_TrueFalse"/>
36
+ <xsd:attribute name="hrpct" type="xsd:float"/>
37
+ <xsd:attribute name="hralign" type="ST_HrAlign" default="left"/>
38
+ <xsd:attribute name="allowincell" type="s:ST_TrueFalse"/>
39
+ <xsd:attribute name="allowoverlap" type="s:ST_TrueFalse"/>
40
+ <xsd:attribute name="userdrawn" type="s:ST_TrueFalse"/>
41
+ <xsd:attribute name="bordertopcolor" type="xsd:string"/>
42
+ <xsd:attribute name="borderleftcolor" type="xsd:string"/>
43
+ <xsd:attribute name="borderbottomcolor" type="xsd:string"/>
44
+ <xsd:attribute name="borderrightcolor" type="xsd:string"/>
45
+ <xsd:attribute name="connecttype" type="ST_ConnectType"/>
46
+ <xsd:attribute name="connectlocs" type="xsd:string"/>
47
+ <xsd:attribute name="connectangles" type="xsd:string"/>
48
+ <xsd:attribute name="master" type="xsd:string"/>
49
+ <xsd:attribute name="extrusionok" type="s:ST_TrueFalse"/>
50
+ <xsd:attribute name="href" type="xsd:string"/>
51
+ <xsd:attribute name="althref" type="xsd:string"/>
52
+ <xsd:attribute name="title" type="xsd:string"/>
53
+ <xsd:attribute name="singleclick" type="s:ST_TrueFalse"/>
54
+ <xsd:attribute name="oleid" type="xsd:float"/>
55
+ <xsd:attribute name="detectmouseclick" type="s:ST_TrueFalse"/>
56
+ <xsd:attribute name="movie" type="xsd:float"/>
57
+ <xsd:attribute name="spid" type="xsd:string"/>
58
+ <xsd:attribute name="opacity2" type="xsd:string"/>
59
+ <xsd:attribute name="relid" type="r:ST_RelationshipId"/>
60
+ <xsd:attribute name="dgmlayout" type="ST_DiagramLayout"/>
61
+ <xsd:attribute name="dgmnodekind" type="xsd:integer"/>
62
+ <xsd:attribute name="dgmlayoutmru" type="ST_DiagramLayout"/>
63
+ <xsd:attribute name="gfxdata" type="xsd:base64Binary"/>
64
+ <xsd:attribute name="tableproperties" type="xsd:string"/>
65
+ <xsd:attribute name="tablelimits" type="xsd:string"/>
66
+ <xsd:element name="shapedefaults" type="CT_ShapeDefaults"/>
67
+ <xsd:element name="shapelayout" type="CT_ShapeLayout"/>
68
+ <xsd:element name="signatureline" type="CT_SignatureLine"/>
69
+ <xsd:element name="ink" type="CT_Ink"/>
70
+ <xsd:element name="diagram" type="CT_Diagram"/>
71
+ <xsd:element name="equationxml" type="CT_EquationXml"/>
72
+ <xsd:complexType name="CT_ShapeDefaults">
73
+ <xsd:all minOccurs="0">
74
+ <xsd:element ref="v:fill" minOccurs="0"/>
75
+ <xsd:element ref="v:stroke" minOccurs="0"/>
76
+ <xsd:element ref="v:textbox" minOccurs="0"/>
77
+ <xsd:element ref="v:shadow" minOccurs="0"/>
78
+ <xsd:element ref="skew" minOccurs="0"/>
79
+ <xsd:element ref="extrusion" minOccurs="0"/>
80
+ <xsd:element ref="callout" minOccurs="0"/>
81
+ <xsd:element ref="lock" minOccurs="0"/>
82
+ <xsd:element name="colormru" minOccurs="0" type="CT_ColorMru"/>
83
+ <xsd:element name="colormenu" minOccurs="0" type="CT_ColorMenu"/>
84
+ </xsd:all>
85
+ <xsd:attributeGroup ref="v:AG_Ext"/>
86
+ <xsd:attribute name="spidmax" type="xsd:integer" use="optional"/>
87
+ <xsd:attribute name="style" type="xsd:string" use="optional"/>
88
+ <xsd:attribute name="fill" type="s:ST_TrueFalse" use="optional"/>
89
+ <xsd:attribute name="fillcolor" type="s:ST_ColorType" use="optional"/>
90
+ <xsd:attribute name="stroke" type="s:ST_TrueFalse" use="optional"/>
91
+ <xsd:attribute name="strokecolor" type="s:ST_ColorType"/>
92
+ <xsd:attribute name="allowincell" form="qualified" type="s:ST_TrueFalse"/>
93
+ </xsd:complexType>
94
+ <xsd:complexType name="CT_Ink">
95
+ <xsd:sequence/>
96
+ <xsd:attribute name="i" type="xsd:string"/>
97
+ <xsd:attribute name="annotation" type="s:ST_TrueFalse"/>
98
+ <xsd:attribute name="contentType" type="ST_ContentType" use="optional"/>
99
+ </xsd:complexType>
100
+ <xsd:complexType name="CT_SignatureLine">
101
+ <xsd:attributeGroup ref="v:AG_Ext"/>
102
+ <xsd:attribute name="issignatureline" type="s:ST_TrueFalse"/>
103
+ <xsd:attribute name="id" type="s:ST_Guid"/>
104
+ <xsd:attribute name="provid" type="s:ST_Guid"/>
105
+ <xsd:attribute name="signinginstructionsset" type="s:ST_TrueFalse"/>
106
+ <xsd:attribute name="allowcomments" type="s:ST_TrueFalse"/>
107
+ <xsd:attribute name="showsigndate" type="s:ST_TrueFalse"/>
108
+ <xsd:attribute name="suggestedsigner" type="xsd:string" form="qualified"/>
109
+ <xsd:attribute name="suggestedsigner2" type="xsd:string" form="qualified"/>
110
+ <xsd:attribute name="suggestedsigneremail" type="xsd:string" form="qualified"/>
111
+ <xsd:attribute name="signinginstructions" type="xsd:string"/>
112
+ <xsd:attribute name="addlxml" type="xsd:string"/>
113
+ <xsd:attribute name="sigprovurl" type="xsd:string"/>
114
+ </xsd:complexType>
115
+ <xsd:complexType name="CT_ShapeLayout">
116
+ <xsd:all>
117
+ <xsd:element name="idmap" type="CT_IdMap" minOccurs="0"/>
118
+ <xsd:element name="regrouptable" type="CT_RegroupTable" minOccurs="0"/>
119
+ <xsd:element name="rules" type="CT_Rules" minOccurs="0"/>
120
+ </xsd:all>
121
+ <xsd:attributeGroup ref="v:AG_Ext"/>
122
+ </xsd:complexType>
123
+ <xsd:complexType name="CT_IdMap">
124
+ <xsd:attributeGroup ref="v:AG_Ext"/>
125
+ <xsd:attribute name="data" type="xsd:string" use="optional"/>
126
+ </xsd:complexType>
127
+ <xsd:complexType name="CT_RegroupTable">
128
+ <xsd:sequence>
129
+ <xsd:element name="entry" type="CT_Entry" minOccurs="0" maxOccurs="unbounded"/>
130
+ </xsd:sequence>
131
+ <xsd:attributeGroup ref="v:AG_Ext"/>
132
+ </xsd:complexType>
133
+ <xsd:complexType name="CT_Entry">
134
+ <xsd:attribute name="new" type="xsd:int" use="optional"/>
135
+ <xsd:attribute name="old" type="xsd:int" use="optional"/>
136
+ </xsd:complexType>
137
+ <xsd:complexType name="CT_Rules">
138
+ <xsd:sequence>
139
+ <xsd:element name="r" type="CT_R" minOccurs="0" maxOccurs="unbounded"/>
140
+ </xsd:sequence>
141
+ <xsd:attributeGroup ref="v:AG_Ext"/>
142
+ </xsd:complexType>
143
+ <xsd:complexType name="CT_R">
144
+ <xsd:sequence>
145
+ <xsd:element name="proxy" type="CT_Proxy" minOccurs="0" maxOccurs="unbounded"/>
146
+ </xsd:sequence>
147
+ <xsd:attribute name="id" type="xsd:string" use="required"/>
148
+ <xsd:attribute name="type" type="ST_RType" use="optional"/>
149
+ <xsd:attribute name="how" type="ST_How" use="optional"/>
150
+ <xsd:attribute name="idref" type="xsd:string" use="optional"/>
151
+ </xsd:complexType>
152
+ <xsd:complexType name="CT_Proxy">
153
+ <xsd:attribute name="start" type="s:ST_TrueFalseBlank" use="optional" default="false"/>
154
+ <xsd:attribute name="end" type="s:ST_TrueFalseBlank" use="optional" default="false"/>
155
+ <xsd:attribute name="idref" type="xsd:string" use="optional"/>
156
+ <xsd:attribute name="connectloc" type="xsd:int" use="optional"/>
157
+ </xsd:complexType>
158
+ <xsd:complexType name="CT_Diagram">
159
+ <xsd:sequence>
160
+ <xsd:element name="relationtable" type="CT_RelationTable" minOccurs="0"/>
161
+ </xsd:sequence>
162
+ <xsd:attributeGroup ref="v:AG_Ext"/>
163
+ <xsd:attribute name="dgmstyle" type="xsd:integer" use="optional"/>
164
+ <xsd:attribute name="autoformat" type="s:ST_TrueFalse" use="optional"/>
165
+ <xsd:attribute name="reverse" type="s:ST_TrueFalse" use="optional"/>
166
+ <xsd:attribute name="autolayout" type="s:ST_TrueFalse" use="optional"/>
167
+ <xsd:attribute name="dgmscalex" type="xsd:integer" use="optional"/>
168
+ <xsd:attribute name="dgmscaley" type="xsd:integer" use="optional"/>
169
+ <xsd:attribute name="dgmfontsize" type="xsd:integer" use="optional"/>
170
+ <xsd:attribute name="constrainbounds" type="xsd:string" use="optional"/>
171
+ <xsd:attribute name="dgmbasetextscale" type="xsd:integer" use="optional"/>
172
+ </xsd:complexType>
173
+ <xsd:complexType name="CT_EquationXml">
174
+ <xsd:sequence>
175
+ <xsd:any namespace="##any"/>
176
+ </xsd:sequence>
177
+ <xsd:attribute name="contentType" type="ST_AlternateMathContentType" use="optional"/>
178
+ </xsd:complexType>
179
+ <xsd:simpleType name="ST_AlternateMathContentType">
180
+ <xsd:restriction base="xsd:string"/>
181
+ </xsd:simpleType>
182
+ <xsd:complexType name="CT_RelationTable">
183
+ <xsd:sequence>
184
+ <xsd:element name="rel" type="CT_Relation" minOccurs="0" maxOccurs="unbounded"/>
185
+ </xsd:sequence>
186
+ <xsd:attributeGroup ref="v:AG_Ext"/>
187
+ </xsd:complexType>
188
+ <xsd:complexType name="CT_Relation">
189
+ <xsd:attributeGroup ref="v:AG_Ext"/>
190
+ <xsd:attribute name="idsrc" type="xsd:string" use="optional"/>
191
+ <xsd:attribute name="iddest" type="xsd:string" use="optional"/>
192
+ <xsd:attribute name="idcntr" type="xsd:string" use="optional"/>
193
+ </xsd:complexType>
194
+ <xsd:complexType name="CT_ColorMru">
195
+ <xsd:attributeGroup ref="v:AG_Ext"/>
196
+ <xsd:attribute name="colors" type="xsd:string"/>
197
+ </xsd:complexType>
198
+ <xsd:complexType name="CT_ColorMenu">
199
+ <xsd:attributeGroup ref="v:AG_Ext"/>
200
+ <xsd:attribute name="strokecolor" type="s:ST_ColorType"/>
201
+ <xsd:attribute name="fillcolor" type="s:ST_ColorType"/>
202
+ <xsd:attribute name="shadowcolor" type="s:ST_ColorType"/>
203
+ <xsd:attribute name="extrusioncolor" type="s:ST_ColorType"/>
204
+ </xsd:complexType>
205
+ <xsd:element name="skew" type="CT_Skew"/>
206
+ <xsd:element name="extrusion" type="CT_Extrusion"/>
207
+ <xsd:element name="callout" type="CT_Callout"/>
208
+ <xsd:element name="lock" type="CT_Lock"/>
209
+ <xsd:element name="OLEObject" type="CT_OLEObject"/>
210
+ <xsd:element name="complex" type="CT_Complex"/>
211
+ <xsd:element name="left" type="CT_StrokeChild"/>
212
+ <xsd:element name="top" type="CT_StrokeChild"/>
213
+ <xsd:element name="right" type="CT_StrokeChild"/>
214
+ <xsd:element name="bottom" type="CT_StrokeChild"/>
215
+ <xsd:element name="column" type="CT_StrokeChild"/>
216
+ <xsd:element name="clippath" type="CT_ClipPath"/>
217
+ <xsd:element name="fill" type="CT_Fill"/>
218
+ <xsd:complexType name="CT_Skew">
219
+ <xsd:attributeGroup ref="v:AG_Ext"/>
220
+ <xsd:attribute name="id" type="xsd:string" use="optional"/>
221
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
222
+ <xsd:attribute name="offset" type="xsd:string" use="optional"/>
223
+ <xsd:attribute name="origin" type="xsd:string" use="optional"/>
224
+ <xsd:attribute name="matrix" type="xsd:string" use="optional"/>
225
+ </xsd:complexType>
226
+ <xsd:complexType name="CT_Extrusion">
227
+ <xsd:attributeGroup ref="v:AG_Ext"/>
228
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
229
+ <xsd:attribute name="type" type="ST_ExtrusionType" default="parallel" use="optional"/>
230
+ <xsd:attribute name="render" type="ST_ExtrusionRender" default="solid" use="optional"/>
231
+ <xsd:attribute name="viewpointorigin" type="xsd:string" use="optional"/>
232
+ <xsd:attribute name="viewpoint" type="xsd:string" use="optional"/>
233
+ <xsd:attribute name="plane" type="ST_ExtrusionPlane" default="XY" use="optional"/>
234
+ <xsd:attribute name="skewangle" type="xsd:float" use="optional"/>
235
+ <xsd:attribute name="skewamt" type="xsd:string" use="optional"/>
236
+ <xsd:attribute name="foredepth" type="xsd:string" use="optional"/>
237
+ <xsd:attribute name="backdepth" type="xsd:string" use="optional"/>
238
+ <xsd:attribute name="orientation" type="xsd:string" use="optional"/>
239
+ <xsd:attribute name="orientationangle" type="xsd:float" use="optional"/>
240
+ <xsd:attribute name="lockrotationcenter" type="s:ST_TrueFalse" use="optional"/>
241
+ <xsd:attribute name="autorotationcenter" type="s:ST_TrueFalse" use="optional"/>
242
+ <xsd:attribute name="rotationcenter" type="xsd:string" use="optional"/>
243
+ <xsd:attribute name="rotationangle" type="xsd:string" use="optional"/>
244
+ <xsd:attribute name="colormode" type="ST_ColorMode" use="optional"/>
245
+ <xsd:attribute name="color" type="s:ST_ColorType" use="optional"/>
246
+ <xsd:attribute name="shininess" type="xsd:float" use="optional"/>
247
+ <xsd:attribute name="specularity" type="xsd:string" use="optional"/>
248
+ <xsd:attribute name="diffusity" type="xsd:string" use="optional"/>
249
+ <xsd:attribute name="metal" type="s:ST_TrueFalse" use="optional"/>
250
+ <xsd:attribute name="edge" type="xsd:string" use="optional"/>
251
+ <xsd:attribute name="facet" type="xsd:string" use="optional"/>
252
+ <xsd:attribute name="lightface" type="s:ST_TrueFalse" use="optional"/>
253
+ <xsd:attribute name="brightness" type="xsd:string" use="optional"/>
254
+ <xsd:attribute name="lightposition" type="xsd:string" use="optional"/>
255
+ <xsd:attribute name="lightlevel" type="xsd:string" use="optional"/>
256
+ <xsd:attribute name="lightharsh" type="s:ST_TrueFalse" use="optional"/>
257
+ <xsd:attribute name="lightposition2" type="xsd:string" use="optional"/>
258
+ <xsd:attribute name="lightlevel2" type="xsd:string" use="optional"/>
259
+ <xsd:attribute name="lightharsh2" type="s:ST_TrueFalse" use="optional"/>
260
+ </xsd:complexType>
261
+ <xsd:complexType name="CT_Callout">
262
+ <xsd:attributeGroup ref="v:AG_Ext"/>
263
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
264
+ <xsd:attribute name="type" type="xsd:string" use="optional"/>
265
+ <xsd:attribute name="gap" type="xsd:string" use="optional"/>
266
+ <xsd:attribute name="angle" type="ST_Angle" use="optional"/>
267
+ <xsd:attribute name="dropauto" type="s:ST_TrueFalse" use="optional"/>
268
+ <xsd:attribute name="drop" type="ST_CalloutDrop" use="optional"/>
269
+ <xsd:attribute name="distance" type="xsd:string" use="optional"/>
270
+ <xsd:attribute name="lengthspecified" type="s:ST_TrueFalse" default="f" use="optional"/>
271
+ <xsd:attribute name="length" type="xsd:string" use="optional"/>
272
+ <xsd:attribute name="accentbar" type="s:ST_TrueFalse" use="optional"/>
273
+ <xsd:attribute name="textborder" type="s:ST_TrueFalse" use="optional"/>
274
+ <xsd:attribute name="minusx" type="s:ST_TrueFalse" use="optional"/>
275
+ <xsd:attribute name="minusy" type="s:ST_TrueFalse" use="optional"/>
276
+ </xsd:complexType>
277
+ <xsd:complexType name="CT_Lock">
278
+ <xsd:attributeGroup ref="v:AG_Ext"/>
279
+ <xsd:attribute name="position" type="s:ST_TrueFalse" use="optional"/>
280
+ <xsd:attribute name="selection" type="s:ST_TrueFalse" use="optional"/>
281
+ <xsd:attribute name="grouping" type="s:ST_TrueFalse" use="optional"/>
282
+ <xsd:attribute name="ungrouping" type="s:ST_TrueFalse" use="optional"/>
283
+ <xsd:attribute name="rotation" type="s:ST_TrueFalse" use="optional"/>
284
+ <xsd:attribute name="cropping" type="s:ST_TrueFalse" use="optional"/>
285
+ <xsd:attribute name="verticies" type="s:ST_TrueFalse" use="optional"/>
286
+ <xsd:attribute name="adjusthandles" type="s:ST_TrueFalse" use="optional"/>
287
+ <xsd:attribute name="text" type="s:ST_TrueFalse" use="optional"/>
288
+ <xsd:attribute name="aspectratio" type="s:ST_TrueFalse" use="optional"/>
289
+ <xsd:attribute name="shapetype" type="s:ST_TrueFalse" use="optional"/>
290
+ </xsd:complexType>
291
+ <xsd:complexType name="CT_OLEObject">
292
+ <xsd:sequence>
293
+ <xsd:element name="LinkType" type="ST_OLELinkType" minOccurs="0"/>
294
+ <xsd:element name="LockedField" type="s:ST_TrueFalseBlank" minOccurs="0"/>
295
+ <xsd:element name="FieldCodes" type="xsd:string" minOccurs="0"/>
296
+ </xsd:sequence>
297
+ <xsd:attribute name="Type" type="ST_OLEType" use="optional"/>
298
+ <xsd:attribute name="ProgID" type="xsd:string" use="optional"/>
299
+ <xsd:attribute name="ShapeID" type="xsd:string" use="optional"/>
300
+ <xsd:attribute name="DrawAspect" type="ST_OLEDrawAspect" use="optional"/>
301
+ <xsd:attribute name="ObjectID" type="xsd:string" use="optional"/>
302
+ <xsd:attribute ref="r:id" use="optional"/>
303
+ <xsd:attribute name="UpdateMode" type="ST_OLEUpdateMode" use="optional"/>
304
+ </xsd:complexType>
305
+ <xsd:complexType name="CT_Complex">
306
+ <xsd:attributeGroup ref="v:AG_Ext"/>
307
+ </xsd:complexType>
308
+ <xsd:complexType name="CT_StrokeChild">
309
+ <xsd:attributeGroup ref="v:AG_Ext"/>
310
+ <xsd:attribute name="on" type="s:ST_TrueFalse" use="optional"/>
311
+ <xsd:attribute name="weight" type="xsd:string" use="optional"/>
312
+ <xsd:attribute name="color" type="s:ST_ColorType" use="optional"/>
313
+ <xsd:attribute name="color2" type="s:ST_ColorType" use="optional"/>
314
+ <xsd:attribute name="opacity" type="xsd:string" use="optional"/>
315
+ <xsd:attribute name="linestyle" type="v:ST_StrokeLineStyle" use="optional"/>
316
+ <xsd:attribute name="miterlimit" type="xsd:decimal" use="optional"/>
317
+ <xsd:attribute name="joinstyle" type="v:ST_StrokeJoinStyle" use="optional"/>
318
+ <xsd:attribute name="endcap" type="v:ST_StrokeEndCap" use="optional"/>
319
+ <xsd:attribute name="dashstyle" type="xsd:string" use="optional"/>
320
+ <xsd:attribute name="insetpen" type="s:ST_TrueFalse" use="optional"/>
321
+ <xsd:attribute name="filltype" type="v:ST_FillType" use="optional"/>
322
+ <xsd:attribute name="src" type="xsd:string" use="optional"/>
323
+ <xsd:attribute name="imageaspect" type="v:ST_ImageAspect" use="optional"/>
324
+ <xsd:attribute name="imagesize" type="xsd:string" use="optional"/>
325
+ <xsd:attribute name="imagealignshape" type="s:ST_TrueFalse" use="optional"/>
326
+ <xsd:attribute name="startarrow" type="v:ST_StrokeArrowType" use="optional"/>
327
+ <xsd:attribute name="startarrowwidth" type="v:ST_StrokeArrowWidth" use="optional"/>
328
+ <xsd:attribute name="startarrowlength" type="v:ST_StrokeArrowLength" use="optional"/>
329
+ <xsd:attribute name="endarrow" type="v:ST_StrokeArrowType" use="optional"/>
330
+ <xsd:attribute name="endarrowwidth" type="v:ST_StrokeArrowWidth" use="optional"/>
331
+ <xsd:attribute name="endarrowlength" type="v:ST_StrokeArrowLength" use="optional"/>
332
+ <xsd:attribute ref="href"/>
333
+ <xsd:attribute ref="althref"/>
334
+ <xsd:attribute ref="title"/>
335
+ <xsd:attribute ref="forcedash"/>
336
+ </xsd:complexType>
337
+ <xsd:complexType name="CT_ClipPath">
338
+ <xsd:attribute name="v" type="xsd:string" use="required" form="qualified"/>
339
+ </xsd:complexType>
340
+ <xsd:complexType name="CT_Fill">
341
+ <xsd:attributeGroup ref="v:AG_Ext"/>
342
+ <xsd:attribute name="type" type="ST_FillType"/>
343
+ </xsd:complexType>
344
+ <xsd:simpleType name="ST_RType">
345
+ <xsd:restriction base="xsd:string">
346
+ <xsd:enumeration value="arc"/>
347
+ <xsd:enumeration value="callout"/>
348
+ <xsd:enumeration value="connector"/>
349
+ <xsd:enumeration value="align"/>
350
+ </xsd:restriction>
351
+ </xsd:simpleType>
352
+ <xsd:simpleType name="ST_How">
353
+ <xsd:restriction base="xsd:string">
354
+ <xsd:enumeration value="top"/>
355
+ <xsd:enumeration value="middle"/>
356
+ <xsd:enumeration value="bottom"/>
357
+ <xsd:enumeration value="left"/>
358
+ <xsd:enumeration value="center"/>
359
+ <xsd:enumeration value="right"/>
360
+ </xsd:restriction>
361
+ </xsd:simpleType>
362
+ <xsd:simpleType name="ST_BWMode">
363
+ <xsd:restriction base="xsd:string">
364
+ <xsd:enumeration value="color"/>
365
+ <xsd:enumeration value="auto"/>
366
+ <xsd:enumeration value="grayScale"/>
367
+ <xsd:enumeration value="lightGrayscale"/>
368
+ <xsd:enumeration value="inverseGray"/>
369
+ <xsd:enumeration value="grayOutline"/>
370
+ <xsd:enumeration value="highContrast"/>
371
+ <xsd:enumeration value="black"/>
372
+ <xsd:enumeration value="white"/>
373
+ <xsd:enumeration value="hide"/>
374
+ <xsd:enumeration value="undrawn"/>
375
+ <xsd:enumeration value="blackTextAndLines"/>
376
+ </xsd:restriction>
377
+ </xsd:simpleType>
378
+ <xsd:simpleType name="ST_ScreenSize">
379
+ <xsd:restriction base="xsd:string">
380
+ <xsd:enumeration value="544,376"/>
381
+ <xsd:enumeration value="640,480"/>
382
+ <xsd:enumeration value="720,512"/>
383
+ <xsd:enumeration value="800,600"/>
384
+ <xsd:enumeration value="1024,768"/>
385
+ <xsd:enumeration value="1152,862"/>
386
+ </xsd:restriction>
387
+ </xsd:simpleType>
388
+ <xsd:simpleType name="ST_InsetMode">
389
+ <xsd:restriction base="xsd:string">
390
+ <xsd:enumeration value="auto"/>
391
+ <xsd:enumeration value="custom"/>
392
+ </xsd:restriction>
393
+ </xsd:simpleType>
394
+ <xsd:simpleType name="ST_ColorMode">
395
+ <xsd:restriction base="xsd:string">
396
+ <xsd:enumeration value="auto"/>
397
+ <xsd:enumeration value="custom"/>
398
+ </xsd:restriction>
399
+ </xsd:simpleType>
400
+ <xsd:simpleType name="ST_ContentType">
401
+ <xsd:restriction base="xsd:string"/>
402
+ </xsd:simpleType>
403
+ <xsd:simpleType name="ST_DiagramLayout">
404
+ <xsd:restriction base="xsd:integer">
405
+ <xsd:enumeration value="0"/>
406
+ <xsd:enumeration value="1"/>
407
+ <xsd:enumeration value="2"/>
408
+ <xsd:enumeration value="3"/>
409
+ </xsd:restriction>
410
+ </xsd:simpleType>
411
+ <xsd:simpleType name="ST_ExtrusionType">
412
+ <xsd:restriction base="xsd:string">
413
+ <xsd:enumeration value="perspective"/>
414
+ <xsd:enumeration value="parallel"/>
415
+ </xsd:restriction>
416
+ </xsd:simpleType>
417
+ <xsd:simpleType name="ST_ExtrusionRender">
418
+ <xsd:restriction base="xsd:string">
419
+ <xsd:enumeration value="solid"/>
420
+ <xsd:enumeration value="wireFrame"/>
421
+ <xsd:enumeration value="boundingCube"/>
422
+ </xsd:restriction>
423
+ </xsd:simpleType>
424
+ <xsd:simpleType name="ST_ExtrusionPlane">
425
+ <xsd:restriction base="xsd:string">
426
+ <xsd:enumeration value="XY"/>
427
+ <xsd:enumeration value="ZX"/>
428
+ <xsd:enumeration value="YZ"/>
429
+ </xsd:restriction>
430
+ </xsd:simpleType>
431
+ <xsd:simpleType name="ST_Angle">
432
+ <xsd:restriction base="xsd:string">
433
+ <xsd:enumeration value="any"/>
434
+ <xsd:enumeration value="30"/>
435
+ <xsd:enumeration value="45"/>
436
+ <xsd:enumeration value="60"/>
437
+ <xsd:enumeration value="90"/>
438
+ <xsd:enumeration value="auto"/>
439
+ </xsd:restriction>
440
+ </xsd:simpleType>
441
+ <xsd:simpleType name="ST_CalloutDrop">
442
+ <xsd:restriction base="xsd:string"/>
443
+ </xsd:simpleType>
444
+ <xsd:simpleType name="ST_CalloutPlacement">
445
+ <xsd:restriction base="xsd:string">
446
+ <xsd:enumeration value="top"/>
447
+ <xsd:enumeration value="center"/>
448
+ <xsd:enumeration value="bottom"/>
449
+ <xsd:enumeration value="user"/>
450
+ </xsd:restriction>
451
+ </xsd:simpleType>
452
+ <xsd:simpleType name="ST_ConnectorType">
453
+ <xsd:restriction base="xsd:string">
454
+ <xsd:enumeration value="none"/>
455
+ <xsd:enumeration value="straight"/>
456
+ <xsd:enumeration value="elbow"/>
457
+ <xsd:enumeration value="curved"/>
458
+ </xsd:restriction>
459
+ </xsd:simpleType>
460
+ <xsd:simpleType name="ST_HrAlign">
461
+ <xsd:restriction base="xsd:string">
462
+ <xsd:enumeration value="left"/>
463
+ <xsd:enumeration value="right"/>
464
+ <xsd:enumeration value="center"/>
465
+ </xsd:restriction>
466
+ </xsd:simpleType>
467
+ <xsd:simpleType name="ST_ConnectType">
468
+ <xsd:restriction base="xsd:string">
469
+ <xsd:enumeration value="none"/>
470
+ <xsd:enumeration value="rect"/>
471
+ <xsd:enumeration value="segments"/>
472
+ <xsd:enumeration value="custom"/>
473
+ </xsd:restriction>
474
+ </xsd:simpleType>
475
+ <xsd:simpleType name="ST_OLELinkType">
476
+ <xsd:restriction base="xsd:string"/>
477
+ </xsd:simpleType>
478
+ <xsd:simpleType name="ST_OLEType">
479
+ <xsd:restriction base="xsd:string">
480
+ <xsd:enumeration value="Embed"/>
481
+ <xsd:enumeration value="Link"/>
482
+ </xsd:restriction>
483
+ </xsd:simpleType>
484
+ <xsd:simpleType name="ST_OLEDrawAspect">
485
+ <xsd:restriction base="xsd:string">
486
+ <xsd:enumeration value="Content"/>
487
+ <xsd:enumeration value="Icon"/>
488
+ </xsd:restriction>
489
+ </xsd:simpleType>
490
+ <xsd:simpleType name="ST_OLEUpdateMode">
491
+ <xsd:restriction base="xsd:string">
492
+ <xsd:enumeration value="Always"/>
493
+ <xsd:enumeration value="OnCall"/>
494
+ </xsd:restriction>
495
+ </xsd:simpleType>
496
+ <xsd:simpleType name="ST_FillType">
497
+ <xsd:restriction base="xsd:string">
498
+ <xsd:enumeration value="gradientCenter"/>
499
+ <xsd:enumeration value="solid"/>
500
+ <xsd:enumeration value="pattern"/>
501
+ <xsd:enumeration value="tile"/>
502
+ <xsd:enumeration value="frame"/>
503
+ <xsd:enumeration value="gradientUnscaled"/>
504
+ <xsd:enumeration value="gradientRadial"/>
505
+ <xsd:enumeration value="gradient"/>
506
+ <xsd:enumeration value="background"/>
507
+ </xsd:restriction>
508
+ </xsd:simpleType>
509
+ </xsd:schema>