blob: d1051f8b5983858c589b2f1f50ccaa3432af2367 [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:tbl>
<w:tblPr>
<w:tblStyle w:val="TableGrid"/>
<w:tblW w:type="auto" w:w="0"/>
<w:tblLook w:firstColumn="1" w:firstRow="1" w:lastColumn="0" w:lastRow="0" w:noHBand="0" w:noVBand="1" w:val="04A0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="4258"/>
<w:gridCol w:w="4258"/>
</w:tblGrid>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:type="dxa" w:w="4258"/>
</w:tcPr>
<w:p/>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:type="dxa" w:w="4258"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:keepNext/>
</w:pPr>
</w:p>
</w:tc>
</w:tr>
</w:tbl>
<w:p>
<w:pPr>
<w:pStyle w:val="Caption"/>
</w:pPr>
<w:r>
<w:t xml:space="preserve">Table </w:t>
</w:r>
<w:fldSimple w:instr=" SEQ Table \* ARABIC ">
<w:r>
<w:rPr>
<w:noProof/>
</w:rPr>
<w:t>1</w:t>
</w:r>
</w:fldSimple>
<w:r>
<w:t xml:space="preserve"> Test</w:t>
</w:r>
</w:p>
<w:p>
<w:bookmarkStart w:id="0" w:name="_GoBack"/>
<w:bookmarkEnd w:id="0"/>
</w:p>
<w:sectPr>
<w:pgSz w:h="16840" w:w="11900"/>
<w:pgMar w:bottom="1440" w:footer="708" w:gutter="0" w:header="708" w:left="1800" w:right="1800" w:top="1440"/>
<w:cols w:space="708"/>
</w:sectPr>
</w:body>
</w:document>
##item styles.xml
#include "styles.xml"
#item expected
<!DOCTYPE html>
<html id="word1">
<head>
<meta charset="utf-8"/>
<link href="reset.css" rel="stylesheet"/>
<style>
@page {
size: A4 portrait;
}
body {
counter-reset: h1 h2 h3 h4 h5 h6 figure table;
margin-bottom: 12.10084%;
margin-left: 15.12605%;
margin-right: 15.12605%;
margin-top: 12.10084%;
}
caption {
-uxwrite-display-name: "caption";
-uxwrite-next: "p.Normal";
-uxwrite-parent: "p.Normal";
color: #4F81BD;
counter-increment: table;
font-size: 9pt;
font-weight: bold;
margin-bottom: 10pt;
}
caption::before {
content: "Table " counter(table) " ";
}
p.Normal {
-uxwrite-default: true;
-uxwrite-display-name: "Normal";
}
span.Default_Paragraph_Font {
-uxwrite-default: true;
-uxwrite-display-name: "Default Paragraph Font";
}
table.Normal_Table {
-uxwrite-default: true;
-uxwrite-display-name: "Normal Table";
}
table.Normal_Table > * > tr > td {
padding-bottom: 0pt;
padding-left: 5.4pt;
padding-right: 5.4pt;
padding-top: 0pt;
}
table.Table_Grid {
-uxwrite-display-name: "Table Grid";
-uxwrite-parent: "table.Normal_Table";
border: thin solid black;
}
table.Table_Grid > * > tr > td {
border: thin solid black;
padding-bottom: 0pt;
padding-left: 5.4pt;
padding-right: 5.4pt;
padding-top: 0pt;
}
</style>
</head>
<body id="word2">
<table class="Table_Grid" id="word3" style="width: 100%">
<caption id="word22">
<span id="word34">Test</span>
</caption>
<colgroup>
<col width="50%"/>
<col width="50%"/>
</colgroup>
<tr id="word11">
<td id="word12">
<p class="Normal" id="word15">
<br/>
</p>
</td>
<td id="word16">
<p class="Normal" id="word19">
<br/>
</p>
</td>
</tr>
</table>
<p class="Normal" id="word37">
<br/>
</p>
</body>
</html>