blob: f77c89819118bf24ba784dabd0110471492ac500 [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="EndnoteReference"/>
</w:rPr>
<w:endnoteReference 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="EndnoteReference"/>
</w:rPr>
<w:endnoteReference 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="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="2"/>
</w:r>
<w:r>
<w:t xml:space="preserve"> endnote</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-endnotes.xml"
##item endnotes.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:endnotes xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:endnote w:id="0">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</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"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:id="1">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</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"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:id="2">
<w:p>
<w:pPr>
<w:pStyle w:val="EndnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteRef/>
</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"> endnote</w:t>
</w:r>
</w:p>
</w:endnote>
</w:endnotes>
#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="endnote" id="word7"><span id="word10-endnotes">Content of the </span><span id="word13-endnotes" style="font-weight: bold">first</span><span id="word19-endnotes"> endnote</span></span><span id="word11"> second</span><span class="endnote" id="word14"><span id="word30-endnotes">Content of the </span><span id="word33-endnotes" style="font-style: italic">second</span><span id="word39-endnotes"> endnote</span></span><span id="word18"> third</span><span class="endnote" id="word21"><span id="word50-endnotes">Content of the </span><span id="word53-endnotes" style="text-decoration: underline">third</span><span id="word58-endnotes"> endnote</span></span><span id="word25"> endnote</span>
</p>
</body>
</html>