You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

visio.xsd 37KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. <!--
  2. XML for Visio Schema
  3. http://schemas.microsoft.com/office/visio/2011/1/core
  4. Copyright (C) 2000-2002 Microsoft Corporation. All rights reserved.
  5. -->
  6. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  7. targetNamespace="http://schemas.microsoft.com/office/visio/2012/main"
  8. xmlns="http://schemas.microsoft.com/office/visio/2012/main"
  9. xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
  10. elementFormDefault="qualified" attributeFormDefault="unqualified">
  11. <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"/>
  12. <xsd:annotation>
  13. <xsd:documentation>
  14. Permission to copy, display and distribute the contents of this document (the
  15. "Specification"), in any medium for any purpose without fee or royalty is
  16. hereby granted, provided that you include the following notice on ALL copies of
  17. the Specification, or portions thereof, that you make:
  18. Copyright (c) Microsoft Corporation. All rights reserved. Permission to copy,
  19. display and distribute this document is available at:
  20. http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp?frame=true.
  21. No right to create modifications or derivatives of this Specification is
  22. granted herein. There is a separate patent license available to parties
  23. interested in implementing software programs that can read and write files that
  24. conform to the Specification. This patent license is available at this
  25. location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
  26. THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR
  27. WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF
  28. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE;
  29. THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT
  30. THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS,
  31. COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. MICROSOFT WILL NOT BE LIABLE FOR ANY
  32. DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
  33. OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
  34. The name and trademarks of Microsoft may NOT be used in any manner, including
  35. advertising or publicity pertaining to the Specification or its contents
  36. without specific, written prior permission. Title to copyright in the
  37. Specification will at all times remain with Microsoft. No other rights are
  38. granted by implication, estoppel or otherwise.
  39. </xsd:documentation>
  40. </xsd:annotation>
  41. <!--
  42. Root-level elements for different parts
  43. -->
  44. <!--document.xml-->
  45. <xsd:element name="VisioDocument" type="VisioDocument_Type" />
  46. <!--masters/masters.xml-->
  47. <xsd:element name="Masters" type="Masters_Type" />
  48. <!--masters/master#.xml-->
  49. <xsd:element name="MasterContents" type="PageContents_Type" />
  50. <!--pages/pages.xml-->
  51. <xsd:element name="Pages" type="Pages_Type" />
  52. <!--pages/page#.xml-->
  53. <xsd:element name="PageContents" type="PageContents_Type" />
  54. <!--data/connections.xml-->
  55. <xsd:element name="DataConnections" type="DataConnections_Type" />
  56. <!--data/recordsets.xml-->
  57. <xsd:element name="DataRecordSets" type="DataRecordSets_Type" />
  58. <!--comments.xml-->
  59. <xsd:element name="Comments" type="Comments_Type" />
  60. <!--extensions.xml-->
  61. <xsd:element name="Extensions" type="Extensions_Type" />
  62. <!--
  63. Complex types
  64. -->
  65. <xsd:complexType name="VisioDocument_Type">
  66. <xsd:sequence>
  67. <xsd:element name="DocumentSettings" type="DocumentSettings_Type" minOccurs="0"
  68. maxOccurs="1" />
  69. <xsd:element name="Colors" type="Colors_Type" minOccurs="0" maxOccurs="1" />
  70. <xsd:element name="FaceNames" type="FaceNames_Type" minOccurs="0"
  71. maxOccurs="1" />
  72. <xsd:element name="StyleSheets" type="StyleSheets_Type" minOccurs="0"
  73. maxOccurs="1" />
  74. <xsd:element name="DocumentSheet" type="DocumentSheet_Type" minOccurs="0"
  75. maxOccurs="1" />
  76. <xsd:element name="EventList" type="EventList_Type" minOccurs="0"
  77. maxOccurs="1" />
  78. <xsd:element name="HeaderFooter" type="HeaderFooter_Type" minOccurs="0"
  79. maxOccurs="1" />
  80. <xsd:element name="PublishSettings" type="PublishSettings_Type" minOccurs="0"
  81. maxOccurs="1" />
  82. <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
  83. processContents="lax" />
  84. </xsd:sequence>
  85. <xsd:anyAttribute namespace="##other" processContents="lax" />
  86. </xsd:complexType>
  87. <!--Sheet abstract base class-->
  88. <xsd:complexType name="Sheet_Type" abstract="true">
  89. <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  90. <xsd:element name="Cell" type="Cell_Type" minOccurs="0"
  91. maxOccurs="unbounded" />
  92. <xsd:element name="Trigger" type="Trigger_Type" minOccurs="0"
  93. maxOccurs="unbounded" />
  94. <xsd:element name="Section" type="Section_Type" minOccurs="0"
  95. maxOccurs="unbounded" />
  96. <!--Sheets can hold and roundtrip arbitrary, unknown sub-XML-->
  97. <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
  98. processContents="lax" />
  99. </xsd:sequence>
  100. <!--Style sheet IDs for inheritance-->
  101. <xsd:attribute name="LineStyle" type="xsd:unsignedInt" />
  102. <xsd:attribute name="FillStyle" type="xsd:unsignedInt" />
  103. <xsd:attribute name="TextStyle" type="xsd:unsignedInt" />
  104. <!--Sheets can hold and roundtrip arbitrary, unknown attributes-->
  105. <xsd:anyAttribute namespace="##other" processContents="lax" />
  106. </xsd:complexType>
  107. <!--Section base types-->
  108. <xsd:complexType name="Section_Type">
  109. <xsd:sequence>
  110. <!--Cells only show up directly under the Geometry section-->
  111. <xsd:element name="Cell" type="Cell_Type" minOccurs="0"
  112. maxOccurs="unbounded" />
  113. <xsd:element name="Trigger" type="Trigger_Type" minOccurs="0"
  114. maxOccurs="unbounded" />
  115. <!--All Sections have child rows-->
  116. <xsd:element name="Row" type="Row_Type" minOccurs="0" maxOccurs="unbounded" />
  117. </xsd:sequence>
  118. <xsd:attribute name="N" type="xsd:string" use="required" />
  119. <xsd:attribute name="Del" type="xsd:boolean" />
  120. <!--Only Geometry sections have indexes as there can be several in a Sheet-->
  121. <xsd:attribute name="IX" type="xsd:unsignedInt" />
  122. </xsd:complexType>
  123. <!--Row base types-->
  124. <xsd:complexType name="Row_Type">
  125. <xsd:sequence>
  126. <xsd:element name="Cell" type="Cell_Type" minOccurs="0"
  127. maxOccurs="unbounded" />
  128. <xsd:element name="Trigger" type="Trigger_Type" minOccurs="0"
  129. maxOccurs="unbounded" />
  130. </xsd:sequence>
  131. <!--The name attributes are only used on named rows-->
  132. <xsd:attribute name="N" type="xsd:string" />
  133. <xsd:attribute name="LocalName" type="xsd:string" />
  134. <!--The index attribute is only used on indexed rows-->
  135. <xsd:attribute name="IX" type="xsd:unsignedInt" />
  136. <!--The type attribute is only used on Rows in the Geometry section-->
  137. <xsd:attribute name="T" type="xsd:string" />
  138. <!--Any row can be locally deleted-->
  139. <xsd:attribute name="Del" type="xsd:boolean" />
  140. </xsd:complexType>
  141. <!--Cell base type-->
  142. <xsd:complexType name="Cell_Type" mixed="true">
  143. <xsd:sequence>
  144. <xsd:element name="RefBy" type="RefBy_Type" minOccurs="0"
  145. maxOccurs="unbounded" />
  146. </xsd:sequence>
  147. <xsd:attribute name="N" type="xsd:string" use="required" />
  148. <xsd:attribute name="U" type="xsd:string" />
  149. <xsd:attribute name="E" type="xsd:string" />
  150. <xsd:attribute name="F" type="xsd:string" />
  151. <xsd:attribute name="V" type="xsd:string" />
  152. </xsd:complexType>
  153. <!--Trigger base type-->
  154. <xsd:complexType name="Trigger_Type" mixed="true">
  155. <xsd:sequence>
  156. <xsd:element name="RefBy" type="RefBy_Type" minOccurs="0"
  157. maxOccurs="unbounded" />
  158. </xsd:sequence>
  159. <xsd:attribute name="N" type="xsd:string" use="required" />
  160. </xsd:complexType>
  161. <xsd:complexType name="DocumentSheet_Type">
  162. <xsd:complexContent>
  163. <xsd:extension base="Sheet_Type">
  164. <xsd:attribute name="Name" type="xsd:string" />
  165. <xsd:attribute name="NameU" type="xsd:string" />
  166. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  167. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  168. <xsd:attribute name="UniqueID" type="xsd:string" />
  169. </xsd:extension>
  170. </xsd:complexContent>
  171. </xsd:complexType>
  172. <xsd:complexType name="StyleSheet_Type">
  173. <xsd:complexContent>
  174. <xsd:extension base="Sheet_Type">
  175. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  176. <xsd:attribute name="Name" type="xsd:string" />
  177. <xsd:attribute name="NameU" type="xsd:string" />
  178. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  179. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  180. </xsd:extension>
  181. </xsd:complexContent>
  182. </xsd:complexType>
  183. <xsd:complexType name="PageSheet_Type">
  184. <xsd:complexContent>
  185. <xsd:extension base="Sheet_Type">
  186. <xsd:attribute name="UniqueID" type="xsd:string" />
  187. </xsd:extension>
  188. </xsd:complexContent>
  189. </xsd:complexType>
  190. <xsd:complexType name="ShapeSheet_Type">
  191. <xsd:complexContent>
  192. <xsd:extension base="Sheet_Type">
  193. <xsd:sequence>
  194. <!--Shape Text-->
  195. <xsd:element name="Text" type="Text_Type" minOccurs="0" maxOccurs="1" />
  196. <!--Legacy data fields-->
  197. <xsd:element name="Data1" type="Data_Type" minOccurs="0" maxOccurs="1" />
  198. <xsd:element name="Data2" type="Data_Type" minOccurs="0" maxOccurs="1" />
  199. <xsd:element name="Data3" type="Data_Type" minOccurs="0" maxOccurs="1" />
  200. <!--Foreign object data for images, OLE, ActiveX, etc.-->
  201. <xsd:element name="ForeignData" type="ForeignData_Type" minOccurs="0"
  202. maxOccurs="1" />
  203. <!--Sub-shapes if this is a group-->
  204. <xsd:element name="Shapes" type="Shapes_Type" minOccurs="0"
  205. maxOccurs="1" />
  206. </xsd:sequence>
  207. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  208. <xsd:attribute name="OriginalID" type="xsd:unsignedInt" />
  209. <xsd:attribute name="Del" type="xsd:boolean" />
  210. <xsd:attribute name="MasterShape" type="xsd:unsignedInt" />
  211. <xsd:attribute name="UniqueID" type="xsd:string" />
  212. <xsd:attribute name="Name" type="xsd:string" />
  213. <xsd:attribute name="NameU" type="xsd:string" />
  214. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  215. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  216. <xsd:attribute name="Master" type="xsd:unsignedInt" />
  217. <xsd:attribute name="Type" type="xsd:token" />
  218. </xsd:extension>
  219. </xsd:complexContent>
  220. </xsd:complexType>
  221. <xsd:complexType name="Text_Type" mixed="true">
  222. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  223. <xsd:element name="cp" type="cp_Type" minOccurs="0" maxOccurs="unbounded" />
  224. <xsd:element name="pp" type="pp_Type" minOccurs="0" maxOccurs="unbounded" />
  225. <xsd:element name="tp" type="tp_Type" minOccurs="0" maxOccurs="unbounded" />
  226. <xsd:element name="fld" type="fld_Type" minOccurs="0" maxOccurs="unbounded" />
  227. </xsd:choice>
  228. </xsd:complexType>
  229. <!--Text fields-->
  230. <xsd:complexType name="cp_Type">
  231. <xsd:attribute name="IX" type="xsd:unsignedInt" use="required" />
  232. </xsd:complexType>
  233. <xsd:complexType name="pp_Type">
  234. <xsd:attribute name="IX" type="xsd:unsignedInt" use="required" />
  235. </xsd:complexType>
  236. <xsd:complexType name="tp_Type">
  237. <xsd:attribute name="IX" type="xsd:unsignedInt" use="required" />
  238. </xsd:complexType>
  239. <xsd:complexType name="fld_Type">
  240. <xsd:simpleContent>
  241. <xsd:extension base="xsd:string">
  242. <xsd:attribute name="IX" type="xsd:unsignedInt" use="required" />
  243. </xsd:extension>
  244. </xsd:simpleContent>
  245. </xsd:complexType>
  246. <xsd:complexType name="Data_Type">
  247. <xsd:simpleContent>
  248. <xsd:extension base="xsd:string" />
  249. </xsd:simpleContent>
  250. </xsd:complexType>
  251. <xsd:complexType name="ForeignData_Type" mixed="true">
  252. <xsd:sequence>
  253. <xsd:element name="Rel" type="Rel_Type" minOccurs="1" maxOccurs="1" />
  254. </xsd:sequence>
  255. <xsd:attribute name="ForeignType" type="xsd:token" use="required" />
  256. <xsd:attribute name="ObjectType" type="xsd:unsignedInt" />
  257. <xsd:attribute name="ShowAsIcon" type="xsd:boolean" />
  258. <xsd:attribute name="ObjectWidth" type="xsd:double" />
  259. <xsd:attribute name="ObjectHeight" type="xsd:double" />
  260. <xsd:attribute name="MappingMode" type="xsd:unsignedShort" />
  261. <xsd:attribute name="ExtentX" type="xsd:double" />
  262. <xsd:attribute name="ExtentY" type="xsd:double" />
  263. <xsd:attribute name="CompressionType" type="xsd:token" />
  264. <xsd:attribute name="CompressionLevel" type="xsd:double" />
  265. </xsd:complexType>
  266. <xsd:complexType name="DocumentSettings_Type">
  267. <xsd:all>
  268. <xsd:element name="GlueSettings" type="GlueSettings_Type" minOccurs="0"
  269. maxOccurs="1" />
  270. <xsd:element name="SnapSettings" type="SnapSettings_Type" minOccurs="0"
  271. maxOccurs="1" />
  272. <xsd:element name="SnapExtensions" type="SnapExtensions_Type" minOccurs="0"
  273. maxOccurs="1" />
  274. <xsd:element name="SnapAngles" type="SnapAngles_Type" minOccurs="0"
  275. maxOccurs="1" />
  276. <xsd:element name="DynamicGridEnabled" type="DynamicGridEnabled_Type"
  277. minOccurs="0" maxOccurs="1" />
  278. <xsd:element name="ProtectStyles" type="ProtectStyles_Type" minOccurs="0"
  279. maxOccurs="1" />
  280. <xsd:element name="ProtectShapes" type="ProtectShapes_Type" minOccurs="0"
  281. maxOccurs="1" />
  282. <xsd:element name="ProtectMasters" type="ProtectMasters_Type" minOccurs="0"
  283. maxOccurs="1" />
  284. <xsd:element name="ProtectBkgnds" type="ProtectBkgnds_Type" minOccurs="0"
  285. maxOccurs="1" />
  286. <xsd:element name="CustomMenusFile" type="CustomMenusFile_Type" minOccurs="0"
  287. maxOccurs="1" />
  288. <xsd:element name="CustomToolbarsFile" type="CustomToolbarsFile_Type"
  289. minOccurs="0" maxOccurs="1" />
  290. <xsd:element name="AttachedToolbars" type="AttachedToolbars_Type" minOccurs="0"
  291. maxOccurs="1" />
  292. </xsd:all>
  293. <xsd:attribute name="TopPage" type="xsd:unsignedInt" />
  294. <xsd:attribute name="DefaultTextStyle" type="xsd:unsignedInt" />
  295. <xsd:attribute name="DefaultLineStyle" type="xsd:unsignedInt" />
  296. <xsd:attribute name="DefaultFillStyle" type="xsd:unsignedInt" />
  297. <xsd:attribute name="DefaultGuideStyle" type="xsd:unsignedInt" />
  298. </xsd:complexType>
  299. <xsd:complexType name="GlueSettings_Type">
  300. <xsd:simpleContent>
  301. <xsd:extension base="xsd:int" />
  302. </xsd:simpleContent>
  303. </xsd:complexType>
  304. <xsd:complexType name="SnapSettings_Type">
  305. <xsd:simpleContent>
  306. <xsd:extension base="xsd:int" />
  307. </xsd:simpleContent>
  308. </xsd:complexType>
  309. <xsd:complexType name="SnapExtensions_Type">
  310. <xsd:simpleContent>
  311. <xsd:extension base="xsd:int" />
  312. </xsd:simpleContent>
  313. </xsd:complexType>
  314. <xsd:complexType name="SnapAngles_Type">
  315. <xsd:sequence>
  316. <xsd:element name="SnapAngle" type="SnapAngle_Type" minOccurs="0"
  317. maxOccurs="unbounded" />
  318. </xsd:sequence>
  319. </xsd:complexType>
  320. <xsd:complexType name="SnapAngle_Type">
  321. <xsd:simpleContent>
  322. <xsd:extension base="xsd:double" />
  323. </xsd:simpleContent>
  324. </xsd:complexType>
  325. <xsd:complexType name="DynamicGridEnabled_Type">
  326. <xsd:simpleContent>
  327. <xsd:extension base="xsd:boolean" />
  328. </xsd:simpleContent>
  329. </xsd:complexType>
  330. <xsd:complexType name="ProtectStyles_Type">
  331. <xsd:simpleContent>
  332. <xsd:extension base="xsd:boolean" />
  333. </xsd:simpleContent>
  334. </xsd:complexType>
  335. <xsd:complexType name="ProtectShapes_Type">
  336. <xsd:simpleContent>
  337. <xsd:extension base="xsd:boolean" />
  338. </xsd:simpleContent>
  339. </xsd:complexType>
  340. <xsd:complexType name="ProtectMasters_Type">
  341. <xsd:simpleContent>
  342. <xsd:extension base="xsd:boolean" />
  343. </xsd:simpleContent>
  344. </xsd:complexType>
  345. <xsd:complexType name="ProtectBkgnds_Type">
  346. <xsd:simpleContent>
  347. <xsd:extension base="xsd:boolean" />
  348. </xsd:simpleContent>
  349. </xsd:complexType>
  350. <xsd:complexType name="CustomMenusFile_Type">
  351. <xsd:simpleContent>
  352. <xsd:extension base="xsd:string" />
  353. </xsd:simpleContent>
  354. </xsd:complexType>
  355. <xsd:complexType name="CustomToolbarsFile_Type">
  356. <xsd:simpleContent>
  357. <xsd:extension base="xsd:string" />
  358. </xsd:simpleContent>
  359. </xsd:complexType>
  360. <xsd:complexType name="AttachedToolbars_Type">
  361. <xsd:simpleContent>
  362. <xsd:extension base="xsd:base64Binary" />
  363. </xsd:simpleContent>
  364. </xsd:complexType>
  365. <xsd:complexType name="Colors_Type">
  366. <xsd:sequence>
  367. <xsd:element name="ColorEntry" type="ColorEntry_Type" minOccurs="1"
  368. maxOccurs="unbounded" />
  369. </xsd:sequence>
  370. </xsd:complexType>
  371. <xsd:complexType name="ColorEntry_Type">
  372. <xsd:attribute name="IX" type="xsd:unsignedInt" use="required" />
  373. <xsd:attribute name="RGB" type="xsd:string" use="required" />
  374. </xsd:complexType>
  375. <xsd:complexType name="FaceNames_Type">
  376. <xsd:sequence>
  377. <xsd:element name="FaceName" type="FaceName_Type" minOccurs="1"
  378. maxOccurs="unbounded" />
  379. </xsd:sequence>
  380. </xsd:complexType>
  381. <xsd:complexType name="FaceName_Type">
  382. <xsd:attribute name="NameU" type="xsd:string" use="required" />
  383. <xsd:attribute name="UnicodeRanges" type="xsd:string" />
  384. <xsd:attribute name="CharSets" type="xsd:string" />
  385. <xsd:attribute name="Panos" type="xsd:string" />
  386. <xsd:attribute name="Panose" type="xsd:string" />
  387. <xsd:attribute name="Flags" type="xsd:unsignedInt" />
  388. </xsd:complexType>
  389. <xsd:complexType name="StyleSheets_Type">
  390. <xsd:sequence>
  391. <xsd:element name="StyleSheet" type="StyleSheet_Type" minOccurs="0"
  392. maxOccurs="unbounded" />
  393. </xsd:sequence>
  394. </xsd:complexType>
  395. <xsd:complexType name="Masters_Type">
  396. <xsd:sequence>
  397. <xsd:element name="Master" type="Master_Type" minOccurs="0"
  398. maxOccurs="unbounded" />
  399. <xsd:element name="MasterShortcut" type="MasterShortcut_Type" minOccurs="0"
  400. maxOccurs="unbounded" />
  401. </xsd:sequence>
  402. </xsd:complexType>
  403. <xsd:complexType name="Master_Type">
  404. <xsd:all>
  405. <xsd:element name="PageSheet" type="PageSheet_Type" minOccurs="0"
  406. maxOccurs="1" />
  407. <xsd:element name="Rel" type="Rel_Type" minOccurs="1" maxOccurs="1" />
  408. <xsd:element name="Icon" type="Icon_Type" minOccurs="0" maxOccurs="1" />
  409. </xsd:all>
  410. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  411. <xsd:attribute name="BaseID" type="xsd:string" />
  412. <xsd:attribute name="UniqueID" type="xsd:string" />
  413. <xsd:attribute name="MatchByName" type="xsd:boolean" />
  414. <xsd:attribute name="Name" type="xsd:string" />
  415. <xsd:attribute name="NameU" type="xsd:string" />
  416. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  417. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  418. <xsd:attribute name="IconSize" type="xsd:unsignedShort" />
  419. <xsd:attribute name="PatternFlags" type="xsd:unsignedShort" />
  420. <xsd:attribute name="Prompt" type="xsd:string" />
  421. <xsd:attribute name="Hidden" type="xsd:boolean" />
  422. <xsd:attribute name="IconUpdate" type="xsd:boolean" />
  423. <xsd:attribute name="AlignName" type="xsd:unsignedShort" />
  424. <xsd:attribute name="MasterType" type="xsd:unsignedShort" />
  425. </xsd:complexType>
  426. <xsd:complexType name="Icon_Type">
  427. <xsd:simpleContent>
  428. <xsd:extension base="xsd:base64Binary" />
  429. </xsd:simpleContent>
  430. </xsd:complexType>
  431. <xsd:complexType name="MasterShortcut_Type">
  432. <xsd:all>
  433. <xsd:element name="Icon" type="Icon_Type" minOccurs="0" maxOccurs="1" />
  434. </xsd:all>
  435. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  436. <xsd:attribute name="Name" type="xsd:string" />
  437. <xsd:attribute name="NameU" type="xsd:string" />
  438. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  439. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  440. <xsd:attribute name="IconSize" type="xsd:unsignedShort" />
  441. <xsd:attribute name="PatternFlags" type="xsd:unsignedShort" />
  442. <xsd:attribute name="Prompt" type="xsd:string" />
  443. <xsd:attribute name="ShortcutURL" type="xsd:string" />
  444. <xsd:attribute name="ShortcutHelp" type="xsd:string" />
  445. <xsd:attribute name="AlignName" type="xsd:unsignedShort" />
  446. <xsd:attribute name="MasterType" type="xsd:unsignedShort" />
  447. </xsd:complexType>
  448. <xsd:complexType name="PageContents_Type">
  449. <xsd:sequence>
  450. <xsd:element name="Shapes" type="Shapes_Type" minOccurs="0" maxOccurs="1" />
  451. <xsd:element name="Connects" type="Connects_Type" minOccurs="0"
  452. maxOccurs="1" />
  453. </xsd:sequence>
  454. </xsd:complexType>
  455. <xsd:complexType name="Shapes_Type">
  456. <xsd:sequence>
  457. <xsd:element name="Shape" type="ShapeSheet_Type" minOccurs="0"
  458. maxOccurs="unbounded" />
  459. </xsd:sequence>
  460. </xsd:complexType>
  461. <xsd:complexType name="Connects_Type">
  462. <xsd:sequence>
  463. <xsd:element name="Connect" type="Connect_Type" minOccurs="0"
  464. maxOccurs="unbounded" />
  465. </xsd:sequence>
  466. </xsd:complexType>
  467. <xsd:complexType name="Connect_Type">
  468. <xsd:attribute name="FromSheet" type="xsd:unsignedInt" use="required" />
  469. <xsd:attribute name="FromCell" type="xsd:string" />
  470. <xsd:attribute name="FromPart" type="xsd:int" />
  471. <xsd:attribute name="ToSheet" type="xsd:unsignedInt" use="required" />
  472. <xsd:attribute name="ToCell" type="xsd:string" />
  473. <xsd:attribute name="ToPart" type="xsd:int" />
  474. </xsd:complexType>
  475. <xsd:complexType name="Pages_Type">
  476. <xsd:sequence>
  477. <xsd:element name="Page" type="Page_Type" minOccurs="0"
  478. maxOccurs="unbounded" />
  479. </xsd:sequence>
  480. </xsd:complexType>
  481. <xsd:complexType name="Page_Type">
  482. <xsd:all>
  483. <xsd:element name="PageSheet" type="PageSheet_Type" minOccurs="0"
  484. maxOccurs="1" />
  485. <xsd:element name="Rel" type="Rel_Type" minOccurs="1" maxOccurs="1" />
  486. </xsd:all>
  487. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  488. <xsd:attribute name="Name" type="xsd:string" />
  489. <xsd:attribute name="NameU" type="xsd:string" />
  490. <xsd:attribute name="IsCustomName" type="xsd:boolean" />
  491. <xsd:attribute name="IsCustomNameU" type="xsd:boolean" />
  492. <xsd:attribute name="Background" type="xsd:boolean" />
  493. <xsd:attribute name="BackPage" type="xsd:unsignedInt" />
  494. <xsd:attribute name="ViewScale" type="xsd:double" />
  495. <xsd:attribute name="ViewCenterX" type="xsd:double" />
  496. <xsd:attribute name="ViewCenterY" type="xsd:double" />
  497. <xsd:attribute name="ReviewerID" type="xsd:unsignedInt" />
  498. <xsd:attribute name="AssociatedPage" type="xsd:unsignedInt" />
  499. </xsd:complexType>
  500. <xsd:complexType name="EventList_Type">
  501. <xsd:sequence>
  502. <xsd:element name="EventItem" type="EventItem_Type" minOccurs="0"
  503. maxOccurs="unbounded" />
  504. </xsd:sequence>
  505. </xsd:complexType>
  506. <xsd:complexType name="EventItem_Type">
  507. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  508. <xsd:attribute name="Action" type="xsd:unsignedShort" use="required" />
  509. <xsd:attribute name="EventCode" type="xsd:unsignedShort" use="required" />
  510. <xsd:attribute name="Enabled" type="xsd:boolean" />
  511. <xsd:attribute name="Target" type="xsd:string" use="required" />
  512. <xsd:attribute name="TargetArgs" type="xsd:string" use="required" />
  513. </xsd:complexType>
  514. <xsd:complexType name="HeaderFooter_Type">
  515. <xsd:all>
  516. <xsd:element name="HeaderMargin" type="HeaderMargin_Type" minOccurs="0"
  517. maxOccurs="1" />
  518. <xsd:element name="FooterMargin" type="FooterMargin_Type" minOccurs="0"
  519. maxOccurs="1" />
  520. <xsd:element name="HeaderLeft" type="HeaderLeft_Type" minOccurs="0"
  521. maxOccurs="1" />
  522. <xsd:element name="HeaderCenter" type="HeaderCenter_Type" minOccurs="0"
  523. maxOccurs="1" />
  524. <xsd:element name="HeaderRight" type="HeaderRight_Type" minOccurs="0"
  525. maxOccurs="1" />
  526. <xsd:element name="FooterLeft" type="FooterLeft_Type" minOccurs="0"
  527. maxOccurs="1" />
  528. <xsd:element name="FooterCenter" type="FooterCenter_Type" minOccurs="0"
  529. maxOccurs="1" />
  530. <xsd:element name="FooterRight" type="FooterRight_Type" minOccurs="0"
  531. maxOccurs="1" />
  532. <xsd:element name="HeaderFooterFont" type="HeaderFooterFont_Type" minOccurs="0"
  533. maxOccurs="1" />
  534. </xsd:all>
  535. <xsd:attribute name="HeaderFooterColor" type="xsd:string" />
  536. </xsd:complexType>
  537. <xsd:complexType name="HeaderMargin_Type">
  538. <xsd:simpleContent>
  539. <xsd:extension base="xsd:double">
  540. <xsd:attribute name="Unit" type="xsd:string" />
  541. </xsd:extension>
  542. </xsd:simpleContent>
  543. </xsd:complexType>
  544. <xsd:complexType name="FooterMargin_Type">
  545. <xsd:simpleContent>
  546. <xsd:extension base="xsd:double">
  547. <xsd:attribute name="Unit" type="xsd:string" />
  548. </xsd:extension>
  549. </xsd:simpleContent>
  550. </xsd:complexType>
  551. <xsd:complexType name="HeaderLeft_Type">
  552. <xsd:simpleContent>
  553. <xsd:extension base="xsd:string" />
  554. </xsd:simpleContent>
  555. </xsd:complexType>
  556. <xsd:complexType name="HeaderCenter_Type">
  557. <xsd:simpleContent>
  558. <xsd:extension base="xsd:string" />
  559. </xsd:simpleContent>
  560. </xsd:complexType>
  561. <xsd:complexType name="HeaderRight_Type">
  562. <xsd:simpleContent>
  563. <xsd:extension base="xsd:string" />
  564. </xsd:simpleContent>
  565. </xsd:complexType>
  566. <xsd:complexType name="FooterLeft_Type">
  567. <xsd:simpleContent>
  568. <xsd:extension base="xsd:string" />
  569. </xsd:simpleContent>
  570. </xsd:complexType>
  571. <xsd:complexType name="FooterCenter_Type">
  572. <xsd:simpleContent>
  573. <xsd:extension base="xsd:string" />
  574. </xsd:simpleContent>
  575. </xsd:complexType>
  576. <xsd:complexType name="FooterRight_Type">
  577. <xsd:simpleContent>
  578. <xsd:extension base="xsd:string" />
  579. </xsd:simpleContent>
  580. </xsd:complexType>
  581. <xsd:complexType name="HeaderFooterFont_Type">
  582. <xsd:attribute name="Height" type="xsd:int" />
  583. <xsd:attribute name="Width" type="xsd:int" />
  584. <xsd:attribute name="Escapement" type="xsd:int" />
  585. <xsd:attribute name="Orientation" type="xsd:int" />
  586. <xsd:attribute name="Weight" type="xsd:int" />
  587. <xsd:attribute name="Italic" type="xsd:unsignedByte" />
  588. <xsd:attribute name="Underline" type="xsd:unsignedByte" />
  589. <xsd:attribute name="StrikeOut" type="xsd:unsignedByte" />
  590. <xsd:attribute name="CharSet" type="xsd:unsignedByte" />
  591. <xsd:attribute name="OutPrecision" type="xsd:unsignedByte" />
  592. <xsd:attribute name="ClipPrecision" type="xsd:unsignedByte" />
  593. <xsd:attribute name="Quality" type="xsd:unsignedByte" />
  594. <xsd:attribute name="PitchAndFamily" type="xsd:unsignedByte" />
  595. <xsd:attribute name="FaceName" type="xsd:string" />
  596. </xsd:complexType>
  597. <xsd:complexType name="DataConnections_Type">
  598. <xsd:sequence>
  599. <xsd:element name="DataConnection" type="DataConnection_Type" minOccurs="1"
  600. maxOccurs="unbounded" />
  601. </xsd:sequence>
  602. <xsd:attribute name="NextID" type="xsd:unsignedInt" use="required" />
  603. </xsd:complexType>
  604. <xsd:complexType name="DataConnection_Type">
  605. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  606. <xsd:attribute name="FileName" type="xsd:string" use="required" />
  607. <xsd:attribute name="ConnectionString" type="xsd:string" />
  608. <xsd:attribute name="Command" type="xsd:string" />
  609. <xsd:attribute name="FriendlyName" type="xsd:string" />
  610. <xsd:attribute name="Timeout" type="xsd:unsignedInt" />
  611. <xsd:attribute name="AlwaysUseConnectionFile" type="xsd:boolean" />
  612. </xsd:complexType>
  613. <xsd:complexType name="DataRecordSets_Type">
  614. <xsd:sequence>
  615. <xsd:element name="DataRecordSet" type="DataRecordSet_Type" minOccurs="0"
  616. maxOccurs="unbounded" />
  617. </xsd:sequence>
  618. <xsd:attribute name="NextID" type="xsd:unsignedInt" use="required" />
  619. <xsd:attribute name="ActiveRecordsetID" type="xsd:unsignedInt" />
  620. <xsd:attribute name="DataWindowOrder" type="xsd:string" />
  621. </xsd:complexType>
  622. <xsd:complexType name="DataRecordSet_Type">
  623. <xsd:sequence>
  624. <xsd:element name="Rel" type="Rel_Type" minOccurs="1" maxOccurs="1" />
  625. <xsd:element name="DataColumns" type="DataColumns_Type" minOccurs="1"
  626. maxOccurs="1" />
  627. <xsd:element name="PrimaryKey" type="PrimaryKey_Type" minOccurs="0"
  628. maxOccurs="unbounded" />
  629. <xsd:element name="RowMap" type="RowMap_Type" minOccurs="0"
  630. maxOccurs="unbounded" />
  631. <xsd:element name="RefreshConflict" type="RefreshConflict_Type" minOccurs="0"
  632. maxOccurs="unbounded" />
  633. <xsd:element name="AutoLinkComparison" type="AutoLinkComparison_Type"
  634. minOccurs="0" maxOccurs="unbounded" />
  635. </xsd:sequence>
  636. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  637. <xsd:attribute name="ConnectionID" type="xsd:unsignedInt" />
  638. <xsd:attribute name="Command" type="xsd:string" />
  639. <xsd:attribute name="Options" type="xsd:unsignedInt" />
  640. <xsd:attribute name="TimeRefreshed" type="xsd:dateTime" />
  641. <xsd:attribute name="NextRowID" type="xsd:unsignedInt" />
  642. <xsd:attribute name="Name" type="xsd:string" />
  643. <xsd:attribute name="RowOrder" type="xsd:boolean" />
  644. <xsd:attribute name="RefreshOverwriteAll" type="xsd:boolean" />
  645. <xsd:attribute name="RefreshNoReconciliationUI" type="xsd:boolean" />
  646. <xsd:attribute name="RefreshInterval" type="xsd:unsignedInt" />
  647. <xsd:attribute name="ReplaceLinks" type="xsd:unsignedInt" />
  648. <xsd:attribute name="Checksum" type="xsd:unsignedInt" />
  649. </xsd:complexType>
  650. <xsd:complexType name="DataColumns_Type">
  651. <xsd:sequence>
  652. <xsd:element name="DataColumn" type="DataColumn_Type" minOccurs="1"
  653. maxOccurs="unbounded" />
  654. </xsd:sequence>
  655. <xsd:attribute name="SortColumn" type="xsd:string" />
  656. <xsd:attribute name="SortAsc" type="xsd:boolean" />
  657. </xsd:complexType>
  658. <xsd:complexType name="DataColumn_Type">
  659. <xsd:attribute name="ColumnNameID" type="xsd:string" use="required" />
  660. <xsd:attribute name="Name" type="xsd:string" use="required" />
  661. <xsd:attribute name="Label" type="xsd:string" use="required" />
  662. <xsd:attribute name="OrigLabel" type="xsd:string" />
  663. <xsd:attribute name="LangID" type="xsd:unsignedInt" />
  664. <xsd:attribute name="Calendar" type="xsd:unsignedShort" />
  665. <xsd:attribute name="DataType" type="xsd:unsignedShort" />
  666. <xsd:attribute name="UnitType" type="xsd:string" />
  667. <xsd:attribute name="Currency" type="xsd:unsignedShort" />
  668. <xsd:attribute name="Degree" type="xsd:unsignedInt" />
  669. <xsd:attribute name="DisplayWidth" type="xsd:unsignedInt" />
  670. <xsd:attribute name="DisplayOrder" type="xsd:unsignedInt" />
  671. <xsd:attribute name="Mapped" type="xsd:boolean" />
  672. <xsd:attribute name="Hyperlink" type="xsd:boolean" />
  673. </xsd:complexType>
  674. <xsd:complexType name="PrimaryKey_Type">
  675. <xsd:sequence>
  676. <xsd:element name="RowKeyValue" type="RowKeyValue_Type" minOccurs="0"
  677. maxOccurs="unbounded" />
  678. </xsd:sequence>
  679. <xsd:attribute name="ColumnNameID" type="xsd:string" use="required" />
  680. </xsd:complexType>
  681. <xsd:complexType name="RowKeyValue_Type">
  682. <xsd:attribute name="RowID" type="xsd:unsignedInt" use="required" />
  683. <xsd:attribute name="Value" type="xsd:string" use="required" />
  684. </xsd:complexType>
  685. <xsd:complexType name="RowMap_Type">
  686. <xsd:attribute name="RowID" type="xsd:unsignedInt" use="required" />
  687. <xsd:attribute name="PageID" type="xsd:unsignedInt" use="required" />
  688. <xsd:attribute name="ShapeID" type="xsd:unsignedInt" use="required" />
  689. </xsd:complexType>
  690. <xsd:complexType name="RefreshConflict_Type">
  691. <xsd:attribute name="RowID" type="xsd:unsignedInt" use="required" />
  692. <xsd:attribute name="ShapeID" type="xsd:unsignedInt" use="required" />
  693. <xsd:attribute name="PageID" type="xsd:unsignedInt" use="required" />
  694. </xsd:complexType>
  695. <xsd:complexType name="AutoLinkComparison_Type">
  696. <xsd:attribute name="ColumnName" type="xsd:string" use="required" />
  697. <xsd:attribute name="ContextType" type="xsd:unsignedInt" use="required" />
  698. <xsd:attribute name="ContextTypeLabel" type="xsd:string" />
  699. </xsd:complexType>
  700. <xsd:complexType name="PublishSettings_Type">
  701. <xsd:sequence>
  702. <xsd:element name="PublishedPage" type="PublishedPage_Type" minOccurs="0"
  703. maxOccurs="unbounded" />
  704. <xsd:element name="RefreshableData" type="RefreshableData_Type" minOccurs="0"
  705. maxOccurs="unbounded" />
  706. </xsd:sequence>
  707. </xsd:complexType>
  708. <xsd:complexType name="Comments_Type">
  709. <xsd:sequence>
  710. <xsd:element name="AuthorList" type="AuthorList_Type" minOccurs="0"
  711. maxOccurs="1" />
  712. <xsd:element name="CommentList" type="CommentList_Type" minOccurs="0"
  713. maxOccurs="1" />
  714. </xsd:sequence>
  715. <xsd:attribute name="ShowCommentTags" type="xsd:boolean" />
  716. </xsd:complexType>
  717. <xsd:complexType name="AuthorList_Type">
  718. <xsd:sequence>
  719. <xsd:element name="AuthorEntry" type="AuthorEntry_Type" minOccurs="0"
  720. maxOccurs="unbounded" />
  721. </xsd:sequence>
  722. </xsd:complexType>
  723. <xsd:complexType name="AuthorEntry_Type">
  724. <xsd:attribute name="Name" type="xsd:string" />
  725. <xsd:attribute name="Initials" type="xsd:string" />
  726. <xsd:attribute name="ResolutionID" type="xsd:string" />
  727. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  728. </xsd:complexType>
  729. <xsd:complexType name="CommentList_Type">
  730. <xsd:sequence>
  731. <xsd:element name="CommentEntry" type="CommentEntry_Type" minOccurs="0"
  732. maxOccurs="unbounded" />
  733. </xsd:sequence>
  734. </xsd:complexType>
  735. <xsd:complexType name="CommentEntry_Type">
  736. <xsd:simpleContent>
  737. <xsd:extension base="xsd:string">
  738. <xsd:attribute name="AuthorID" type="xsd:unsignedInt" use="required" />
  739. <xsd:attribute name="PageID" type="xsd:unsignedInt" use="required" />
  740. <xsd:attribute name="ShapeID" type="xsd:unsignedInt" />
  741. <xsd:attribute name="Date" type="xsd:dateTime" use="required" />
  742. <xsd:attribute name="EditDate" type="xsd:dateTime" />
  743. <xsd:attribute name="Done" type="xsd:boolean" />
  744. <xsd:attribute name="CommentID" type="xsd:unsignedInt" use="required" />
  745. <xsd:attribute name="AutoCommentType" type="xsd:unsignedInt" />
  746. </xsd:extension>
  747. </xsd:simpleContent>
  748. </xsd:complexType>
  749. <xsd:complexType name="PublishedPage_Type">
  750. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  751. </xsd:complexType>
  752. <xsd:complexType name="RefreshableData_Type">
  753. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  754. </xsd:complexType>
  755. <xsd:complexType name="RefBy_Type">
  756. <xsd:attribute name="T" type="xsd:string" use="required" />
  757. <xsd:attribute name="ID" type="xsd:unsignedInt" use="required" />
  758. </xsd:complexType>
  759. <xsd:complexType name="Extensions_Type">
  760. <xsd:sequence>
  761. <xsd:element name="CellDef" type="CellDef_Type" minOccurs="0"
  762. maxOccurs="unbounded" />
  763. <xsd:element name="FunctionDef" type="FunctionDef_Type" minOccurs="0"
  764. maxOccurs="unbounded" />
  765. <xsd:element name="SectionDef" type="SectionDef_Type" minOccurs="0"
  766. maxOccurs="unbounded" />
  767. </xsd:sequence>
  768. </xsd:complexType>
  769. <xsd:complexType name="CellDef_Type">
  770. <xsd:attribute name="N" type="xsd:string" use="required" />
  771. <xsd:attribute name="T" type="xsd:token" use="required" />
  772. <xsd:attribute name="F" type="xsd:string" />
  773. <xsd:attribute name="IX" type="xsd:unsignedByte" />
  774. <xsd:attribute name="S" type="xsd:unsignedByte" />
  775. </xsd:complexType>
  776. <xsd:complexType name="FunctionDef_Type">
  777. <xsd:attribute name="N" type="xsd:string" use="required" />
  778. </xsd:complexType>
  779. <xsd:complexType name="SectionDef_Type">
  780. <xsd:sequence>
  781. <xsd:element name="CellDef" type="CellDef_Type" minOccurs="0"
  782. maxOccurs="unbounded" />
  783. <xsd:element name="RowDef" type="RowDef_Type" minOccurs="0" maxOccurs="1" />
  784. </xsd:sequence>
  785. <xsd:attribute name="N" type="xsd:string" use="required" />
  786. <xsd:attribute name="T" type="xsd:string" />
  787. <xsd:attribute name="S" type="xsd:unsignedByte" />
  788. </xsd:complexType>
  789. <xsd:complexType name="RowDef_Type">
  790. <xsd:sequence>
  791. <xsd:element name="CellDef" type="CellDef_Type" minOccurs="0"
  792. maxOccurs="unbounded" />
  793. </xsd:sequence>
  794. </xsd:complexType>
  795. <xsd:complexType name="Rel_Type">
  796. <xsd:attribute ref="r:id" use="required"/>
  797. </xsd:complexType>
  798. </xsd:schema>