dml-spreadsheetDrawing.xsd 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3. xmlns:a="http://purl.oclc.org/ooxml/drawingml/main"
  4. xmlns="http://purl.oclc.org/ooxml/drawingml/spreadsheetDrawing"
  5. xmlns:r="http://purl.oclc.org/ooxml/officeDocument/relationships"
  6. targetNamespace="http://purl.oclc.org/ooxml/drawingml/spreadsheetDrawing"
  7. elementFormDefault="qualified">
  8. <xsd:import namespace="http://purl.oclc.org/ooxml/drawingml/main" schemaLocation="dml-main.xsd"/>
  9. <xsd:import schemaLocation="shared-relationshipReference.xsd"
  10. namespace="http://purl.oclc.org/ooxml/officeDocument/relationships"/>
  11. <xsd:element name="from" type="CT_Marker"/>
  12. <xsd:element name="to" type="CT_Marker"/>
  13. <xsd:complexType name="CT_AnchorClientData">
  14. <xsd:attribute name="fLocksWithSheet" type="xsd:boolean" use="optional" default="true"/>
  15. <xsd:attribute name="fPrintsWithSheet" type="xsd:boolean" use="optional" default="true"/>
  16. </xsd:complexType>
  17. <xsd:complexType name="CT_ShapeNonVisual">
  18. <xsd:sequence>
  19. <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
  20. <xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"
  21. />
  22. </xsd:sequence>
  23. </xsd:complexType>
  24. <xsd:complexType name="CT_Shape">
  25. <xsd:sequence>
  26. <xsd:element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1"/>
  27. <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
  28. <xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
  29. <xsd:element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
  30. </xsd:sequence>
  31. <xsd:attribute name="macro" type="xsd:string" use="optional"/>
  32. <xsd:attribute name="textlink" type="xsd:string" use="optional"/>
  33. <xsd:attribute name="fLocksText" type="xsd:boolean" use="optional" default="true"/>
  34. <xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
  35. </xsd:complexType>
  36. <xsd:complexType name="CT_ConnectorNonVisual">
  37. <xsd:sequence>
  38. <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
  39. <xsd:element name="cNvCxnSpPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1"
  40. maxOccurs="1"/>
  41. </xsd:sequence>
  42. </xsd:complexType>
  43. <xsd:complexType name="CT_Connector">
  44. <xsd:sequence>
  45. <xsd:element name="nvCxnSpPr" type="CT_ConnectorNonVisual" minOccurs="1" maxOccurs="1"/>
  46. <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
  47. <xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
  48. </xsd:sequence>
  49. <xsd:attribute name="macro" type="xsd:string" use="optional"/>
  50. <xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
  51. </xsd:complexType>
  52. <xsd:complexType name="CT_PictureNonVisual">
  53. <xsd:sequence>
  54. <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
  55. <xsd:element name="cNvPicPr" type="a:CT_NonVisualPictureProperties" minOccurs="1"
  56. maxOccurs="1"/>
  57. </xsd:sequence>
  58. </xsd:complexType>
  59. <xsd:complexType name="CT_Picture">
  60. <xsd:sequence>
  61. <xsd:element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1"/>
  62. <xsd:element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1"/>
  63. <xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
  64. <xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
  65. </xsd:sequence>
  66. <xsd:attribute name="macro" type="xsd:string" use="optional" default=""/>
  67. <xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
  68. </xsd:complexType>
  69. <xsd:complexType name="CT_GraphicalObjectFrameNonVisual">
  70. <xsd:sequence>
  71. <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
  72. <xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties"
  73. minOccurs="1" maxOccurs="1"/>
  74. </xsd:sequence>
  75. </xsd:complexType>
  76. <xsd:complexType name="CT_GraphicalObjectFrame">
  77. <xsd:sequence>
  78. <xsd:element name="nvGraphicFramePr" type="CT_GraphicalObjectFrameNonVisual" minOccurs="1"
  79. maxOccurs="1"/>
  80. <xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1"/>
  81. <xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
  82. </xsd:sequence>
  83. <xsd:attribute name="macro" type="xsd:string" use="optional"/>
  84. <xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
  85. </xsd:complexType>
  86. <xsd:complexType name="CT_GroupShapeNonVisual">
  87. <xsd:sequence>
  88. <xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
  89. <xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1"
  90. maxOccurs="1"/>
  91. </xsd:sequence>
  92. </xsd:complexType>
  93. <xsd:complexType name="CT_GroupShape">
  94. <xsd:sequence>
  95. <xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1"/>
  96. <xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
  97. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  98. <xsd:element name="sp" type="CT_Shape"/>
  99. <xsd:element name="grpSp" type="CT_GroupShape"/>
  100. <xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame"/>
  101. <xsd:element name="cxnSp" type="CT_Connector"/>
  102. <xsd:element name="pic" type="CT_Picture"/>
  103. </xsd:choice>
  104. </xsd:sequence>
  105. </xsd:complexType>
  106. <xsd:group name="EG_ObjectChoices">
  107. <xsd:sequence>
  108. <xsd:choice minOccurs="1" maxOccurs="1">
  109. <xsd:element name="sp" type="CT_Shape"/>
  110. <xsd:element name="grpSp" type="CT_GroupShape"/>
  111. <xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame"/>
  112. <xsd:element name="cxnSp" type="CT_Connector"/>
  113. <xsd:element name="pic" type="CT_Picture"/>
  114. <xsd:element name="contentPart" type="CT_Rel"/>
  115. </xsd:choice>
  116. </xsd:sequence>
  117. </xsd:group>
  118. <xsd:complexType name="CT_Rel">
  119. <xsd:attribute ref="r:id" use="required"/>
  120. </xsd:complexType>
  121. <xsd:simpleType name="ST_ColID">
  122. <xsd:restriction base="xsd:int">
  123. <xsd:minInclusive value="0"/>
  124. </xsd:restriction>
  125. </xsd:simpleType>
  126. <xsd:simpleType name="ST_RowID">
  127. <xsd:restriction base="xsd:int">
  128. <xsd:minInclusive value="0"/>
  129. </xsd:restriction>
  130. </xsd:simpleType>
  131. <xsd:complexType name="CT_Marker">
  132. <xsd:sequence>
  133. <xsd:element name="col" type="ST_ColID"/>
  134. <xsd:element name="colOff" type="a:ST_Coordinate"/>
  135. <xsd:element name="row" type="ST_RowID"/>
  136. <xsd:element name="rowOff" type="a:ST_Coordinate"/>
  137. </xsd:sequence>
  138. </xsd:complexType>
  139. <xsd:simpleType name="ST_EditAs">
  140. <xsd:restriction base="xsd:token">
  141. <xsd:enumeration value="twoCell"/>
  142. <xsd:enumeration value="oneCell"/>
  143. <xsd:enumeration value="absolute"/>
  144. </xsd:restriction>
  145. </xsd:simpleType>
  146. <xsd:complexType name="CT_TwoCellAnchor">
  147. <xsd:sequence>
  148. <xsd:element name="from" type="CT_Marker"/>
  149. <xsd:element name="to" type="CT_Marker"/>
  150. <xsd:group ref="EG_ObjectChoices"/>
  151. <xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
  152. </xsd:sequence>
  153. <xsd:attribute name="editAs" type="ST_EditAs" use="optional" default="twoCell"/>
  154. </xsd:complexType>
  155. <xsd:complexType name="CT_OneCellAnchor">
  156. <xsd:sequence>
  157. <xsd:element name="from" type="CT_Marker"/>
  158. <xsd:element name="ext" type="a:CT_PositiveSize2D"/>
  159. <xsd:group ref="EG_ObjectChoices"/>
  160. <xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
  161. </xsd:sequence>
  162. </xsd:complexType>
  163. <xsd:complexType name="CT_AbsoluteAnchor">
  164. <xsd:sequence>
  165. <xsd:element name="pos" type="a:CT_Point2D"/>
  166. <xsd:element name="ext" type="a:CT_PositiveSize2D"/>
  167. <xsd:group ref="EG_ObjectChoices"/>
  168. <xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
  169. </xsd:sequence>
  170. </xsd:complexType>
  171. <xsd:group name="EG_Anchor">
  172. <xsd:choice>
  173. <xsd:element name="twoCellAnchor" type="CT_TwoCellAnchor"/>
  174. <xsd:element name="oneCellAnchor" type="CT_OneCellAnchor"/>
  175. <xsd:element name="absoluteAnchor" type="CT_AbsoluteAnchor"/>
  176. </xsd:choice>
  177. </xsd:group>
  178. <xsd:complexType name="CT_Drawing">
  179. <xsd:sequence>
  180. <xsd:group ref="EG_Anchor" minOccurs="0" maxOccurs="unbounded"/>
  181. </xsd:sequence>
  182. </xsd:complexType>
  183. <xsd:element name="wsDr" type="CT_Drawing"/>
  184. </xsd:schema>