Author: fanningpj
Date: Tue Jun 28 10:41:29 2022
New Revision: 1902309

URL: http://svn.apache.org/viewvc?rev=1902309&view=rev
Log:
[bug-66146] poi-ooxml-full: generate classes for threadedComments and word12 
xsds

Added:
    
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/word12.xsd
    
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments.xsd
    
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments2.xsd
Modified:
    poi/trunk/poi-ooxml-full/build.gradle

Modified: poi/trunk/poi-ooxml-full/build.gradle
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-full/build.gradle?rev=1902309&r1=1902308&r2=1902309&view=diff
==============================================================================
--- poi/trunk/poi-ooxml-full/build.gradle (original)
+++ poi/trunk/poi-ooxml-full/build.gradle Tue Jun 28 10:41:29 2022
@@ -86,7 +86,8 @@ task cacheJava9(type: Copy) {
 task copy_xsds(type: Copy) {
     from ('src/main/xmlschema/org/apache/poi/xdgf')
     from ('src/main/xmlschema/org/apache/poi/schemas') {
-        include 'XAdES*.xsd', '*.xsdconfig', 'xmldsig*.xsd', 
'ooxmlSchemas.xsdconfig', 'markup-compatibility.xsd', 'vmlDrawing.xsd', 
'dml-drawing.xsd'
+        include 'XAdES*.xsd', '*.xsdconfig', 'xmldsig*.xsd', 
'ooxmlSchemas.xsdconfig', 'markup-compatibility.xsd',
+            'vmlDrawing.xsd', 'word12.xsd', 'xlThreaded*.xsd', 
'dml-drawing.xsd'
         exclude '*.zip'
     }
     from ('src/main/xmlschema/org/apache/poi/poifs/crypt') {

Added: 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/word12.xsd
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/word12.xsd?rev=1902309&view=auto
==============================================================================
--- 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/word12.xsd 
(added)
+++ 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/word12.xsd 
Tue Jun 28 10:41:29 2022
@@ -0,0 +1,66 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            
xmlns:w06="http://schemas.openxmlformats.org/wordprocessingml/2006/main";
+            
xmlns:od06st="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";>
+    <xsd:import id="w12" 
namespace="http://schemas.microsoft.com/office/word/2012/wordml"; 
schemaLocation="word12.xsd"/>
+    <xsd:element name="color" type="w06:CT_Color"/>
+    <xsd:simpleType name="ST_SdtAppearance">
+        <xsd:restriction base="xsd:string">
+            <xsd:enumeration value="boundingBox"/>
+            <xsd:enumeration value="tags"/>
+            <xsd:enumeration value="hidden"/>
+        </xsd:restriction>
+    </xsd:simpleType>
+    <xsd:element name="dataBinding" type="w06:CT_DataBinding"/>
+    <xsd:complexType name="CT_SdtAppearance">
+        <xsd:attribute name="val" type="ST_SdtAppearance"/>
+    </xsd:complexType>
+    <xsd:element name="appearance" type="CT_SdtAppearance"/>
+    <xsd:complexType name="CT_CommentsEx">
+        <xsd:sequence>
+            <xsd:element name="commentEx" type="CT_CommentEx" minOccurs="0" 
maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_CommentEx">
+        <xsd:attribute name="paraId" type="w06:ST_LongHexNumber" 
use="required"/>
+        <xsd:attribute name="paraIdParent" type="w06:ST_LongHexNumber" 
use="optional"/>
+        <xsd:attribute name="done" type="od06st:ST_OnOff" use="optional"/>
+    </xsd:complexType>
+    <xsd:element name="commentsEx" type="CT_CommentsEx"/>
+    <xsd:complexType name="CT_People">
+        <xsd:sequence>
+            <xsd:element name="person" type="CT_Person" minOccurs="0" 
maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_PresenceInfo">
+        <xsd:attribute name="providerId" type="xsd:string" use="required"/>
+        <xsd:attribute name="userId" type="xsd:string" use="required"/>
+    </xsd:complexType>
+    <xsd:complexType name="CT_Person">
+        <xsd:sequence>
+            <xsd:element name="presenceInfo" type="CT_PresenceInfo" 
minOccurs="0" maxOccurs="1"/>
+        </xsd:sequence>
+        <xsd:attribute name="author" type="od06st:ST_String" use="required"/>
+    </xsd:complexType>
+    <xsd:element name="people" type="CT_People"/>
+    <xsd:complexType name="CT_SdtRepeatedSection">
+        <xsd:sequence>
+            <xsd:element name="sectionTitle" type="w06:CT_String" 
minOccurs="0"/>
+            <xsd:element name="doNotAllowInsertDeleteSection" 
type="w06:CT_OnOff" minOccurs="0"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_Guid">
+        <xsd:attribute name="val" type="od06st:ST_Guid"/>
+    </xsd:complexType>
+    <xsd:element name="repeatingSection" type="CT_SdtRepeatedSection"/>
+    <xsd:element name="repeatingSectionItem" type="w06:CT_Empty"/>
+    <xsd:element name="chartTrackingRefBased" type="w06:CT_OnOff"/>
+    <xsd:element name="collapsed" type="w06:CT_OnOff"/>
+    <xsd:element name="docId" type="CT_Guid"/>
+    <xsd:element name="footnoteColumns" type="w06:CT_DecimalNumber"/>
+    <xsd:element name="webExtensionLinked" type="w06:CT_OnOff"/>
+    <xsd:element name="webExtensionCreated" type="w06:CT_OnOff"/>
+    <xsd:attribute name="restartNumberingAfterBreak" type="od06st:ST_OnOff"/>
+</xsd:schema>
\ No newline at end of file

Added: 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments.xsd
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments.xsd?rev=1902309&view=auto
==============================================================================
--- 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments.xsd
 (added)
+++ 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments.xsd
 Tue Jun 28 10:41:29 2022
@@ -0,0 +1,59 @@
+<xsd:schema 
targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments";
+            elementFormDefault="qualified"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main";
+            
xmlns:od06st="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes";
+            
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments";>
+    <!--
+    <xsd:import 
namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"; 
schemaLocation="xlbasictypes.xsd"/>
+    <xsd:import 
namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"; 
schemaLocation="xlsst.xsd"/>
+    -->
+    <xsd:import 
namespace="http://schemas.microsoft.com/office/spreadsheetml/2020/threadedcomments2";
 schemaLocation="xlThreadedComments2.xsd"/>
+    <xsd:element name="personList" type="CT_PersonList"/>
+    <xsd:complexType name="CT_PersonList">
+        <xsd:sequence>
+            <xsd:element name="person" type="CT_Person" minOccurs="0" 
maxOccurs="unbounded"/>
+            <xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" 
maxOccurs="1"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_Person">
+        <xsd:sequence>
+            <xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" 
maxOccurs="1"/>
+        </xsd:sequence>
+        <xsd:attribute name="displayName" type="od06st:ST_Xstring" 
use="required"/>
+        <xsd:attribute name="id" type="od06st:ST_Guid" use="required"/>
+        <xsd:attribute name="userId" type="od06st:ST_Xstring" use="optional"/>
+        <xsd:attribute name="providerId" type="od06st:ST_Xstring" 
use="optional"/>
+    </xsd:complexType>
+    <xsd:element name="ThreadedComments" type="CT_ThreadedComments"/>
+    <xsd:complexType name="CT_ThreadedComments">
+        <xsd:sequence>
+            <xsd:element name="threadedComment" type="CT_ThreadedComment" 
minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" 
maxOccurs="1"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_ThreadedComment">
+        <xsd:sequence>
+            <xsd:element name="text" type="od06st:ST_Xstring" minOccurs="0" 
maxOccurs="1"/>
+            <xsd:element name="mentions" type="CT_ThreadedCommentMentions" 
minOccurs="0" maxOccurs="1"/>
+            <xsd:element name="extLst" minOccurs="0" maxOccurs="1"/>
+        </xsd:sequence>
+        <xsd:attribute name="ref" type="x:ST_Ref" use="optional"/>
+        <xsd:attribute name="dT" type="xsd:dateTime" use="optional"/>
+        <xsd:attribute name="personId" type="od06st:ST_Guid" use="required"/>
+        <xsd:attribute name="id" type="od06st:ST_Guid" use="required"/>
+        <xsd:attribute name="parentId" type="od06st:ST_Guid" use="optional"/>
+        <xsd:attribute name="done" type="xsd:boolean" use="optional"/>
+    </xsd:complexType>
+    <xsd:complexType name="CT_ThreadedCommentMentions">
+        <xsd:sequence>
+            <xsd:element name="mention" type="CT_Mention" minOccurs="0" 
maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_Mention">
+        <xsd:attribute name="mentionpersonId" type="od06st:ST_Guid" 
use="required"/>
+        <xsd:attribute name="mentionId" type="od06st:ST_Guid" use="required"/>
+        <xsd:attribute name="startIndex" type="xsd:unsignedInt" 
use="required"/>
+        <xsd:attribute name="length" type="xsd:unsignedInt" use="required"/>
+    </xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Added: 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments2.xsd
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments2.xsd?rev=1902309&view=auto
==============================================================================
--- 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments2.xsd
 (added)
+++ 
poi/trunk/poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xlThreadedComments2.xsd
 Tue Jun 28 10:41:29 2022
@@ -0,0 +1,22 @@
+<xsd:schema 
xmlns="http://schemas.microsoft.com/office/spreadsheetml/2020/threadedcomments2";
+            
targetNamespace="http://schemas.microsoft.com/office/spreadsheetml/2020/threadedcomments2";
+            elementFormDefault="qualified" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            
xmlns:od06st="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes";
+            
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main";>
+    <xsd:complexType name="CT_ThreadedComments2Ext">
+        <xsd:sequence>
+            <xsd:element name="checksum" type="xsd:unsignedInt" minOccurs="1" 
maxOccurs="1"/>
+            <xsd:sequence>
+                <xsd:element name="hyperlink" type="CT_CommentHyperlink" 
minOccurs="0" maxOccurs="unbounded"/>
+            </xsd:sequence>
+        </xsd:sequence>
+    </xsd:complexType>
+    <xsd:complexType name="CT_CommentHyperlink">
+        <xsd:sequence>
+            <xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" 
maxOccurs="1"/>
+        </xsd:sequence>
+        <xsd:attribute name="startIndex" type="xsd:unsignedInt" 
use="required"/>
+        <xsd:attribute name="length" type="xsd:unsignedInt" use="required"/>
+        <xsd:attribute name="url" type="od06st:ST_Xstring" use="required"/>
+    </xsd:complexType>
+</xsd:schema>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to