axlsx 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +13 -0
- data/lib/axlsx.rb +38 -0
- data/lib/axlsx/content_type/content_type.rb +23 -0
- data/lib/axlsx/content_type/default.rb +32 -0
- data/lib/axlsx/content_type/override.rb +30 -0
- data/lib/axlsx/doc_props/app.rb +148 -0
- data/lib/axlsx/doc_props/core.rb +34 -0
- data/lib/axlsx/drawing/axis.rb +78 -0
- data/lib/axlsx/drawing/bar_3D_chart.rb +138 -0
- data/lib/axlsx/drawing/bar_series.rb +91 -0
- data/lib/axlsx/drawing/cat_axis.rb +58 -0
- data/lib/axlsx/drawing/chart.rb +120 -0
- data/lib/axlsx/drawing/drawing.rb +121 -0
- data/lib/axlsx/drawing/graphic_frame.rb +55 -0
- data/lib/axlsx/drawing/marker.rb +57 -0
- data/lib/axlsx/drawing/pie_3D_chart.rb +59 -0
- data/lib/axlsx/drawing/pie_series.rb +88 -0
- data/lib/axlsx/drawing/scaling.rb +53 -0
- data/lib/axlsx/drawing/series.rb +70 -0
- data/lib/axlsx/drawing/title.rb +69 -0
- data/lib/axlsx/drawing/two_cell_anchor.rb +88 -0
- data/lib/axlsx/drawing/val_axis.rb +34 -0
- data/lib/axlsx/drawing/view_3D.rb +72 -0
- data/lib/axlsx/package.rb +181 -0
- data/lib/axlsx/rels/relationship.rb +43 -0
- data/lib/axlsx/rels/relationships.rb +25 -0
- data/lib/axlsx/stylesheet/border.rb +52 -0
- data/lib/axlsx/stylesheet/border_pr.rb +65 -0
- data/lib/axlsx/stylesheet/cell_alignment.rb +96 -0
- data/lib/axlsx/stylesheet/cell_protection.rb +33 -0
- data/lib/axlsx/stylesheet/cell_style.rb +60 -0
- data/lib/axlsx/stylesheet/color.rb +57 -0
- data/lib/axlsx/stylesheet/fill.rb +31 -0
- data/lib/axlsx/stylesheet/font.rb +128 -0
- data/lib/axlsx/stylesheet/gradient_fill.rb +70 -0
- data/lib/axlsx/stylesheet/gradient_stop.rb +31 -0
- data/lib/axlsx/stylesheet/num_fmt.rb +61 -0
- data/lib/axlsx/stylesheet/pattern_fill.rb +64 -0
- data/lib/axlsx/stylesheet/styles.rb +296 -0
- data/lib/axlsx/stylesheet/table_style.rb +44 -0
- data/lib/axlsx/stylesheet/table_style_element.rb +66 -0
- data/lib/axlsx/stylesheet/table_styles.rb +39 -0
- data/lib/axlsx/stylesheet/xf.rb +117 -0
- data/lib/axlsx/util/constants.rb +189 -0
- data/lib/axlsx/util/simple_typed_list.rb +150 -0
- data/lib/axlsx/util/validators.rb +132 -0
- data/lib/axlsx/workbook/workbook.rb +130 -0
- data/lib/axlsx/workbook/worksheet/cell.rb +184 -0
- data/lib/axlsx/workbook/worksheet/row.rb +92 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +194 -0
- data/lib/schema/dc.xsd +118 -0
- data/lib/schema/dcmitype.xsd +50 -0
- data/lib/schema/dcterms.xsd +331 -0
- data/lib/schema/dml-chart.xsd +1499 -0
- data/lib/schema/dml-chartDrawing.xsd +146 -0
- data/lib/schema/dml-compatibility.xsd +14 -0
- data/lib/schema/dml-diagram.xsd +1091 -0
- data/lib/schema/dml-lockedCanvas.xsd +11 -0
- data/lib/schema/dml-main.xsd +3048 -0
- data/lib/schema/dml-picture.xsd +23 -0
- data/lib/schema/dml-spreadsheetDrawing.xsd +185 -0
- data/lib/schema/dml-wordprocessingDrawing.xsd +185 -0
- data/lib/schema/opc-contentTypes.xsd +42 -0
- data/lib/schema/opc-coreProperties.xsd +50 -0
- data/lib/schema/opc-digSig.xsd +49 -0
- data/lib/schema/opc-relationships.xsd +33 -0
- data/lib/schema/pml.xsd +1676 -0
- data/lib/schema/shared-additionalCharacteristics.xsd +28 -0
- data/lib/schema/shared-bibliography.xsd +144 -0
- data/lib/schema/shared-commonSimpleTypes.xsd +166 -0
- data/lib/schema/shared-customXmlDataProperties.xsd +25 -0
- data/lib/schema/shared-customXmlSchemaProperties.xsd +18 -0
- data/lib/schema/shared-documentPropertiesCustom.xsd +59 -0
- data/lib/schema/shared-documentPropertiesExtended.xsd +56 -0
- data/lib/schema/shared-documentPropertiesVariantTypes.xsd +195 -0
- data/lib/schema/shared-math.xsd +582 -0
- data/lib/schema/shared-relationshipReference.xsd +25 -0
- data/lib/schema/sml.xsd +4430 -0
- data/lib/schema/vml-main.xsd +569 -0
- data/lib/schema/vml-officeDrawing.xsd +509 -0
- data/lib/schema/vml-presentationDrawing.xsd +12 -0
- data/lib/schema/vml-spreadsheetDrawing.xsd +108 -0
- data/lib/schema/vml-wordprocessingDrawing.xsd +96 -0
- data/lib/schema/wml.xsd +3644 -0
- data/lib/schema/xml.xsd +117 -0
- data/test/content_type/tc_content_type.rb +81 -0
- data/test/content_type/tc_content_type.rb~ +81 -0
- data/test/content_type/tc_default.rb +40 -0
- data/test/content_type/tc_default.rb~ +40 -0
- data/test/content_type/tc_override.rb +40 -0
- data/test/content_type/tc_override.rb~ +40 -0
- data/test/doc_props/tc_app.rb +19 -0
- data/test/doc_props/tc_app.rb~ +19 -0
- data/test/doc_props/tc_core.rb +34 -0
- data/test/drawing/tc_axis.rb +39 -0
- data/test/drawing/tc_axis.rb~ +0 -0
- data/test/drawing/tc_bar_3D_chart.rb +66 -0
- data/test/drawing/tc_bar_3D_chart.rb~ +4 -0
- data/test/drawing/tc_bar_series.rb +34 -0
- data/test/drawing/tc_bar_series.rb~ +31 -0
- data/test/drawing/tc_cat_axis.rb +32 -0
- data/test/drawing/tc_cat_axis.rb~ +39 -0
- data/test/drawing/tc_chart.rb +59 -0
- data/test/drawing/tc_chart.rb~ +58 -0
- data/test/drawing/tc_drawing.rb +71 -0
- data/test/drawing/tc_graphic_frame.rb +26 -0
- data/test/drawing/tc_graphic_frame.rb~ +21 -0
- data/test/drawing/tc_marker.rb +45 -0
- data/test/drawing/tc_marker.rb~ +26 -0
- data/test/drawing/tc_pie_3D_chart.rb +33 -0
- data/test/drawing/tc_pie_3D_chart.rb~ +58 -0
- data/test/drawing/tc_pie_series.rb +35 -0
- data/test/drawing/tc_pie_series.rb~ +26 -0
- data/test/drawing/tc_scaling.rb +37 -0
- data/test/drawing/tc_scaling.rb~ +45 -0
- data/test/drawing/tc_series.rb +24 -0
- data/test/drawing/tc_series.rb~ +31 -0
- data/test/drawing/tc_title.rb +34 -0
- data/test/drawing/tc_title.rb~ +37 -0
- data/test/drawing/tc_two_cell_anchor.rb +37 -0
- data/test/drawing/tc_two_cell_anchor.rb~ +35 -0
- data/test/drawing/tc_val_axis.rb +20 -0
- data/test/drawing/tc_val_axis.rb~ +32 -0
- data/test/drawing/tc_view_3D.rb +46 -0
- data/test/drawing/tc_view_3D.rb~ +37 -0
- data/test/rels/tc_relationship.rb +16 -0
- data/test/rels/tc_relationship.rb~ +39 -0
- data/test/rels/tc_relationships.rb +32 -0
- data/test/rels/tc_relationships.rb~ +37 -0
- data/test/stylesheet/tc_border.rb +38 -0
- data/test/stylesheet/tc_border.rb~ +31 -0
- data/test/stylesheet/tc_border_pr.rb +33 -0
- data/test/stylesheet/tc_border_pr.rb~ +31 -0
- data/test/stylesheet/tc_cell_alignment.rb +77 -0
- data/test/stylesheet/tc_cell_alignment.rb~ +38 -0
- data/test/stylesheet/tc_cell_protection.rb +30 -0
- data/test/stylesheet/tc_cell_protection.rb~ +77 -0
- data/test/stylesheet/tc_cell_style.rb +58 -0
- data/test/stylesheet/tc_cell_style.rb~ +30 -0
- data/test/stylesheet/tc_color.rb +38 -0
- data/test/stylesheet/tc_color.rb~ +38 -0
- data/test/stylesheet/tc_fill.rb +19 -0
- data/test/stylesheet/tc_fill.rb~ +19 -0
- data/test/stylesheet/tc_font.rb +114 -0
- data/test/stylesheet/tc_font.rb~ +19 -0
- data/test/stylesheet/tc_gradient_fill.rb +65 -0
- data/test/stylesheet/tc_gradient_fill.rb~ +114 -0
- data/test/stylesheet/tc_gradient_stop.rb +32 -0
- data/test/stylesheet/tc_gradient_stop.rb~ +65 -0
- data/test/stylesheet/tc_num_fmt.rb +31 -0
- data/test/stylesheet/tc_num_fmt.rb~ +32 -0
- data/test/stylesheet/tc_pattern_fill.rb +38 -0
- data/test/stylesheet/tc_pattern_fill.rb~ +31 -0
- data/test/stylesheet/tc_styles.rb +64 -0
- data/test/stylesheet/tc_table_style.rb +37 -0
- data/test/stylesheet/tc_table_style.rb~ +38 -0
- data/test/stylesheet/tc_table_style_element.rb +37 -0
- data/test/stylesheet/tc_table_style_element.rb~ +37 -0
- data/test/stylesheet/tc_table_styles.rb +30 -0
- data/test/stylesheet/tc_table_styles.rb~ +37 -0
- data/test/stylesheet/tc_xf.rb +121 -0
- data/test/stylesheet/tc_xf.rb~ +30 -0
- data/test/tc_app.rb~ +19 -0
- data/test/tc_border_pr.rb~ +21 -0
- data/test/tc_package.rb +70 -0
- data/test/tc_package.rb~ +64 -0
- data/test/tc_pie_3D_chart.rb~ +66 -0
- data/test/tc_relationships.rb~ +37 -0
- data/test/tc_series.rb~ +31 -0
- data/test/tc_styles.rb~ +64 -0
- data/test/tc_validators.rb~ +77 -0
- data/test/tc_worksheet.rb~ +85 -0
- data/test/util/tc_simple_typed_list.rb +66 -0
- data/test/util/tc_validators.rb +76 -0
- data/test/workbook/tc_workbook.rb +53 -0
- data/test/workbook/worksheet/tc_cell.rb +78 -0
- data/test/workbook/worksheet/tc_row.rb +30 -0
- data/test/workbook/worksheet/tc_worksheet.rb +85 -0
- metadata +378 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns="http://schemas.openxmlformats.org/drawingml/2006/picture"
|
4
|
+
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" elementFormDefault="qualified"
|
5
|
+
targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/picture">
|
6
|
+
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
|
7
|
+
schemaLocation="dml-main.xsd"/>
|
8
|
+
<xsd:complexType name="CT_PictureNonVisual">
|
9
|
+
<xsd:sequence>
|
10
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
11
|
+
<xsd:element name="cNvPicPr" type="a:CT_NonVisualPictureProperties" minOccurs="1"
|
12
|
+
maxOccurs="1"/>
|
13
|
+
</xsd:sequence>
|
14
|
+
</xsd:complexType>
|
15
|
+
<xsd:complexType name="CT_Picture">
|
16
|
+
<xsd:sequence minOccurs="1" maxOccurs="1">
|
17
|
+
<xsd:element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1"/>
|
18
|
+
<xsd:element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1"/>
|
19
|
+
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
20
|
+
</xsd:sequence>
|
21
|
+
</xsd:complexType>
|
22
|
+
<xsd:element name="pic" type="CT_Picture"/>
|
23
|
+
</xsd:schema>
|
@@ -0,0 +1,185 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
4
|
+
xmlns="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
5
|
+
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
6
|
+
targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
7
|
+
elementFormDefault="qualified">
|
8
|
+
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
|
9
|
+
schemaLocation="dml-main.xsd"/>
|
10
|
+
<xsd:import schemaLocation="shared-relationshipReference.xsd"
|
11
|
+
namespace="http://schemas.openxmlformats.org/officeDocument/2006/relationships"/>
|
12
|
+
<xsd:element name="from" type="CT_Marker"/>
|
13
|
+
<xsd:element name="to" type="CT_Marker"/>
|
14
|
+
<xsd:complexType name="CT_AnchorClientData">
|
15
|
+
<xsd:attribute name="fLocksWithSheet" type="xsd:boolean" use="optional" default="true"/>
|
16
|
+
<xsd:attribute name="fPrintsWithSheet" type="xsd:boolean" use="optional" default="true"/>
|
17
|
+
</xsd:complexType>
|
18
|
+
<xsd:complexType name="CT_ShapeNonVisual">
|
19
|
+
<xsd:sequence>
|
20
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
21
|
+
<xsd:element name="cNvSpPr" type="a:CT_NonVisualDrawingShapeProps" minOccurs="1" maxOccurs="1"
|
22
|
+
/>
|
23
|
+
</xsd:sequence>
|
24
|
+
</xsd:complexType>
|
25
|
+
<xsd:complexType name="CT_Shape">
|
26
|
+
<xsd:sequence>
|
27
|
+
<xsd:element name="nvSpPr" type="CT_ShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
28
|
+
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
29
|
+
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
30
|
+
<xsd:element name="txBody" type="a:CT_TextBody" minOccurs="0" maxOccurs="1"/>
|
31
|
+
</xsd:sequence>
|
32
|
+
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
33
|
+
<xsd:attribute name="textlink" type="xsd:string" use="optional"/>
|
34
|
+
<xsd:attribute name="fLocksText" type="xsd:boolean" use="optional" default="true"/>
|
35
|
+
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
36
|
+
</xsd:complexType>
|
37
|
+
<xsd:complexType name="CT_ConnectorNonVisual">
|
38
|
+
<xsd:sequence>
|
39
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
40
|
+
<xsd:element name="cNvCxnSpPr" type="a:CT_NonVisualConnectorProperties" minOccurs="1"
|
41
|
+
maxOccurs="1"/>
|
42
|
+
</xsd:sequence>
|
43
|
+
</xsd:complexType>
|
44
|
+
<xsd:complexType name="CT_Connector">
|
45
|
+
<xsd:sequence>
|
46
|
+
<xsd:element name="nvCxnSpPr" type="CT_ConnectorNonVisual" minOccurs="1" maxOccurs="1"/>
|
47
|
+
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
48
|
+
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
49
|
+
</xsd:sequence>
|
50
|
+
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
51
|
+
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
52
|
+
</xsd:complexType>
|
53
|
+
<xsd:complexType name="CT_PictureNonVisual">
|
54
|
+
<xsd:sequence>
|
55
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
56
|
+
<xsd:element name="cNvPicPr" type="a:CT_NonVisualPictureProperties" minOccurs="1"
|
57
|
+
maxOccurs="1"/>
|
58
|
+
</xsd:sequence>
|
59
|
+
</xsd:complexType>
|
60
|
+
<xsd:complexType name="CT_Picture">
|
61
|
+
<xsd:sequence>
|
62
|
+
<xsd:element name="nvPicPr" type="CT_PictureNonVisual" minOccurs="1" maxOccurs="1"/>
|
63
|
+
<xsd:element name="blipFill" type="a:CT_BlipFillProperties" minOccurs="1" maxOccurs="1"/>
|
64
|
+
<xsd:element name="spPr" type="a:CT_ShapeProperties" minOccurs="1" maxOccurs="1"/>
|
65
|
+
<xsd:element name="style" type="a:CT_ShapeStyle" minOccurs="0" maxOccurs="1"/>
|
66
|
+
</xsd:sequence>
|
67
|
+
<xsd:attribute name="macro" type="xsd:string" use="optional" default=""/>
|
68
|
+
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
69
|
+
</xsd:complexType>
|
70
|
+
<xsd:complexType name="CT_GraphicalObjectFrameNonVisual">
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
73
|
+
<xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties"
|
74
|
+
minOccurs="1" maxOccurs="1"/>
|
75
|
+
</xsd:sequence>
|
76
|
+
</xsd:complexType>
|
77
|
+
<xsd:complexType name="CT_GraphicalObjectFrame">
|
78
|
+
<xsd:sequence>
|
79
|
+
<xsd:element name="nvGraphicFramePr" type="CT_GraphicalObjectFrameNonVisual" minOccurs="1"
|
80
|
+
maxOccurs="1"/>
|
81
|
+
<xsd:element name="xfrm" type="a:CT_Transform2D" minOccurs="1" maxOccurs="1"/>
|
82
|
+
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
|
83
|
+
</xsd:sequence>
|
84
|
+
<xsd:attribute name="macro" type="xsd:string" use="optional"/>
|
85
|
+
<xsd:attribute name="fPublished" type="xsd:boolean" use="optional" default="false"/>
|
86
|
+
</xsd:complexType>
|
87
|
+
<xsd:complexType name="CT_GroupShapeNonVisual">
|
88
|
+
<xsd:sequence>
|
89
|
+
<xsd:element name="cNvPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
90
|
+
<xsd:element name="cNvGrpSpPr" type="a:CT_NonVisualGroupDrawingShapeProps" minOccurs="1"
|
91
|
+
maxOccurs="1"/>
|
92
|
+
</xsd:sequence>
|
93
|
+
</xsd:complexType>
|
94
|
+
<xsd:complexType name="CT_GroupShape">
|
95
|
+
<xsd:sequence>
|
96
|
+
<xsd:element name="nvGrpSpPr" type="CT_GroupShapeNonVisual" minOccurs="1" maxOccurs="1"/>
|
97
|
+
<xsd:element name="grpSpPr" type="a:CT_GroupShapeProperties" minOccurs="1" maxOccurs="1"/>
|
98
|
+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
99
|
+
<xsd:element name="sp" type="CT_Shape"/>
|
100
|
+
<xsd:element name="grpSp" type="CT_GroupShape"/>
|
101
|
+
<xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame"/>
|
102
|
+
<xsd:element name="cxnSp" type="CT_Connector"/>
|
103
|
+
<xsd:element name="pic" type="CT_Picture"/>
|
104
|
+
</xsd:choice>
|
105
|
+
</xsd:sequence>
|
106
|
+
</xsd:complexType>
|
107
|
+
<xsd:group name="EG_ObjectChoices">
|
108
|
+
<xsd:sequence>
|
109
|
+
<xsd:choice minOccurs="1" maxOccurs="1">
|
110
|
+
<xsd:element name="sp" type="CT_Shape"/>
|
111
|
+
<xsd:element name="grpSp" type="CT_GroupShape"/>
|
112
|
+
<xsd:element name="graphicFrame" type="CT_GraphicalObjectFrame"/>
|
113
|
+
<xsd:element name="cxnSp" type="CT_Connector"/>
|
114
|
+
<xsd:element name="pic" type="CT_Picture"/>
|
115
|
+
<xsd:element name="contentPart" type="CT_Rel"/>
|
116
|
+
</xsd:choice>
|
117
|
+
</xsd:sequence>
|
118
|
+
</xsd:group>
|
119
|
+
<xsd:complexType name="CT_Rel">
|
120
|
+
<xsd:attribute ref="r:id" use="required"/>
|
121
|
+
</xsd:complexType>
|
122
|
+
<xsd:simpleType name="ST_ColID">
|
123
|
+
<xsd:restriction base="xsd:int">
|
124
|
+
<xsd:minInclusive value="0"/>
|
125
|
+
</xsd:restriction>
|
126
|
+
</xsd:simpleType>
|
127
|
+
<xsd:simpleType name="ST_RowID">
|
128
|
+
<xsd:restriction base="xsd:int">
|
129
|
+
<xsd:minInclusive value="0"/>
|
130
|
+
</xsd:restriction>
|
131
|
+
</xsd:simpleType>
|
132
|
+
<xsd:complexType name="CT_Marker">
|
133
|
+
<xsd:sequence>
|
134
|
+
<xsd:element name="col" type="ST_ColID"/>
|
135
|
+
<xsd:element name="colOff" type="a:ST_Coordinate"/>
|
136
|
+
<xsd:element name="row" type="ST_RowID"/>
|
137
|
+
<xsd:element name="rowOff" type="a:ST_Coordinate"/>
|
138
|
+
</xsd:sequence>
|
139
|
+
</xsd:complexType>
|
140
|
+
<xsd:simpleType name="ST_EditAs">
|
141
|
+
<xsd:restriction base="xsd:token">
|
142
|
+
<xsd:enumeration value="twoCell"/>
|
143
|
+
<xsd:enumeration value="oneCell"/>
|
144
|
+
<xsd:enumeration value="absolute"/>
|
145
|
+
</xsd:restriction>
|
146
|
+
</xsd:simpleType>
|
147
|
+
<xsd:complexType name="CT_TwoCellAnchor">
|
148
|
+
<xsd:sequence>
|
149
|
+
<xsd:element name="from" type="CT_Marker"/>
|
150
|
+
<xsd:element name="to" type="CT_Marker"/>
|
151
|
+
<xsd:group ref="EG_ObjectChoices"/>
|
152
|
+
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
|
153
|
+
</xsd:sequence>
|
154
|
+
<xsd:attribute name="editAs" type="ST_EditAs" use="optional" default="twoCell"/>
|
155
|
+
</xsd:complexType>
|
156
|
+
<xsd:complexType name="CT_OneCellAnchor">
|
157
|
+
<xsd:sequence>
|
158
|
+
<xsd:element name="from" type="CT_Marker"/>
|
159
|
+
<xsd:element name="ext" type="a:CT_PositiveSize2D"/>
|
160
|
+
<xsd:group ref="EG_ObjectChoices"/>
|
161
|
+
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
|
162
|
+
</xsd:sequence>
|
163
|
+
</xsd:complexType>
|
164
|
+
<xsd:complexType name="CT_AbsoluteAnchor">
|
165
|
+
<xsd:sequence>
|
166
|
+
<xsd:element name="pos" type="a:CT_Point2D"/>
|
167
|
+
<xsd:element name="ext" type="a:CT_PositiveSize2D"/>
|
168
|
+
<xsd:group ref="EG_ObjectChoices"/>
|
169
|
+
<xsd:element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
|
170
|
+
</xsd:sequence>
|
171
|
+
</xsd:complexType>
|
172
|
+
<xsd:group name="EG_Anchor">
|
173
|
+
<xsd:choice>
|
174
|
+
<xsd:element name="twoCellAnchor" type="CT_TwoCellAnchor"/>
|
175
|
+
<xsd:element name="oneCellAnchor" type="CT_OneCellAnchor"/>
|
176
|
+
<xsd:element name="absoluteAnchor" type="CT_AbsoluteAnchor"/>
|
177
|
+
</xsd:choice>
|
178
|
+
</xsd:group>
|
179
|
+
<xsd:complexType name="CT_Drawing">
|
180
|
+
<xsd:sequence>
|
181
|
+
<xsd:group ref="EG_Anchor" minOccurs="0" maxOccurs="unbounded"/>
|
182
|
+
</xsd:sequence>
|
183
|
+
</xsd:complexType>
|
184
|
+
<xsd:element name="wsDr" type="CT_Drawing"/>
|
185
|
+
</xsd:schema>
|
@@ -0,0 +1,185 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
4
|
+
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
5
|
+
xmlns="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
6
|
+
targetNamespace="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
7
|
+
elementFormDefault="qualified">
|
8
|
+
<xsd:import namespace="http://schemas.openxmlformats.org/drawingml/2006/main"
|
9
|
+
schemaLocation="dml-main.xsd"/>
|
10
|
+
<xsd:import schemaLocation="wml.xsd"
|
11
|
+
namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main"/>
|
12
|
+
<xsd:complexType name="CT_EffectExtent">
|
13
|
+
<xsd:attribute name="l" type="a:ST_Coordinate" use="required"/>
|
14
|
+
<xsd:attribute name="t" type="a:ST_Coordinate" use="required"/>
|
15
|
+
<xsd:attribute name="r" type="a:ST_Coordinate" use="required"/>
|
16
|
+
<xsd:attribute name="b" type="a:ST_Coordinate" use="required"/>
|
17
|
+
</xsd:complexType>
|
18
|
+
<xsd:simpleType name="ST_WrapDistance">
|
19
|
+
<xsd:restriction base="xsd:unsignedInt"/>
|
20
|
+
</xsd:simpleType>
|
21
|
+
<xsd:complexType name="CT_Inline">
|
22
|
+
<xsd:sequence>
|
23
|
+
<xsd:element name="extent" type="a:CT_PositiveSize2D"/>
|
24
|
+
<xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
|
25
|
+
<xsd:element name="docPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
26
|
+
<xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties"
|
27
|
+
minOccurs="0" maxOccurs="1"/>
|
28
|
+
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
|
29
|
+
</xsd:sequence>
|
30
|
+
<xsd:attribute name="distT" type="ST_WrapDistance" use="optional"/>
|
31
|
+
<xsd:attribute name="distB" type="ST_WrapDistance" use="optional"/>
|
32
|
+
<xsd:attribute name="distL" type="ST_WrapDistance" use="optional"/>
|
33
|
+
<xsd:attribute name="distR" type="ST_WrapDistance" use="optional"/>
|
34
|
+
</xsd:complexType>
|
35
|
+
<xsd:simpleType name="ST_WrapText">
|
36
|
+
<xsd:restriction base="xsd:token">
|
37
|
+
<xsd:enumeration value="bothSides"/>
|
38
|
+
<xsd:enumeration value="left"/>
|
39
|
+
<xsd:enumeration value="right"/>
|
40
|
+
<xsd:enumeration value="largest"/>
|
41
|
+
</xsd:restriction>
|
42
|
+
</xsd:simpleType>
|
43
|
+
<xsd:complexType name="CT_WrapPath">
|
44
|
+
<xsd:sequence>
|
45
|
+
<xsd:element name="start" type="a:CT_Point2D" minOccurs="1" maxOccurs="1"/>
|
46
|
+
<xsd:element name="lineTo" type="a:CT_Point2D" minOccurs="2" maxOccurs="unbounded"/>
|
47
|
+
</xsd:sequence>
|
48
|
+
<xsd:attribute name="edited" type="xsd:boolean" use="optional"/>
|
49
|
+
</xsd:complexType>
|
50
|
+
<xsd:complexType name="CT_WrapNone"/>
|
51
|
+
<xsd:complexType name="CT_WrapSquare">
|
52
|
+
<xsd:sequence>
|
53
|
+
<xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
|
54
|
+
</xsd:sequence>
|
55
|
+
<xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
|
56
|
+
<xsd:attribute name="distT" type="ST_WrapDistance" use="optional"/>
|
57
|
+
<xsd:attribute name="distB" type="ST_WrapDistance" use="optional"/>
|
58
|
+
<xsd:attribute name="distL" type="ST_WrapDistance" use="optional"/>
|
59
|
+
<xsd:attribute name="distR" type="ST_WrapDistance" use="optional"/>
|
60
|
+
</xsd:complexType>
|
61
|
+
<xsd:complexType name="CT_WrapTight">
|
62
|
+
<xsd:sequence>
|
63
|
+
<xsd:element name="wrapPolygon" type="CT_WrapPath" minOccurs="1" maxOccurs="1"/>
|
64
|
+
</xsd:sequence>
|
65
|
+
<xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
|
66
|
+
<xsd:attribute name="distL" type="ST_WrapDistance" use="optional"/>
|
67
|
+
<xsd:attribute name="distR" type="ST_WrapDistance" use="optional"/>
|
68
|
+
</xsd:complexType>
|
69
|
+
<xsd:complexType name="CT_WrapThrough">
|
70
|
+
<xsd:sequence>
|
71
|
+
<xsd:element name="wrapPolygon" type="CT_WrapPath" minOccurs="1" maxOccurs="1"/>
|
72
|
+
</xsd:sequence>
|
73
|
+
<xsd:attribute name="wrapText" type="ST_WrapText" use="required"/>
|
74
|
+
<xsd:attribute name="distL" type="ST_WrapDistance" use="optional"/>
|
75
|
+
<xsd:attribute name="distR" type="ST_WrapDistance" use="optional"/>
|
76
|
+
</xsd:complexType>
|
77
|
+
<xsd:complexType name="CT_WrapTopBottom">
|
78
|
+
<xsd:sequence>
|
79
|
+
<xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
|
80
|
+
</xsd:sequence>
|
81
|
+
<xsd:attribute name="distT" type="ST_WrapDistance" use="optional"/>
|
82
|
+
<xsd:attribute name="distB" type="ST_WrapDistance" use="optional"/>
|
83
|
+
</xsd:complexType>
|
84
|
+
<xsd:group name="EG_WrapType">
|
85
|
+
<xsd:sequence>
|
86
|
+
<xsd:choice minOccurs="1" maxOccurs="1">
|
87
|
+
<xsd:element name="wrapNone" type="CT_WrapNone" minOccurs="1" maxOccurs="1"/>
|
88
|
+
<xsd:element name="wrapSquare" type="CT_WrapSquare" minOccurs="1" maxOccurs="1"/>
|
89
|
+
<xsd:element name="wrapTight" type="CT_WrapTight" minOccurs="1" maxOccurs="1"/>
|
90
|
+
<xsd:element name="wrapThrough" type="CT_WrapThrough" minOccurs="1" maxOccurs="1"/>
|
91
|
+
<xsd:element name="wrapTopAndBottom" type="CT_WrapTopBottom" minOccurs="1" maxOccurs="1"/>
|
92
|
+
</xsd:choice>
|
93
|
+
</xsd:sequence>
|
94
|
+
</xsd:group>
|
95
|
+
<xsd:simpleType name="ST_PositionOffset">
|
96
|
+
<xsd:restriction base="xsd:int"/>
|
97
|
+
</xsd:simpleType>
|
98
|
+
<xsd:simpleType name="ST_AlignH">
|
99
|
+
<xsd:restriction base="xsd:token">
|
100
|
+
<xsd:enumeration value="left"/>
|
101
|
+
<xsd:enumeration value="right"/>
|
102
|
+
<xsd:enumeration value="center"/>
|
103
|
+
<xsd:enumeration value="inside"/>
|
104
|
+
<xsd:enumeration value="outside"/>
|
105
|
+
</xsd:restriction>
|
106
|
+
</xsd:simpleType>
|
107
|
+
<xsd:simpleType name="ST_RelFromH">
|
108
|
+
<xsd:restriction base="xsd:token">
|
109
|
+
<xsd:enumeration value="margin"/>
|
110
|
+
<xsd:enumeration value="page"/>
|
111
|
+
<xsd:enumeration value="column"/>
|
112
|
+
<xsd:enumeration value="character"/>
|
113
|
+
<xsd:enumeration value="leftMargin"/>
|
114
|
+
<xsd:enumeration value="rightMargin"/>
|
115
|
+
<xsd:enumeration value="insideMargin"/>
|
116
|
+
<xsd:enumeration value="outsideMargin"/>
|
117
|
+
</xsd:restriction>
|
118
|
+
</xsd:simpleType>
|
119
|
+
<xsd:complexType name="CT_PosH">
|
120
|
+
<xsd:sequence>
|
121
|
+
<xsd:choice minOccurs="1" maxOccurs="1">
|
122
|
+
<xsd:element name="align" type="ST_AlignH" minOccurs="1" maxOccurs="1"/>
|
123
|
+
<xsd:element name="posOffset" type="ST_PositionOffset" minOccurs="1" maxOccurs="1"/>
|
124
|
+
</xsd:choice>
|
125
|
+
</xsd:sequence>
|
126
|
+
<xsd:attribute name="relativeFrom" type="ST_RelFromH" use="required"/>
|
127
|
+
</xsd:complexType>
|
128
|
+
<xsd:simpleType name="ST_AlignV">
|
129
|
+
<xsd:restriction base="xsd:token">
|
130
|
+
<xsd:enumeration value="top"/>
|
131
|
+
<xsd:enumeration value="bottom"/>
|
132
|
+
<xsd:enumeration value="center"/>
|
133
|
+
<xsd:enumeration value="inside"/>
|
134
|
+
<xsd:enumeration value="outside"/>
|
135
|
+
</xsd:restriction>
|
136
|
+
</xsd:simpleType>
|
137
|
+
<xsd:simpleType name="ST_RelFromV">
|
138
|
+
<xsd:restriction base="xsd:token">
|
139
|
+
<xsd:enumeration value="margin"/>
|
140
|
+
<xsd:enumeration value="page"/>
|
141
|
+
<xsd:enumeration value="paragraph"/>
|
142
|
+
<xsd:enumeration value="line"/>
|
143
|
+
<xsd:enumeration value="topMargin"/>
|
144
|
+
<xsd:enumeration value="bottomMargin"/>
|
145
|
+
<xsd:enumeration value="insideMargin"/>
|
146
|
+
<xsd:enumeration value="outsideMargin"/>
|
147
|
+
</xsd:restriction>
|
148
|
+
</xsd:simpleType>
|
149
|
+
<xsd:complexType name="CT_PosV">
|
150
|
+
<xsd:sequence>
|
151
|
+
<xsd:choice minOccurs="1" maxOccurs="1">
|
152
|
+
<xsd:element name="align" type="ST_AlignV" minOccurs="1" maxOccurs="1"/>
|
153
|
+
<xsd:element name="posOffset" type="ST_PositionOffset" minOccurs="1" maxOccurs="1"/>
|
154
|
+
</xsd:choice>
|
155
|
+
</xsd:sequence>
|
156
|
+
<xsd:attribute name="relativeFrom" type="ST_RelFromV" use="required"/>
|
157
|
+
</xsd:complexType>
|
158
|
+
<xsd:complexType name="CT_Anchor">
|
159
|
+
<xsd:sequence>
|
160
|
+
<xsd:element name="simplePos" type="a:CT_Point2D"/>
|
161
|
+
<xsd:element name="positionH" type="CT_PosH"/>
|
162
|
+
<xsd:element name="positionV" type="CT_PosV"/>
|
163
|
+
<xsd:element name="extent" type="a:CT_PositiveSize2D"/>
|
164
|
+
<xsd:element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>
|
165
|
+
<xsd:group ref="EG_WrapType"/>
|
166
|
+
<xsd:element name="docPr" type="a:CT_NonVisualDrawingProps" minOccurs="1" maxOccurs="1"/>
|
167
|
+
<xsd:element name="cNvGraphicFramePr" type="a:CT_NonVisualGraphicFrameProperties"
|
168
|
+
minOccurs="0" maxOccurs="1"/>
|
169
|
+
<xsd:element ref="a:graphic" minOccurs="1" maxOccurs="1"/>
|
170
|
+
</xsd:sequence>
|
171
|
+
<xsd:attribute name="distT" type="ST_WrapDistance" use="optional"/>
|
172
|
+
<xsd:attribute name="distB" type="ST_WrapDistance" use="optional"/>
|
173
|
+
<xsd:attribute name="distL" type="ST_WrapDistance" use="optional"/>
|
174
|
+
<xsd:attribute name="distR" type="ST_WrapDistance" use="optional"/>
|
175
|
+
<xsd:attribute name="simplePos" type="xsd:boolean"/>
|
176
|
+
<xsd:attribute name="relativeHeight" type="xsd:unsignedInt" use="required"/>
|
177
|
+
<xsd:attribute name="behindDoc" type="xsd:boolean" use="required"/>
|
178
|
+
<xsd:attribute name="locked" type="xsd:boolean" use="required"/>
|
179
|
+
<xsd:attribute name="layoutInCell" type="xsd:boolean" use="required"/>
|
180
|
+
<xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
|
181
|
+
<xsd:attribute name="allowOverlap" type="xsd:boolean" use="required"/>
|
182
|
+
</xsd:complexType>
|
183
|
+
<xsd:element name="inline" type="CT_Inline"/>
|
184
|
+
<xsd:element name="anchor" type="CT_Anchor"/>
|
185
|
+
</xsd:schema>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<xs:schema xmlns="http://schemas.openxmlformats.org/package/2006/content-types"
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
4
|
+
targetNamespace="http://schemas.openxmlformats.org/package/2006/content-types"
|
5
|
+
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
6
|
+
|
7
|
+
<xs:element name="Types" type="CT_Types"/>
|
8
|
+
<xs:element name="Default" type="CT_Default"/>
|
9
|
+
<xs:element name="Override" type="CT_Override"/>
|
10
|
+
|
11
|
+
<xs:complexType name="CT_Types">
|
12
|
+
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
13
|
+
<xs:element ref="Default"/>
|
14
|
+
<xs:element ref="Override"/>
|
15
|
+
</xs:choice>
|
16
|
+
</xs:complexType>
|
17
|
+
|
18
|
+
<xs:complexType name="CT_Default">
|
19
|
+
<xs:attribute name="Extension" type="ST_Extension" use="required"/>
|
20
|
+
<xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
|
21
|
+
</xs:complexType>
|
22
|
+
|
23
|
+
<xs:complexType name="CT_Override">
|
24
|
+
<xs:attribute name="ContentType" type="ST_ContentType" use="required"/>
|
25
|
+
<xs:attribute name="PartName" type="xs:anyURI" use="required"/>
|
26
|
+
</xs:complexType>
|
27
|
+
|
28
|
+
<xs:simpleType name="ST_ContentType">
|
29
|
+
<xs:restriction base="xs:string">
|
30
|
+
<xs:pattern
|
31
|
+
value="(((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))/((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))((\s+)*;(\s+)*(((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+))=((([\p{IsBasicLatin}-[\p{Cc}\(\)<>@,;:\\"/\[\]\?=\{\}\s\t]])+)|("(([\p{IsLatin-1Supplement}\p{IsBasicLatin}-[\p{Cc}"\n\r]]|(\s+))|(\\[\p{IsBasicLatin}]))*"))))*)"
|
32
|
+
/>
|
33
|
+
</xs:restriction>
|
34
|
+
</xs:simpleType>
|
35
|
+
|
36
|
+
<xs:simpleType name="ST_Extension">
|
37
|
+
<xs:restriction base="xs:string">
|
38
|
+
<xs:pattern
|
39
|
+
value="([!$&'\(\)\*\+,:=]|(%[0-9a-fA-F][0-9a-fA-F])|[:@]|[a-zA-Z0-9\-_~])+"/>
|
40
|
+
</xs:restriction>
|
41
|
+
</xs:simpleType>
|
42
|
+
</xs:schema>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema targetNamespace="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
|
3
|
+
xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:dcterms="http://purl.org/dc/terms/" elementFormDefault="qualified" blockDefault="#all">
|
6
|
+
|
7
|
+
<xs:import namespace="http://purl.org/dc/elements/1.1/"
|
8
|
+
schemaLocation="dc.xsd"/>
|
9
|
+
<xs:import namespace="http://purl.org/dc/terms/"
|
10
|
+
schemaLocation="dcterms.xsd"/>
|
11
|
+
<xs:import id="xml" namespace="http://www.w3.org/XML/1998/namespace"/>
|
12
|
+
|
13
|
+
<xs:element name="coreProperties" type="CT_CoreProperties"/>
|
14
|
+
|
15
|
+
<xs:complexType name="CT_CoreProperties">
|
16
|
+
<xs:all>
|
17
|
+
<xs:element name="category" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
18
|
+
<xs:element name="contentStatus" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
19
|
+
<xs:element ref="dcterms:created" minOccurs="0" maxOccurs="1"/>
|
20
|
+
<xs:element ref="dc:creator" minOccurs="0" maxOccurs="1"/>
|
21
|
+
<xs:element ref="dc:description" minOccurs="0" maxOccurs="1"/>
|
22
|
+
<xs:element ref="dc:identifier" minOccurs="0" maxOccurs="1"/>
|
23
|
+
<xs:element name="keywords" minOccurs="0" maxOccurs="1" type="CT_Keywords"/>
|
24
|
+
<xs:element ref="dc:language" minOccurs="0" maxOccurs="1"/>
|
25
|
+
<xs:element name="lastModifiedBy" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
26
|
+
<xs:element name="lastPrinted" minOccurs="0" maxOccurs="1" type="xs:dateTime"/>
|
27
|
+
<xs:element ref="dcterms:modified" minOccurs="0" maxOccurs="1"/>
|
28
|
+
<xs:element name="revision" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
29
|
+
<xs:element ref="dc:subject" minOccurs="0" maxOccurs="1"/>
|
30
|
+
<xs:element ref="dc:title" minOccurs="0" maxOccurs="1"/>
|
31
|
+
<xs:element name="version" minOccurs="0" maxOccurs="1" type="xs:string"/>
|
32
|
+
</xs:all>
|
33
|
+
</xs:complexType>
|
34
|
+
|
35
|
+
<xs:complexType name="CT_Keywords" mixed="true">
|
36
|
+
<xs:sequence>
|
37
|
+
<xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="CT_Keyword"/>
|
38
|
+
</xs:sequence>
|
39
|
+
<xs:attribute ref="xml:lang" use="optional"/>
|
40
|
+
</xs:complexType>
|
41
|
+
|
42
|
+
<xs:complexType name="CT_Keyword">
|
43
|
+
<xs:simpleContent>
|
44
|
+
<xs:extension base="xs:string">
|
45
|
+
<xs:attribute ref="xml:lang" use="optional"/>
|
46
|
+
</xs:extension>
|
47
|
+
</xs:simpleContent>
|
48
|
+
</xs:complexType>
|
49
|
+
|
50
|
+
</xs:schema>
|