blob: 2cce6b7eea0c95ee2e65f76c1023d4c2763ea340 [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 </w:t>
</w:r>
<w:r>
<w:rPr>
<w:b/>
<w:bCs/>
</w:rPr>
<w:t>first</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> 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 </w:t>
</w:r>
<w:r>
<w:rPr>
<w:i/>
<w:iCs/>
</w:rPr>
<w:t>second</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> 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 </w:t>
</w:r>
<w:r>
<w:rPr>
<w:u w:val="single"/>
</w:rPr>
<w:t>third</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> 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 </span><span id="word13-footnotes" style="font-weight: bold">first</span><span id="word19-footnotes"> footnote</span></span><span id="word11"> second</span><span class="footnote" id="word14"><span id="word30-footnotes">Content of the </span><span id="word33-footnotes" style="font-style: italic">second</span><span id="word39-footnotes"> footnote</span></span><span id="word18"> third</span><span class="footnote" id="word21"><span id="word50-footnotes">Content of the </span><span id="word53-footnotes" style="text-decoration: underline">third</span><span id="word58-footnotes"> footnote</span></span><span id="word25"> footnote</span>
</p>
</body>
</html>