blob: 385a2963a3afeec1732e1bba77d244c1e65b8961 [file] [log] [blame]
ooxml.word.put
#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>Endnote paragraph</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="0"/>
</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 endnote</w:t>
</w:r>
</w:p>
</w:endnote>
</w:endnotes>
#item input.html
<!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">Endnote paragraph</span><span class="endnote" id="word7"><span id="word10-endnotes"><b>Content</b> of the endnote</span></span>
</p>
</body>
</html>
#item expected
##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>Endnote paragraph</w:t>
</w:r>
<w:r>
<w:rPr>
<w:rStyle w:val="EndnoteReference"/>
</w:rPr>
<w:endnoteReference w:id="0"/>
</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:rPr>
<w:b/>
<w:bCs/>
</w:rPr>
<w:t xml:space="preserve"> Content</w:t>
</w:r>
<w:r>
<w:t xml:space="preserve"> of the endnote</w:t>
</w:r>
</w:p>
</w:endnote>
</w:endnotes>