feat: Add contentType skeleton
parent
efe4e0f118
commit
7925fc4e24
|
@ -1,3 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
||||
<Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>
|
||||
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
|
||||
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
||||
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
|
||||
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
|
||||
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
|
||||
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
||||
</Types>
|
|
@ -1 +1,17 @@
|
|||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default ContentType="image/png" Extension="png"></Default><Default ContentType="image/jpeg" Extension="jpeg"></Default><Default ContentType="image/jpeg" Extension="jpg"></Default><Default ContentType="image/bmp" Extension="bmp"></Default><Default ContentType="image/gif" Extension="gif"></Default><Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"></Default><Default ContentType="application/xml" Extension="xml"></Default><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml" PartName="/word/document.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" PartName="/word/styles.xml"></Override><Override ContentType="application/vnd.openxmlformats-package.core-properties+xml" PartName="/docProps/core.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" PartName="/docProps/app.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml" PartName="/word/numbering.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml" PartName="/word/footnotes.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml" PartName="/word/header1.xml"></Override><Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml" PartName="/word/footer1.xml"></Override></Types>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default ContentType="image/png" Extension="png"></Default>
|
||||
<Default ContentType="image/jpeg" Extension="jpeg"></Default>
|
||||
<Default ContentType="image/jpeg" Extension="jpg"></Default>
|
||||
<Default ContentType="image/bmp" Extension="bmp"></Default>
|
||||
<Default ContentType="image/gif" Extension="gif"></Default>
|
||||
<Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"></Default>
|
||||
<Default ContentType="application/xml" Extension="xml"></Default>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml" PartName="/word/document.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" PartName="/word/styles.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-package.core-properties+xml" PartName="/docProps/core.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" PartName="/docProps/app.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml" PartName="/word/numbering.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml" PartName="/word/footnotes.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml" PartName="/word/header1.xml"></Override>
|
||||
<Override ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml" PartName="/word/footer1.xml"></Override>
|
||||
</Types>
|
|
@ -1 +1,8 @@
|
|||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"></Relationship><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"></Relationship><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"></Relationship></Relationships>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||||
<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml">
|
||||
</Relationship>
|
||||
<Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml">
|
||||
</Relationship>
|
||||
<Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml">
|
||||
</Relationship>
|
||||
</Relationships>
|
|
@ -1 +1,2 @@
|
|||
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"></Properties>
|
||||
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"
|
||||
xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"></Properties>
|
|
@ -1 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>Un-named</dc:creator><cp:lastModifiedBy>Un-named</cp:lastModifiedBy><cp:revision>1</cp:revision><dcterms:created xsi:type="dcterms:W3CDTF">2019-09-13T19:25:28Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2019-09-13T19:25:28Z</dcterms:modified></cp:coreProperties>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcterms="http://purl.org/dc/terms/"
|
||||
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<dc:creator>Un-named</dc:creator>
|
||||
<cp:lastModifiedBy>Un-named</cp:lastModifiedBy>
|
||||
<cp:revision>1</cp:revision>
|
||||
<dcterms:created xsi:type="dcterms:W3CDTF">2019-09-13T19:25:28Z</dcterms:created>
|
||||
<dcterms:modified xsi:type="dcterms:W3CDTF">2019-09-13T19:25:28Z</dcterms:modified>
|
||||
</cp:coreProperties>
|
|
@ -1 +1,16 @@
|
|||
<w:ftr xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"></w:ftr>
|
||||
<w:ftr xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
||||
xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
||||
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
||||
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
||||
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
||||
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
||||
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
||||
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
||||
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
||||
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
||||
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"></w:ftr>
|
|
@ -1 +1,51 @@
|
|||
<w:footnotes xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14"><w:footnote w:type="separator" w:id="-1"><w:p><w:pPr><w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing></w:pPr><w:r><w:rPr><w:rStyle w:val="FootnoteReference"></w:rStyle></w:rPr><w:footnoteRef></w:footnoteRef></w:r><w:r><w:rPr></w:rPr><w:separator></w:separator></w:r></w:p></w:footnote><w:footnote w:type="continuationSeparator" w:id="0"><w:p><w:pPr><w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing></w:pPr><w:r><w:rPr><w:rStyle w:val="FootnoteReference"></w:rStyle></w:rPr><w:footnoteRef></w:footnoteRef></w:r><w:r><w:rPr></w:rPr><w:continuationSeparator></w:continuationSeparator></w:r></w:p></w:footnote></w:footnotes>
|
||||
<w:footnotes xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
||||
xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
||||
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
||||
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
||||
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
||||
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
||||
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
||||
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
||||
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
||||
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
||||
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
||||
<w:footnote w:type="separator" w:id="-1">
|
||||
<w:p>
|
||||
<w:pPr>
|
||||
<w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing>
|
||||
</w:pPr>
|
||||
<w:r>
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FootnoteReference"></w:rStyle>
|
||||
</w:rPr>
|
||||
<w:footnoteRef></w:footnoteRef>
|
||||
</w:r>
|
||||
<w:r>
|
||||
<w:rPr></w:rPr>
|
||||
<w:separator></w:separator>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</w:footnote>
|
||||
<w:footnote w:type="continuationSeparator" w:id="0">
|
||||
<w:p>
|
||||
<w:pPr>
|
||||
<w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing>
|
||||
</w:pPr>
|
||||
<w:r>
|
||||
<w:rPr>
|
||||
<w:rStyle w:val="FootnoteReference"></w:rStyle>
|
||||
</w:rPr>
|
||||
<w:footnoteRef></w:footnoteRef>
|
||||
</w:r>
|
||||
<w:r>
|
||||
<w:rPr></w:rPr>
|
||||
<w:continuationSeparator></w:continuationSeparator>
|
||||
</w:r>
|
||||
</w:p>
|
||||
</w:footnote>
|
||||
</w:footnotes>
|
|
@ -1 +1,16 @@
|
|||
<w:hdr xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"></w:hdr>
|
||||
<w:hdr xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
||||
xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
||||
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
||||
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
||||
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
||||
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
||||
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
||||
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
||||
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
||||
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
||||
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"></w:hdr>
|
|
@ -1 +1,113 @@
|
|||
<w:numbering xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14"><w:abstractNum w:abstractNumId="0" w15:restartNumberingAfterBreak="0"><w:multiLevelType w:val="hybridMultilevel"></w:multiLevelType><w:lvl w:ilvl="0" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="●"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="720" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="1" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="○"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="1440" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="2" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="■"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="2160" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="3" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="●"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="2880" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="4" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="○"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="3600" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="5" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="■"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="4320" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="6" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="●"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="5040" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="7" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="○"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="5760" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl><w:lvl w:ilvl="8" w15:tentative="1"><w:start w:val="1"></w:start><w:numFmt w:val="bullet"></w:numFmt><w:lvlText w:val="■"></w:lvlText><w:lvlJc w:val="left"></w:lvlJc><w:pPr><w:ind w:left="6480" w:hanging="360"></w:ind></w:pPr><w:rPr></w:rPr></w:lvl></w:abstractNum><w:num w:numId="1"><w:abstractNumId w:val="0"></w:abstractNumId></w:num></w:numbering>
|
||||
<w:numbering xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:o="urn:schemas-microsoft-com:office:office"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
||||
xmlns:v="urn:schemas-microsoft-com:vml"
|
||||
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
|
||||
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
||||
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
||||
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
||||
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
||||
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"
|
||||
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
|
||||
xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk"
|
||||
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml"
|
||||
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 wp14">
|
||||
<w:abstractNum w:abstractNumId="0" w15:restartNumberingAfterBreak="0">
|
||||
<w:multiLevelType w:val="hybridMultilevel"></w:multiLevelType>
|
||||
<w:lvl w:ilvl="0" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="●"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="720" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="1" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="○"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="1440" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="2" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="■"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="2160" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="3" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="●"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="2880" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="4" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="○"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="3600" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="5" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="■"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="4320" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="6" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="●"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="5040" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="7" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="○"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="5760" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
<w:lvl w:ilvl="8" w15:tentative="1">
|
||||
<w:start w:val="1"></w:start>
|
||||
<w:numFmt w:val="bullet"></w:numFmt>
|
||||
<w:lvlText w:val="■"></w:lvlText>
|
||||
<w:lvlJc w:val="left"></w:lvlJc>
|
||||
<w:pPr>
|
||||
<w:ind w:left="6480" w:hanging="360"></w:ind>
|
||||
</w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
</w:lvl>
|
||||
</w:abstractNum>
|
||||
<w:num w:numId="1">
|
||||
<w:abstractNumId w:val="0"></w:abstractNumId>
|
||||
</w:num>
|
||||
</w:numbering>
|
|
@ -1 +1,143 @@
|
|||
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" mc:Ignorable="w14 w15"><w:docDefaults><w:rPrDefault><w:rPr></w:rPr></w:rPrDefault><w:pPrDefault><w:pPr></w:pPr></w:pPrDefault></w:docDefaults><w:style w:type="paragraph" w:styleId="Title"><w:name w:val="Title"></w:name><w:pPr></w:pPr><w:rPr><w:sz w:val="56"></w:sz></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading1"><w:name w:val="Heading 1"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="2E74B5"></w:color><w:sz w:val="32"></w:sz></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading2"><w:name w:val="Heading 2"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="2E74B5"></w:color><w:sz w:val="26"></w:sz></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading3"><w:name w:val="Heading 3"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="1F4D78"></w:color><w:sz w:val="24"></w:sz></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading4"><w:name w:val="Heading 4"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="2E74B5"></w:color><w:i w:val="true"></w:i></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading5"><w:name w:val="Heading 5"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="2E74B5"></w:color></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="Heading6"><w:name w:val="Heading 6"></w:name><w:pPr></w:pPr><w:rPr><w:color w:val="1F4D78"></w:color></w:rPr><w:basedOn w:val="Normal"></w:basedOn><w:next w:val="Normal"></w:next><w:qFormat></w:qFormat></w:style><w:style w:type="paragraph" w:styleId="ListParagraph"><w:pPr></w:pPr><w:rPr></w:rPr><w:name w:val="List Paragraph"></w:name><w:basedOn w:val="Normal"></w:basedOn><w:qFormat></w:qFormat></w:style><w:style w:type="character" w:styleId="Hyperlink"><w:name w:val="Hyperlink"></w:name><w:rPr><w:color w:val="0563C1"></w:color><w:u w:val="single"></w:u></w:rPr><w:uiPriority w:val="99"></w:uiPriority><w:unhideWhenUsed></w:unhideWhenUsed><w:basedOn w:val="DefaultParagraphFont"></w:basedOn></w:style><w:style w:type="character" w:styleId="FootnoteReference"><w:name w:val="footnote reference"></w:name><w:basedOn w:val="DefaultParagraphFont"></w:basedOn><w:uiPriority w:val="99"></w:uiPriority><w:semiHidden></w:semiHidden><w:unhideWhenUsed></w:unhideWhenUsed><w:rPr><w:vertAlign w:val="superscript"></w:vertAlign></w:rPr></w:style><w:style w:type="paragraph" w:styleId="FootnoteText"><w:pPr><w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing></w:pPr><w:rPr><w:sz w:val="20"></w:sz><w:szCs w:val="20"></w:szCs></w:rPr><w:name w:val="footnote text"></w:name><w:basedOn w:val="Normal"></w:basedOn><w:link w:val="FootnoteTextChar"></w:link><w:uiPriority w:val="99"></w:uiPriority><w:semiHidden></w:semiHidden><w:unhideWhenUsed></w:unhideWhenUsed></w:style><w:style w:type="character" w:styleId="FootnoteTextChar"><w:name w:val="Footnote Text Char"></w:name><w:rPr><w:sz w:val="20"></w:sz><w:szCs w:val="20"></w:szCs></w:rPr><w:uiPriority w:val="99"></w:uiPriority><w:unhideWhenUsed></w:unhideWhenUsed><w:basedOn w:val="DefaultParagraphFont"></w:basedOn><w:link w:val="FootnoteText"></w:link><w:uiPriority w:val="99"></w:uiPriority><w:semiHidden></w:semiHidden></w:style></w:styles>
|
||||
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
||||
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml"
|
||||
xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" mc:Ignorable="w14 w15">
|
||||
<w:docDefaults>
|
||||
<w:rPrDefault>
|
||||
<w:rPr></w:rPr>
|
||||
</w:rPrDefault>
|
||||
<w:pPrDefault>
|
||||
<w:pPr></w:pPr>
|
||||
</w:pPrDefault>
|
||||
</w:docDefaults>
|
||||
<w:style w:type="paragraph" w:styleId="Title">
|
||||
<w:name w:val="Title"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:sz w:val="56"></w:sz>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading1">
|
||||
<w:name w:val="Heading 1"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="2E74B5"></w:color>
|
||||
<w:sz w:val="32"></w:sz>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading2">
|
||||
<w:name w:val="Heading 2"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="2E74B5"></w:color>
|
||||
<w:sz w:val="26"></w:sz>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading3">
|
||||
<w:name w:val="Heading 3"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="1F4D78"></w:color>
|
||||
<w:sz w:val="24"></w:sz>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading4">
|
||||
<w:name w:val="Heading 4"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="2E74B5"></w:color>
|
||||
<w:i w:val="true"></w:i>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading5">
|
||||
<w:name w:val="Heading 5"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="2E74B5"></w:color>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="Heading6">
|
||||
<w:name w:val="Heading 6"></w:name>
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr>
|
||||
<w:color w:val="1F4D78"></w:color>
|
||||
</w:rPr>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:next w:val="Normal"></w:next>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="ListParagraph">
|
||||
<w:pPr></w:pPr>
|
||||
<w:rPr></w:rPr>
|
||||
<w:name w:val="List Paragraph"></w:name>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:qFormat></w:qFormat>
|
||||
</w:style>
|
||||
<w:style w:type="character" w:styleId="Hyperlink">
|
||||
<w:name w:val="Hyperlink"></w:name>
|
||||
<w:rPr>
|
||||
<w:color w:val="0563C1"></w:color>
|
||||
<w:u w:val="single"></w:u>
|
||||
</w:rPr>
|
||||
<w:uiPriority w:val="99"></w:uiPriority>
|
||||
<w:unhideWhenUsed></w:unhideWhenUsed>
|
||||
<w:basedOn w:val="DefaultParagraphFont"></w:basedOn>
|
||||
</w:style>
|
||||
<w:style w:type="character" w:styleId="FootnoteReference">
|
||||
<w:name w:val="footnote reference"></w:name>
|
||||
<w:basedOn w:val="DefaultParagraphFont"></w:basedOn>
|
||||
<w:uiPriority w:val="99"></w:uiPriority>
|
||||
<w:semiHidden></w:semiHidden>
|
||||
<w:unhideWhenUsed></w:unhideWhenUsed>
|
||||
<w:rPr>
|
||||
<w:vertAlign w:val="superscript"></w:vertAlign>
|
||||
</w:rPr>
|
||||
</w:style>
|
||||
<w:style w:type="paragraph" w:styleId="FootnoteText">
|
||||
<w:pPr>
|
||||
<w:spacing w:after="0" w:line="240" w:lineRule="auto"></w:spacing>
|
||||
</w:pPr>
|
||||
<w:rPr>
|
||||
<w:sz w:val="20"></w:sz>
|
||||
<w:szCs w:val="20"></w:szCs>
|
||||
</w:rPr>
|
||||
<w:name w:val="footnote text"></w:name>
|
||||
<w:basedOn w:val="Normal"></w:basedOn>
|
||||
<w:link w:val="FootnoteTextChar"></w:link>
|
||||
<w:uiPriority w:val="99"></w:uiPriority>
|
||||
<w:semiHidden></w:semiHidden>
|
||||
<w:unhideWhenUsed></w:unhideWhenUsed>
|
||||
</w:style>
|
||||
<w:style w:type="character" w:styleId="FootnoteTextChar">
|
||||
<w:name w:val="Footnote Text Char"></w:name>
|
||||
<w:rPr>
|
||||
<w:sz w:val="20"></w:sz>
|
||||
<w:szCs w:val="20"></w:szCs>
|
||||
</w:rPr>
|
||||
<w:uiPriority w:val="99"></w:uiPriority>
|
||||
<w:unhideWhenUsed></w:unhideWhenUsed>
|
||||
<w:basedOn w:val="DefaultParagraphFont"></w:basedOn>
|
||||
<w:link w:val="FootnoteText"></w:link>
|
||||
<w:uiPriority w:val="99"></w:uiPriority>
|
||||
<w:semiHidden></w:semiHidden>
|
||||
</w:style>
|
||||
</w:styles>
|
|
@ -0,0 +1,76 @@
|
|||
use super::xml_builder::*;
|
||||
|
||||
pub struct ContentTypes {}
|
||||
|
||||
impl ContentTypes {
|
||||
pub fn new() -> ContentTypes {
|
||||
ContentTypes {}
|
||||
}
|
||||
|
||||
pub fn build(&self) -> Vec<u8> {
|
||||
let b = XMLBuilder::new();
|
||||
b.add_declaration()
|
||||
.open_types("http://schemas.openxmlformats.org/package/2006/content-types")
|
||||
.add_override(
|
||||
"/_rels/.rels",
|
||||
"application/vnd.openxmlformats-package.relationships+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/docProps/app.xml",
|
||||
"application/vnd.openxmlformats-officedocument.extended-properties+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/docProps/core.xml",
|
||||
"application/vnd.openxmlformats-package.core-properties+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/word/_rels/document.xml.rels",
|
||||
"application/vnd.openxmlformats-package.relationships+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/word/settings.xml",
|
||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/word/fontTable.xml",
|
||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/word/document.xml",
|
||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",
|
||||
)
|
||||
.add_override(
|
||||
"/word/styles.xml",
|
||||
"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",
|
||||
)
|
||||
.close()
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
use super::*;
|
||||
use std::str;
|
||||
|
||||
#[test]
|
||||
fn test_build() {
|
||||
let c = ContentTypes::new();
|
||||
let b = c.build();
|
||||
assert_eq!(
|
||||
str::from_utf8(&b).unwrap(),
|
||||
r#"<?xml version="1.0" encoding="UTF-8" />
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
||||
<Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />
|
||||
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />
|
||||
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
||||
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml" />
|
||||
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml" />
|
||||
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml" />
|
||||
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" />
|
||||
</Types>"#
|
||||
);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
pub mod content_types;
|
||||
mod xml_builder;
|
||||
mod xml_document;
|
||||
|
||||
use content_types::*;
|
||||
|
||||
pub(crate) struct Document {
|
||||
content_type: ContentTypes,
|
||||
}
|
||||
|
||||
impl Document {
|
||||
pub fn new() -> Document {
|
||||
let content_type = ContentTypes::new();
|
||||
Document { content_type }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
use xml::writer::{EmitterConfig, EventWriter, XmlEvent};
|
||||
|
||||
pub struct XMLBuilder {
|
||||
writer: EventWriter<Vec<u8>>,
|
||||
}
|
||||
|
||||
impl XMLBuilder {
|
||||
pub(crate) fn new() -> XMLBuilder {
|
||||
let buf = Vec::new();
|
||||
let writer = EmitterConfig::new()
|
||||
.write_document_declaration(false)
|
||||
.perform_indent(true)
|
||||
.create_writer(buf);
|
||||
XMLBuilder { writer }
|
||||
}
|
||||
|
||||
pub(crate) fn add_declaration(mut self) -> Self {
|
||||
self.writer
|
||||
.write(
|
||||
XmlEvent::start_element("?xml")
|
||||
.attr("version", "1.0")
|
||||
.attr("encoding", "UTF-8"),
|
||||
)
|
||||
.expect("should write to buf");
|
||||
self.close()
|
||||
}
|
||||
|
||||
pub(crate) fn open_types(mut self, uri: &str) -> Self {
|
||||
self.writer
|
||||
.write(XmlEvent::start_element("Types").attr("xmlns", uri))
|
||||
.expect("should write to buf");
|
||||
self
|
||||
}
|
||||
|
||||
pub(crate) fn add_override(mut self, name: &str, content_type: &str) -> Self {
|
||||
self.writer
|
||||
.write(
|
||||
XmlEvent::start_element("Override")
|
||||
.attr("PartName", &name)
|
||||
.attr("ContentType", &content_type),
|
||||
)
|
||||
.expect("should write to buf");
|
||||
self.close()
|
||||
}
|
||||
|
||||
pub(crate) fn close(mut self) -> Self {
|
||||
self.writer
|
||||
.write(XmlEvent::end_element())
|
||||
.expect("should end");
|
||||
self
|
||||
}
|
||||
|
||||
pub(crate) fn build(self) -> Vec<u8> {
|
||||
self.writer.into_inner()
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
use super::Document;
|
||||
|
||||
pub(crate) struct XMLDocument {
|
||||
content_type: Vec<u8>,
|
||||
}
|
||||
|
||||
impl From<Document> for XMLDocument {
|
||||
fn from(doc: Document) -> XMLDocument {
|
||||
let content_type = doc.content_type.build();
|
||||
XMLDocument { content_type }
|
||||
}
|
||||
}
|
|
@ -1,22 +1,28 @@
|
|||
mod documents;
|
||||
|
||||
use documents::*;
|
||||
|
||||
use std::fs::File;
|
||||
use std::io::{self, Write};
|
||||
|
||||
use xml::writer::{EmitterConfig, EventWriter, Result, XmlEvent};
|
||||
|
||||
pub fn simple() {
|
||||
let doc = Document::new();
|
||||
let mut file = File::create("./dist/output.xml").unwrap();
|
||||
let mut b = Vec::new();
|
||||
let mut w = EmitterConfig::new()
|
||||
.write_document_declaration(false)
|
||||
.create_writer(&mut b);
|
||||
|
||||
w.write(XmlEvent::start_element("h:hello").ns("h", "urn:hello-world"))
|
||||
.unwrap();
|
||||
w.write("hello world").unwrap();
|
||||
w.write(XmlEvent::end_element()).unwrap();
|
||||
|
||||
file.write_all(&b).unwrap();
|
||||
file.flush().unwrap();
|
||||
// let mut b = Vec::new();
|
||||
// let mut w = EmitterConfig::new()
|
||||
// .write_document_declaration(false)
|
||||
// .create_writer(&mut b);
|
||||
// w.write(
|
||||
// XmlEvent::start_element("?xml")
|
||||
// .attr("version", "1.0")
|
||||
// .attr("encoding", "UTF-8"),
|
||||
// );
|
||||
// // w.write("hello world").unwrap();
|
||||
// w.write(XmlEvent::end_element()).unwrap();
|
||||
// file.write_all(&b).unwrap();
|
||||
// file.flush().unwrap();
|
||||
// assert_eq!(
|
||||
// str::from_utf8(&b).unwrap(),
|
||||
// r#"<h:hello xmlns:h="urn:hello-world">hello world</h:hello>"#
|
||||
|
|
Loading…
Reference in New Issue