blob: 7a71def6cc7c692a589d0311f8f6d2fc0eaf633a [file] [log] [blame]
ooxml.word.get
#item input.docx
##item document.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:body>
<w:p>
<w:r>
<w:t>First</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteReference w:id="0"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> second</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteReference w:id="1"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> third</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteReference w:id="2"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> footnote</w:t>
</w:r>
</w:p>
<w:sectPr>
<w:pgSz w:h="16840" w:w="11900"/>
<w:pgMar w:bottom="1190" w:left="1190" w:right="1190" w:top="1190"/>
</w:sectPr>
</w:body>
</w:document>
##item styles.xml
#include "styles-footnotes.xml"
##item footnotes.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:footnotes xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:footnote w:id="0">
<w:p>
<w:pPr>
<w:pStyle w:val="FootnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the first footnote</w:t>
</w:r>
</w:p>
</w:footnote>
<w:footnote w:id="1">
<w:p>
<w:pPr>
<w:pStyle w:val="FootnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the second footnote</w:t>
</w:r>
</w:p>
</w:footnote>
<w:footnote w:id="2">
<w:p>
<w:pPr>
<w:pStyle w:val="FootnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteRef/>
</w:r>
<w:r>
<w:t xml:space="preserve"> Content of the third footnote</w:t>
</w:r>
</w:p>
</w:footnote>
</w:footnotes>
#item expected
<!DOCTYPE html>
<html id="word1">
<head>
<meta charset="utf-8"/>
<link href="reset.css" rel="stylesheet"/>
<style>
#include "styles.css"
</style>
</head>
<body id="word2">
<p class="Normal" id="word3">
<span id="word4">First</span><span class="footnote" id="word7"><span id="word10-footnotes">Content of the first footnote</span></span><span id="word11"> second</span><span class="footnote" id="word14"><span id="word21-footnotes">Content of the second footnote</span></span><span id="word18"> third</span><span class="footnote" id="word21"><span id="word32-footnotes">Content of the third footnote</span></span><span id="word25"> footnote</span>
</p>
</body>
</html>