dsh-courseware 0.1.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.
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/cordis.patch.yml +9 -0
- package/engine/pptxgen/__init__.py +8 -0
- package/engine/pptxgen/__main__.py +4 -0
- package/engine/pptxgen/builtin_template.py +218 -0
- package/engine/pptxgen/cli.py +575 -0
- package/engine/pptxgen/examples.py +290 -0
- package/engine/pptxgen/imagegen.py +564 -0
- package/engine/pptxgen/layoutmap.py +211 -0
- package/engine/pptxgen/patterns.py +106 -0
- package/engine/pptxgen/preview.py +126 -0
- package/engine/pptxgen/profile.py +456 -0
- package/engine/pptxgen/render.py +1673 -0
- package/engine/pptxgen/review.py +184 -0
- package/engine/pptxgen/schemacheck.py +122 -0
- package/engine/pptxgen/schemas/XAdES.xsd +466 -0
- package/engine/pptxgen/schemas/XAdESv141.xsd +15 -0
- package/engine/pptxgen/schemas/chartEx.xsd +838 -0
- package/engine/pptxgen/schemas/dml-chart.xsd +1499 -0
- package/engine/pptxgen/schemas/dml-chartDrawing.xsd +146 -0
- package/engine/pptxgen/schemas/dml-diagram.xsd +1085 -0
- package/engine/pptxgen/schemas/dml-drawing.xsd +63 -0
- package/engine/pptxgen/schemas/dml-lockedCanvas.xsd +11 -0
- package/engine/pptxgen/schemas/dml-main.xsd +3081 -0
- package/engine/pptxgen/schemas/dml-picture.xsd +23 -0
- package/engine/pptxgen/schemas/dml-spreadsheetDrawing.xsd +185 -0
- package/engine/pptxgen/schemas/dml-wordprocessingDrawing.xsd +287 -0
- package/engine/pptxgen/schemas/drawing-chart2012.xsd +129 -0
- package/engine/pptxgen/schemas/markup-compatibility.xsd +95 -0
- package/engine/pptxgen/schemas/opc-digSig.xsd +49 -0
- package/engine/pptxgen/schemas/opc-relationships.xsd +33 -0
- package/engine/pptxgen/schemas/pml.xsd +1676 -0
- package/engine/pptxgen/schemas/shared-additionalCharacteristics.xsd +28 -0
- package/engine/pptxgen/schemas/shared-bibliography.xsd +144 -0
- package/engine/pptxgen/schemas/shared-commonSimpleTypes.xsd +172 -0
- package/engine/pptxgen/schemas/shared-customXmlDataProperties.xsd +25 -0
- package/engine/pptxgen/schemas/shared-customXmlSchemaProperties.xsd +18 -0
- package/engine/pptxgen/schemas/shared-documentPropertiesCustom.xsd +59 -0
- package/engine/pptxgen/schemas/shared-documentPropertiesExtended.xsd +56 -0
- package/engine/pptxgen/schemas/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/engine/pptxgen/schemas/shared-math.xsd +582 -0
- package/engine/pptxgen/schemas/shared-relationshipReference.xsd +25 -0
- package/engine/pptxgen/schemas/signatureInfo.xsd +103 -0
- package/engine/pptxgen/schemas/sml.xsd +4439 -0
- package/engine/pptxgen/schemas/visio.xsd +829 -0
- package/engine/pptxgen/schemas/vml-main.xsd +570 -0
- package/engine/pptxgen/schemas/vml-officeDrawing.xsd +509 -0
- package/engine/pptxgen/schemas/vml-presentationDrawing.xsd +12 -0
- package/engine/pptxgen/schemas/vml-spreadsheetDrawing.xsd +108 -0
- package/engine/pptxgen/schemas/vml-wordprocessingDrawing.xsd +96 -0
- package/engine/pptxgen/schemas/vmlDrawing.xsd +36 -0
- package/engine/pptxgen/schemas/wml.xsd +3643 -0
- package/engine/pptxgen/schemas/word12.xsd +66 -0
- package/engine/pptxgen/schemas/xlThreadedComments.xsd +59 -0
- package/engine/pptxgen/schemas/xlThreadedComments2.xsd +22 -0
- package/engine/pptxgen/schemas/xmldsig-core-schema.xsd +318 -0
- package/engine/pptxgen/shapes.py +417 -0
- package/engine/pptxgen/spec.py +529 -0
- package/engine/pptxgen/template.py +834 -0
- package/engine/pptxgen/util.py +218 -0
- package/engine/pptxgen/xmlutil.py +298 -0
- package/engine/pptxgen.sh +7 -0
- package/engine/requirements.txt +9 -0
- package/lib/index.js +186 -0
- package/package.json +34 -0
- package/skills/courseware/SKILL.md +130 -0
- package/skills/courseware/references/content-polish.md +121 -0
- package/skills/courseware/references/deck-spec.md +155 -0
- package/skills/courseware/references/design-review.md +121 -0
- package/skills/courseware/references/image-backends.md +94 -0
- package/skills/courseware/references/quality-gates.md +71 -0
- package/skills/courseware/references/roadmap.md +55 -0
- package/skills/courseware/references/template-fidelity.md +100 -0
- package/skills/courseware/workflows/generate.md +172 -0
- package/skills/courseware/workflows/quick.md +41 -0
- package/skills/courseware/workflows/revise.md +40 -0
- package/skills/courseware/workflows/routing.md +49 -0
- package/skills/courseware/workflows/stages/generate-images.md +74 -0
- package/skills/courseware/workflows/template-intake.md +112 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
====================================================================
|
|
4
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
5
|
+
contributor license agreements. See the NOTICE file distributed with
|
|
6
|
+
this work for additional information regarding copyright ownership.
|
|
7
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
8
|
+
(the "License"); you may not use this file except in compliance with
|
|
9
|
+
the License. You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
====================================================================
|
|
19
|
+
-->
|
|
20
|
+
<xsd:schema
|
|
21
|
+
attributeFormDefault="unqualified" elementFormDefault="qualified"
|
|
22
|
+
targetNamespace="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
23
|
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
24
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
25
|
+
>
|
|
26
|
+
<!-- based on https://github.com/plutext/docx4j/blob/master/xsd/mce/markup-compatibility-2006-MINIMAL.xsd -->
|
|
27
|
+
|
|
28
|
+
<!-- This XSD has 2 objectives:
|
|
29
|
+
|
|
30
|
+
1. round tripping @mc:Ignorable <w:document
|
|
31
|
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
32
|
+
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
33
|
+
mc:Ignorable="w14 w15 wp14">
|
|
34
|
+
|
|
35
|
+
2. enabling AlternateContent to be manipulated
|
|
36
|
+
in certain elements (in the unusual case where the content model is xsd:any,
|
|
37
|
+
it doesn't have to be explicitly added) See further ECMA-376, 4th Edition,
|
|
38
|
+
Office Open XML File Formats Part 3 : Markup Compatibility and Extensibility
|
|
39
|
+
-->
|
|
40
|
+
|
|
41
|
+
<!-- Objective 1 -->
|
|
42
|
+
<xsd:attribute name="Ignorable" type="xsd:string" />
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<!-- Objective 2 -->
|
|
46
|
+
|
|
47
|
+
<xsd:attribute name="MustUnderstand" type="xsd:string" />
|
|
48
|
+
<xsd:attribute name="ProcessContent" type="xsd:string" />
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<!-- An AlternateContent element shall contain one or more Choice child
|
|
52
|
+
elements, optionally followed by a Fallback child element. If present, there
|
|
53
|
+
shall be only one Fallback element, and it shall follow all Choice elements. -->
|
|
54
|
+
<xsd:element name="AlternateContent">
|
|
55
|
+
<xsd:complexType>
|
|
56
|
+
<xsd:sequence>
|
|
57
|
+
<xsd:element name="Choice" minOccurs="0" maxOccurs="unbounded">
|
|
58
|
+
<xsd:complexType>
|
|
59
|
+
<xsd:sequence>
|
|
60
|
+
<xsd:any minOccurs="0" maxOccurs="unbounded"
|
|
61
|
+
processContents="strict">
|
|
62
|
+
</xsd:any>
|
|
63
|
+
</xsd:sequence>
|
|
64
|
+
<xsd:attribute name="Requires" type="xsd:string"
|
|
65
|
+
use="required" />
|
|
66
|
+
<xsd:attribute ref="mc:Ignorable" use="optional" />
|
|
67
|
+
<xsd:attribute ref="mc:MustUnderstand" use="optional" />
|
|
68
|
+
<xsd:attribute ref="mc:ProcessContent" use="optional" />
|
|
69
|
+
</xsd:complexType>
|
|
70
|
+
</xsd:element>
|
|
71
|
+
<xsd:element name="Fallback" minOccurs="0" maxOccurs="1">
|
|
72
|
+
<xsd:complexType>
|
|
73
|
+
<xsd:sequence>
|
|
74
|
+
<xsd:any minOccurs="0" maxOccurs="unbounded"
|
|
75
|
+
processContents="strict">
|
|
76
|
+
</xsd:any>
|
|
77
|
+
</xsd:sequence>
|
|
78
|
+
<xsd:attribute ref="mc:Ignorable" use="optional" />
|
|
79
|
+
<xsd:attribute ref="mc:MustUnderstand" use="optional" />
|
|
80
|
+
<xsd:attribute ref="mc:ProcessContent" use="optional" />
|
|
81
|
+
</xsd:complexType>
|
|
82
|
+
</xsd:element>
|
|
83
|
+
</xsd:sequence>
|
|
84
|
+
<!-- AlternateContent elements might include the attributes Ignorable,
|
|
85
|
+
MustUnderstand and ProcessContent described in this Part of ECMA-376. These
|
|
86
|
+
attributes’ qualified names shall be prefixed when associated with an AlternateContent
|
|
87
|
+
element. -->
|
|
88
|
+
<xsd:attribute ref="mc:Ignorable" use="optional" />
|
|
89
|
+
<xsd:attribute ref="mc:MustUnderstand" use="optional" />
|
|
90
|
+
<xsd:attribute ref="mc:ProcessContent" use="optional" />
|
|
91
|
+
</xsd:complexType>
|
|
92
|
+
</xsd:element>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
</xsd:schema>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature"
|
|
3
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature"
|
|
5
|
+
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
|
6
|
+
|
|
7
|
+
<xsd:element name="SignatureTime" type="CT_SignatureTime"/>
|
|
8
|
+
<xsd:element name="RelationshipReference" type="CT_RelationshipReference"/>
|
|
9
|
+
<xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference"/>
|
|
10
|
+
|
|
11
|
+
<xsd:complexType name="CT_SignatureTime">
|
|
12
|
+
<xsd:sequence>
|
|
13
|
+
<xsd:element name="Format" type="ST_Format"/>
|
|
14
|
+
<xsd:element name="Value" type="ST_Value"/>
|
|
15
|
+
</xsd:sequence>
|
|
16
|
+
</xsd:complexType>
|
|
17
|
+
|
|
18
|
+
<xsd:complexType name="CT_RelationshipReference">
|
|
19
|
+
<xsd:simpleContent>
|
|
20
|
+
<xsd:extension base="xsd:string">
|
|
21
|
+
<xsd:attribute name="SourceId" type="xsd:string" use="required"/>
|
|
22
|
+
</xsd:extension>
|
|
23
|
+
</xsd:simpleContent>
|
|
24
|
+
</xsd:complexType>
|
|
25
|
+
|
|
26
|
+
<xsd:complexType name="CT_RelationshipsGroupReference">
|
|
27
|
+
<xsd:simpleContent>
|
|
28
|
+
<xsd:extension base="xsd:string">
|
|
29
|
+
<xsd:attribute name="SourceType" type="xsd:anyURI" use="required"/>
|
|
30
|
+
</xsd:extension>
|
|
31
|
+
</xsd:simpleContent>
|
|
32
|
+
</xsd:complexType>
|
|
33
|
+
|
|
34
|
+
<xsd:simpleType name="ST_Format">
|
|
35
|
+
<xsd:restriction base="xsd:string">
|
|
36
|
+
<xsd:pattern
|
|
37
|
+
value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"
|
|
38
|
+
/>
|
|
39
|
+
</xsd:restriction>
|
|
40
|
+
</xsd:simpleType>
|
|
41
|
+
|
|
42
|
+
<xsd:simpleType name="ST_Value">
|
|
43
|
+
<xsd:restriction base="xsd:string">
|
|
44
|
+
<xsd:pattern
|
|
45
|
+
value="(([0-9][0-9][0-9][0-9]))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))"
|
|
46
|
+
/>
|
|
47
|
+
</xsd:restriction>
|
|
48
|
+
</xsd:simpleType>
|
|
49
|
+
</xsd:schema>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships"
|
|
3
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships"
|
|
5
|
+
elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
|
|
6
|
+
|
|
7
|
+
<xsd:element name="Relationships" type="CT_Relationships"/>
|
|
8
|
+
<xsd:element name="Relationship" type="CT_Relationship"/>
|
|
9
|
+
|
|
10
|
+
<xsd:complexType name="CT_Relationships">
|
|
11
|
+
<xsd:sequence>
|
|
12
|
+
<xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded"/>
|
|
13
|
+
</xsd:sequence>
|
|
14
|
+
</xsd:complexType>
|
|
15
|
+
|
|
16
|
+
<xsd:complexType name="CT_Relationship">
|
|
17
|
+
<xsd:simpleContent>
|
|
18
|
+
<xsd:extension base="xsd:string">
|
|
19
|
+
<xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional"/>
|
|
20
|
+
<xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
|
|
21
|
+
<xsd:attribute name="Type" type="xsd:anyURI" use="required"/>
|
|
22
|
+
<xsd:attribute name="Id" type="xsd:ID" use="required"/>
|
|
23
|
+
</xsd:extension>
|
|
24
|
+
</xsd:simpleContent>
|
|
25
|
+
</xsd:complexType>
|
|
26
|
+
|
|
27
|
+
<xsd:simpleType name="ST_TargetMode">
|
|
28
|
+
<xsd:restriction base="xsd:string">
|
|
29
|
+
<xsd:enumeration value="External"/>
|
|
30
|
+
<xsd:enumeration value="Internal"/>
|
|
31
|
+
</xsd:restriction>
|
|
32
|
+
</xsd:simpleType>
|
|
33
|
+
</xsd:schema>
|