File tree Expand file tree Collapse file tree 4 files changed +68
-3
lines changed
tests/test_files/expanded_docx Expand file tree Collapse file tree 4 files changed +68
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
- <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml"/><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="jpeg" ContentType="image/jpeg"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/customXml/itemProps1.xml" ContentType="application/vnd.openxmlformats-officedocument.customXmlProperties+xml"/><Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/><Override PartName="/word/stylesWithEffects.xml" ContentType="application/vnd.ms-word.stylesWithEffects+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
2
+ <Types xmlns =" http://schemas.openxmlformats.org/package/2006/content-types" >
3
+ <Default Extension =" xml" ContentType =" application/xml" />
4
+ <Default Extension =" rels" ContentType =" application/vnd.openxmlformats-package.relationships+xml" />
5
+ <Default Extension =" jpeg" ContentType =" image/jpeg" />
6
+ <Override PartName =" /word/document.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml" />
7
+ <Override PartName =" /word/header1.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml" />
8
+ <Override PartName =" /word/footer1.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml" />
9
+ <Override PartName =" /customXml/itemProps1.xml" ContentType =" application/vnd.openxmlformats-officedocument.customXmlProperties+xml" />
10
+ <Override PartName =" /word/numbering.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml" />
11
+ <Override PartName =" /word/styles.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml" />
12
+ <Override PartName =" /word/stylesWithEffects.xml" ContentType =" application/vnd.ms-word.stylesWithEffects+xml" />
13
+ <Override PartName =" /word/settings.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml" />
14
+ <Override PartName =" /word/webSettings.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml" />
15
+ <Override PartName =" /word/fontTable.xml" ContentType =" application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml" />
16
+ <Override PartName =" /word/theme/theme1.xml" ContentType =" application/vnd.openxmlformats-officedocument.theme+xml" />
17
+ <Override PartName =" /docProps/core.xml" ContentType =" application/vnd.openxmlformats-package.core-properties+xml" />
18
+ <Override PartName =" /docProps/app.xml" ContentType =" application/vnd.openxmlformats-officedocument.extended-properties+xml" />
19
+ </Types >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId4" Type="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects" Target="stylesWithEffects.xml"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/><Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target="webSettings.xml"/><Relationship Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/><Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target="numbering.xml"/></Relationships>
2
+ <Relationships xmlns =" http://schemas.openxmlformats.org/package/2006/relationships" >
3
+ <Relationship Id =" rId3" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target =" styles.xml" />
4
+ <Relationship Id =" rId4" Type =" http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects" Target =" stylesWithEffects.xml" />
5
+ <Relationship Id =" rId5" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target =" settings.xml" />
6
+ <Relationship Id =" rId6" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target =" webSettings.xml" />
7
+ <Relationship Id =" rId7" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target =" fontTable.xml" />
8
+ <Relationship Id =" rId8" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target =" theme/theme1.xml" />
9
+ <Relationship Id =" rId9" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target =" header1.xml" />
10
+ <Relationship Id =" rId1" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target =" ../customXml/item1.xml" />
11
+ <Relationship Id =" rId2" Type =" http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target =" numbering.xml" />
12
+ </Relationships >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
- <w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="urn:schemas-microsoft-com:mac:vml" 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: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 wp14"><w:body><w:p w:rsidR="00CC4B79" w:rsidRDefault="005A4D0D"><w:pPr><w:pStyle w:val="Heading1"/></w:pPr><w:bookmarkStart w:id="0" w:name="_GoBack"/><w:bookmarkEnd w:id="0"/><w:r><w:t>python-docx was here!</w:t></w:r></w:p><w:p w:rsidR="00CC4B79" w:rsidRDefault="005A4D0D"><w:r><w:t>python-docx was here too!</w:t></w:r></w:p><w:sectPr w:rsidR="00CC4B79"><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:linePitch="360"/></w:sectPr></w:body></w:document>
2
+ <w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="urn:schemas-microsoft-com:mac:vml" 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: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 wp14">
3
+ <w : body >
4
+ <w : p w : rsidR =" 00CC4B79" w : rsidRDefault =" 005A4D0D" >
5
+ <w : pPr >
6
+ <w : pStyle w : val =" Heading1" />
7
+ </w : pPr >
8
+ <w : bookmarkStart w : id =" 0" w : name =" _GoBack" />
9
+ <w : bookmarkEnd w : id =" 0" />
10
+ <w : r >
11
+ <w : t >python-docx was here!</w : t >
12
+ </w : r >
13
+ </w : p >
14
+ <w : p w : rsidR =" 00CC4B79" w : rsidRDefault =" 005A4D0D" >
15
+ <w : r >
16
+ <w : t >python-docx was here too!</w : t >
17
+ </w : r >
18
+ </w : p >
19
+ <w : sectPr w : rsidR =" 00CC4B79" >
20
+ <w : headerReference w : type =" default" r : id =" rId9" />
21
+ <w : pgSz w : w =" 12240" w : h =" 15840" />
22
+ <w : pgMar w : top =" 1440" w : right =" 1800" w : bottom =" 1440" w : left =" 1800" w : header =" 720" w : footer =" 720" w : gutter =" 0" />
23
+ <w : cols w : space =" 720" />
24
+ <w : docGrid w : linePitch =" 360" />
25
+ </w : sectPr >
26
+ </w : body >
27
+ </w : document >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <w : hdr xmlns : w =" http://schemas.openxmlformats.org/wordprocessingml/2006/main" >
3
+ <w : p >
4
+ <w : pPr >
5
+ <w : pStyle w : val =" Header" />
6
+ <w : rPr />
7
+ </w : pPr >
8
+ <w : r >
9
+ <w : rPr />
10
+ <w : t >This is a header.</w : t >
11
+ </w : r >
12
+ </w : p >
13
+ </w : hdr >
You can’t perform that action at this time.
0 commit comments