Skip to content

Commit

Permalink
xjc can compile pptx_ROOT.xsd
Browse files Browse the repository at this point in the history
  • Loading branch information
plutext committed May 18, 2019
1 parent d96ce38 commit 50cc23b
Show file tree
Hide file tree
Showing 13 changed files with 424 additions and 18 deletions.
11 changes: 7 additions & 4 deletions xsd/pml/pml-2ed.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ WHICH VERSION?
This XSD still points at the 1ed dml XSDs
USAGE INSTRUCTIONS
2019 05: build pptx__ROOT instead
To generate java classes, you need xjc.
Expand Down Expand Up @@ -74,7 +76,7 @@ PRINCIPLES:
-->


<!--
<xsd:annotation>
<xsd:documentation xml:lang="en">
</xsd:documentation>
Expand All @@ -88,21 +90,22 @@ PRINCIPLES:
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

-->

<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />

<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="dml_imports.xsd" /><!-- use 1ed stuff; was 2ed dml-main -->
schemaLocation="../dml/dml__ROOT.xsd" />

<xsd:import
namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="../shared/shared-relationshipReference.xsd" />

<xsd:import
namespace="http://schemas.openxmlformats.org/markup-compatibility/2006"
schemaLocation="../mce.xsd" />
schemaLocation="../mce/markup-compatibility-2006-MINIMAL.xsd" />

<xsd:simpleType name="ST_TransitionSideDirectionType">
<xsd:annotation>
Expand Down
33 changes: 32 additions & 1 deletion xsd/pptx/ms-pptx166.xsd
Original file line number Diff line number Diff line change
@@ -1,12 +1,43 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2016/6/main" xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2016/6/main"
xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x201606.main"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<!--
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2010/main" schemaLocation="ms-pptx14.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="dml-main.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2010/main" schemaLocation="office_powerpoint_2010_main.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="../dml/dml-baseTypes.xsd"/>

<xsd:simpleType name="ST_ZoomObjectImageType">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="preview"/>
Expand Down
41 changes: 39 additions & 2 deletions xsd/pptx/office_powerpoint_2013_main_command.xsd
Original file line number Diff line number Diff line change
@@ -1,11 +1,48 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2013/main/command" xmlns="http://schemas.microsoft.com/office/powerpoint/2013/main/command" xmlns:pc="http://schemas.microsoft.com/office/powerpoint/2013/main/command" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:ac="http://schemas.microsoft.com/office/drawing/2013/main/command" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2013/main/command"
xmlns="http://schemas.microsoft.com/office/powerpoint/2013/main/command"
xmlns:pc="http://schemas.microsoft.com/office/powerpoint/2013/main/command"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main"
xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:ac="http://schemas.microsoft.com/office/drawing/2013/main/command"
xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->


<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x2013.main.command"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<!--
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2013/main/command" schemaLocation="dml-cmd.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />
-->

<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="../pml/pml-2ed.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2013/main/command" schemaLocation="../odrawxml/office_drawing_2013_main_command.xsd"/>

<xsd:simpleType name="ST_CreationId">
<xsd:restriction base="xsd:unsignedInt"/>
</xsd:simpleType>
Expand Down
25 changes: 24 additions & 1 deletion xsd/pptx/office_powerpoint_2015_09_main.xsd
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/09/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2015/09/main" xmlns:p159="http://schemas.microsoft.com/office/powerpoint/2015/09/main" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/09/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2015/09/main"
xmlns:p159="http://schemas.microsoft.com/office/powerpoint/2015/09/main"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x201509.main"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<!--
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:simpleType name="ST_TransitionMorphOption">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="byObject"/>
Expand Down
27 changes: 26 additions & 1 deletion xsd/pptx/office_powerpoint_2015_10_main.xsd
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/10/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2015/10/main" xmlns:p1510="http://schemas.microsoft.com/office/powerpoint/2015/10/main" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/10/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2015/10/main"
xmlns:p1510="http://schemas.microsoft.com/office/powerpoint/2015/10/main"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x201510.main"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<!--
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="../pml/pml-2ed.xsd"/>

<xsd:simpleType name="ST_ClientID" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
Expand Down
29 changes: 27 additions & 2 deletions xsd/pptx/office_powerpoint_2015_main.xsd
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2015/main" xmlns:p16="http://schemas.microsoft.com/office/powerpoint/2015/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2015/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2015/main"
xmlns:p16="http://schemas.microsoft.com/office/powerpoint/2015/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->


<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x2015.main"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>
<!--
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="dml-main.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />

<xsd:complexType name="CT_DesignElement">
<xsd:attribute name="val" type="xsd:boolean"/>
</xsd:complexType>
Expand Down
33 changes: 32 additions & 1 deletion xsd/pptx/office_powerpoint_2016_sectionzoom.xsd
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom" xmlns="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom" xmlns:psez="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom" xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom"
xmlns="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom"
xmlns:psez="http://schemas.microsoft.com/office/powerpoint/2016/sectionzoom"
xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x2016.sectionzoom"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<!--
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main" schemaLocation="ms-pptx166.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="../pml/pml-2ed.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main" schemaLocation="ms-pptx166.xsd"/>
<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />

<xsd:complexType name="CT_SectionZoomObject">
<xsd:sequence>
<xsd:element name="zmPr" type="p166:CT_ZoomObjectProperties" minOccurs="1" maxOccurs="1"/>
Expand Down
33 changes: 32 additions & 1 deletion xsd/pptx/office_powerpoint_2016_slidezoom.xsd
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom" xmlns="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom" xmlns:pslz="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom" xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom"
xmlns="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom"
xmlns:pslz="http://schemas.microsoft.com/office/powerpoint/2016/slidezoom"
xmlns:p166="http://schemas.microsoft.com/office/powerpoint/2016/6/main"
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"
xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">

<!-- downloaded from https://docs.microsoft.com/en-us/openspecs/office_standards/ms-pptx/57a00b08-a235-4172-96a5-b5ade23c080a
on 20190518
This is [MS-PPTX] Protocol Revision 15.0 of 12/11/2018 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.com.microsoft.schemas.office.powerpoint.x2016.slidezoom"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>


<!--
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main" schemaLocation="ms-pptx166.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
-->
<xsd:import namespace="http://schemas.microsoft.com/office/powerpoint/2016/6/main" schemaLocation="ms-pptx166.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="../pml/pml-2ed.xsd"/>
<xsd:import id="s"
namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes"
schemaLocation="../shared/shared-commonSimpleTypes.xsd" />

<xsd:complexType name="CT_SlideZoomObject">
<xsd:sequence>
<xsd:element name="zmPr" type="p166:CT_ZoomObjectProperties" minOccurs="1" maxOccurs="1"/>
Expand Down
Loading

0 comments on commit 50cc23b

Please sign in to comment.