Skip to content

Commit

Permalink
JAXB annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
plutext committed Nov 6, 2013
1 parent 8245af9 commit b45e62a
Show file tree
Hide file tree
Showing 11 changed files with 426 additions and 94 deletions.
44 changes: 42 additions & 2 deletions xsd/pptx/office_powerpoint_2010_main.xsd
Original file line number Diff line number Diff line change
@@ -1,10 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2010/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2010/main" xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/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:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="pml.xsd"/>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/powerpoint/2010/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2010/main"
xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/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:a14="http://schemas.microsoft.com/office/drawing/2010/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">


<!-- [MS-PPTX] — v20130726
PowerPoint (.pptx) Extensions to the Office Open XML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.powerpoint.main2010"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<xsd:import namespace="http://schemas.openxmlformats.org/presentationml/2006/main" schemaLocation="../pml/pml-2ed.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="dml_imports.xsd" /><!-- use 1ed stuff; was 2ed dml-main -->
<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/drawing/2010/main" schemaLocation="dml-mainExt.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.microsoft.com/office/drawing/2010/main" schemaLocation="dml-mainExt.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="shared-relationshipReference.xsd"/>
-->

<xsd:simpleType name="ST_UniversalTimeOffset">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
Expand Down
30 changes: 29 additions & 1 deletion xsd/pptx/office_powerpoint_2012_main.xsd
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/powerpoint/2012/main" xmlns="http://schemas.microsoft.com/office/powerpoint/2012/main" xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/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/2012/main"
xmlns="http://schemas.microsoft.com/office/powerpoint/2012/main"
xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/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">


<!-- [MS-PPTX] — v20130726
PowerPoint (.pptx) Extensions to the Office Open XML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.pptx4j.powerpoint.main2012"/>
</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/drawingml/2006/main" schemaLocation="dml-main.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="shared-commonSimpleTypes.xsd"/>
Expand Down
52 changes: 41 additions & 11 deletions xsd/xlsx/office_drawing_2010_slicer .xsd
Original file line number Diff line number Diff line change
@@ -1,13 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2010/slicer" xmlns="http://schemas.microsoft.com/office/drawing/2010/slicer" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="oartdocprop.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main" schemaLocation="oart14docprop.xsd"/>
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:element name="slicer" type="CT_Slicer"/>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/drawing/2010/slicer"
xmlns="http://schemas.microsoft.com/office/drawing/2010/slicer"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/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">


<!-- From [MS-XLSX] — v20130726
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.xlsx4j.drawing.slicer2010"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>

<xsd:import
namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd" />
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main"
schemaLocation="oart14docprop.xsd" />
<xsd:complexType name="CT_Slicer">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
<xsd:element name="slicer" type="CT_Slicer" />
</xsd:schema>
49 changes: 39 additions & 10 deletions xsd/xlsx/office_drawing_2012_timeslicer.xsd
Original file line number Diff line number Diff line change
@@ -1,12 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/drawing/2012/timeslicer" xmlns="http://schemas.microsoft.com/office/drawing/2012/timeslicer" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="oartdocprop.xsd"/>
<xsd:complexType name="CT_Timeline">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:element name="timeslicer" type="CT_Timeline"/>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/drawing/2012/timeslicer"
xmlns="http://schemas.microsoft.com/office/drawing/2012/timeslicer"
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">


<!-- From [MS-XLSX] — v20130726
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.xlsx4j.drawing.timeslicer2012"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>


<xsd:import
namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd" />
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd" />
<xsd:complexType name="CT_Timeline">
<xsd:sequence>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
<xsd:element name="timeslicer" type="CT_Timeline" />
</xsd:schema>
86 changes: 56 additions & 30 deletions xsd/xlsx/office_excel_2006_main.xsd
Original file line number Diff line number Diff line change
@@ -1,32 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns="http://schemas.microsoft.com/office/excel/2006/main" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/excel/2006/main" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main" schemaLocation="xlbasictypes.xsd"/>
<xsd:simpleType name="ST_Ref">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:complexType name="CT_Ref">
<xsd:simpleContent>
<xsd:extension base="ST_Ref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjust" type="xsd:boolean" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="ST_Sqref">
<xsd:list itemType="ST_Ref"/>
</xsd:simpleType>
<xsd:complexType name="CT_Sqref">
<xsd:simpleContent>
<xsd:extension base="ST_Sqref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
<xsd:attribute name="split" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional"/>
<xsd:attribute name="adjust" type="xsd:boolean" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="f" type="x:ST_Formula"/>
<xsd:element name="ref" type="CT_Ref"/>
<xsd:element name="sqref" type="CT_Sqref"/>
<xsd:schema xmlns="http://schemas.microsoft.com/office/excel/2006/main"
elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/excel/2006/main"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1">


