wml-2012.xsd 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2012/wordml" targetNamespace="http://schemas.microsoft.com/office/word/2012/wordml">
  2. <xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
  3. <xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
  4. <xsd:element name="color" type="w12:CT_Color"/>
  5. <xsd:simpleType name="ST_SdtAppearance">
  6. <xsd:restriction base="xsd:string">
  7. <xsd:enumeration value="boundingBox"/>
  8. <xsd:enumeration value="tags"/>
  9. <xsd:enumeration value="hidden"/>
  10. </xsd:restriction>
  11. </xsd:simpleType>
  12. <xsd:element name="dataBinding" type="w12:CT_DataBinding"/>
  13. <xsd:complexType name="CT_SdtAppearance">
  14. <xsd:attribute name="val" type="ST_SdtAppearance"/>
  15. </xsd:complexType>
  16. <xsd:element name="appearance" type="CT_SdtAppearance"/>
  17. <xsd:complexType name="CT_CommentsEx">
  18. <xsd:sequence>
  19. <xsd:element name="commentEx" type="CT_CommentEx" minOccurs="0" maxOccurs="unbounded"/>
  20. </xsd:sequence>
  21. </xsd:complexType>
  22. <xsd:complexType name="CT_CommentEx">
  23. <xsd:attribute name="paraId" type="w12:ST_LongHexNumber" use="required"/>
  24. <xsd:attribute name="paraIdParent" type="w12:ST_LongHexNumber" use="optional"/>
  25. <xsd:attribute name="done" type="s:ST_OnOff" use="optional"/>
  26. </xsd:complexType>
  27. <xsd:element name="commentsEx" type="CT_CommentsEx"/>
  28. <xsd:complexType name="CT_People">
  29. <xsd:sequence>
  30. <xsd:element name="person" type="CT_Person" minOccurs="0" maxOccurs="unbounded"/>
  31. </xsd:sequence>
  32. </xsd:complexType>
  33. <xsd:complexType name="CT_PresenceInfo">
  34. <xsd:attribute name="providerId" type="xsd:string" use="required"/>
  35. <xsd:attribute name="userId" type="xsd:string" use="required"/>
  36. </xsd:complexType>
  37. <xsd:complexType name="CT_Person">
  38. <xsd:sequence>
  39. <xsd:element name="presenceInfo" type="CT_PresenceInfo" minOccurs="0" maxOccurs="1"/>
  40. </xsd:sequence>
  41. <xsd:attribute name="author" type="s:ST_String" use="required"/>
  42. </xsd:complexType>
  43. <xsd:element name="people" type="CT_People"/>
  44. <xsd:complexType name="CT_SdtRepeatedSection">
  45. <xsd:sequence>
  46. <xsd:element name="sectionTitle" type="w12:CT_String" minOccurs="0"/>
  47. <xsd:element name="doNotAllowInsertDeleteSection" type="w12:CT_OnOff" minOccurs="0"/>
  48. </xsd:sequence>
  49. </xsd:complexType>
  50. <xsd:simpleType name="ST_Guid">
  51. <xsd:restriction base="xsd:token">
  52. <xsd:pattern value="\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}"/>
  53. </xsd:restriction>
  54. </xsd:simpleType>
  55. <xsd:complexType name="CT_Guid">
  56. <xsd:attribute name="val" type="ST_Guid"/>
  57. </xsd:complexType>
  58. <xsd:element name="repeatingSection" type="CT_SdtRepeatedSection"/>
  59. <xsd:element name="repeatingSectionItem" type="w12:CT_Empty"/>
  60. <xsd:element name="chartTrackingRefBased" type="w12:CT_OnOff"/>
  61. <xsd:element name="collapsed" type="w12:CT_OnOff"/>
  62. <xsd:element name="docId" type="CT_Guid"/>
  63. <xsd:element name="footnoteColumns" type="w12:CT_DecimalNumber"/>
  64. <xsd:element name="webExtensionLinked" type="w12:CT_OnOff"/>
  65. <xsd:element name="webExtensionCreated" type="w12:CT_OnOff"/>
  66. <xsd:attribute name="restartNumberingAfterBreak" type="s:ST_OnOff"/>
  67. </xsd:schema>