<!-- From [MS-XLSX] — v20130726
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.xlsx4j.excel.main2006"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>


<xsd:import namespace="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
schemaLocation="xlbasictypes.xsd" />
<xsd:simpleType name="ST_Ref">
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
<xsd:complexType name="CT_Ref">
<xsd:simpleContent>
<xsd:extension base="ST_Ref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional" />
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional" />
<xsd:attribute name="adjust" type="xsd:boolean" use="optional" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="ST_Sqref">
<xsd:list itemType="ST_Ref" />
</xsd:simpleType>
<xsd:complexType name="CT_Sqref">
<xsd:simpleContent>
<xsd:extension base="ST_Sqref">
<xsd:attribute name="edited" type="xsd:boolean" use="optional" />
<xsd:attribute name="split" type="xsd:boolean" use="optional" />
<xsd:attribute name="adjusted" type="xsd:boolean" use="optional" />
<xsd:attribute name="adjust" type="xsd:boolean" use="optional" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="f" type="x:ST_Formula" />
<xsd:element name="ref" type="CT_Ref" />
<xsd:element name="sqref" type="CT_Sqref" />
</xsd:schema>
91 changes: 66 additions & 25 deletions xsd/xlsx/office_excel_2010_spreadsheetDrawing.xsd
Original file line number Diff line number Diff line change
@@ -1,27 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" xmlns="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:xdr14="http://xldr14SchemaUri" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships" schemaLocation="orel.xsd"/>
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main" schemaLocation="oartdocprop.xsd"/>
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main" schemaLocation="oart14docprop.xsd"/>
<xsd:complexType name="CT_ApplicationNonVisualDrawingProps">
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
<xsd:complexType name="CT_ContentPartNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
<xsd:element name="cNvContentPartPr" type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_ContentPart">
<xsd:sequence>
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual" minOccurs="0" maxOccurs="1"/>
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps" minOccurs="0" maxOccurs="1"/>
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="0" maxOccurs="1"/>
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute ref="r:id" use="required"/>
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode" use="optional" default="auto"/>
</xsd:complexType>
<xsd:element name="contentPart" type="CT_ContentPart"/>
<xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing"
xmlns="http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing"
xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
xmlns:xdr14="http://xldr14SchemaUri" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
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">


<!-- From [MS-XLSX] — v20130726
Excel (.xlsx) Extensions to the Office Open XML SpreadsheetML File Format
Copyright © 2013 Microsoft Corporation.
Release: July 30, 2013 -->

<xsd:annotation>
<xsd:appinfo>
<xsd:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.xlsx4j.excel.spreadsheetDrawing2010"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>


<xsd:import
namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
schemaLocation="orel.xsd" />
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
schemaLocation="oartdocprop.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/office/drawing/2010/main"
schemaLocation="oart14docprop.xsd" />
<xsd:complexType name="CT_ApplicationNonVisualDrawingProps">
<xsd:attribute name="macro" type="xsd:string" use="optional" />
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional"
default="false" />
</xsd:complexType>
<xsd:complexType name="CT_ContentPartNonVisual">
<xsd:sequence>
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps"
minOccurs="1" maxOccurs="1" />
<xsd:element name="cNvContentPartPr"
type="a14:CT_NonVisualInkContentPartProperties" minOccurs="0"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CT_ContentPart">
<xsd:sequence>
<xsd:element name="nvContentPartPr" type="CT_ContentPartNonVisual"
minOccurs="0" maxOccurs="1" />
<xsd:element name="nvPr" type="CT_ApplicationNonVisualDrawingProps"
minOccurs="0" maxOccurs="1" />
<xsd:element name="xfrm" type="a:CT_Transform2D"
minOccurs="0" maxOccurs="1" />
<xsd:element name="extLst" type="a:CT_OfficeArtExtensionList"
minOccurs="0" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute ref="r:id" use="required" />
<xsd:attribute name="bwMode" type="a:ST_BlackWhiteMode"
use="optional" default="auto" />
</xsd:complexType>
<xsd:element name="contentPart" type="CT_ContentPart" />
</xsd:schema>
Loading

0 comments on commit b45e62a

Please sign in to comment.