blob: bcdc77b17f045e3a3899fee8ddb3611ffa325d1a [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>before</w:t>
</w:r>
</w:p>
<w:p>
<w:pPr>
<w:pStyle w:val="Caption"/>
<w:keepNext/>
</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>: First table</w:t>
</w:r>
</w:p>
<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:tc>
</w:tr>
</w:tbl>
<w:p>
<w:pPr>
<w:pStyle w:val="Caption"/>
<w:keepNext/>
</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>2</w:t>
</w:r>
</w:fldSimple>
<w:r>
<w:t>: Second table</w:t>
</w:r>
</w:p>
<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:tc>
</w:tr>
</w:tbl>
<w:p>
<w:r>
<w:t>after</w:t>
</w:r>
<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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
<w:docDefaults>
<w:rPrDefault>
<w:rPr>
<w:rFonts w:asciiTheme="minorHAnsi" w:cstheme="minorBidi" w:eastAsiaTheme="minorEastAsia" w:hAnsiTheme="minorHAnsi"/>
<w:sz w:val="24"/>
<w:szCs w:val="24"/>
<w:lang w:bidi="ar-SA" w:eastAsia="en-US" w:val="en-AU"/>
</w:rPr>
</w:rPrDefault>
<w:pPrDefault/>
</w:docDefaults>
<w:style w:default="1" w:styleId="Normal" w:type="paragraph">
<w:name w:val="Normal"/>
<w:qFormat/>
<w:pPr>
<w:spacing w:after="100" w:afterAutospacing="1" w:before="100" w:beforeAutospacing="1"/>
</w:pPr>
</w:style>
<w:style w:default="1" w:styleId="DefaultParagraphFont" w:type="character">
<w:name w:val="Default Paragraph Font"/>
<w:uiPriority w:val="1"/>
<w:semiHidden/>
<w:unhideWhenUsed/>
</w:style>
<w:style w:default="1" w:styleId="TableNormal" w:type="table">
<w:name w:val="Normal Table"/>
<w:uiPriority w:val="99"/>
<w:semiHidden/>
<w:unhideWhenUsed/>
<w:tblPr>
<w:tblInd w:type="dxa" w:w="0"/>
<w:tblCellMar>
<w:top w:type="dxa" w:w="0"/>
<w:left w:type="dxa" w:w="108"/>
<w:bottom w:type="dxa" w:w="0"/>
<w:right w:type="dxa" w:w="108"/>
</w:tblCellMar>
</w:tblPr>
</w:style>
<w:style w:default="1" w:styleId="NoList" w:type="numbering">
<w:name w:val="No List"/>
<w:uiPriority w:val="99"/>
<w:semiHidden/>
<w:unhideWhenUsed/>
</w:style>
<w:style w:styleId="TableGrid" w:type="table">
<w:name w:val="Table Grid"/>
<w:basedOn w:val="TableNormal"/>
<w:uiPriority w:val="59"/>
<w:rsid w:val="00C90B36"/>
<w:tblPr>
<w:tblInd w:type="dxa" w:w="0"/>
<w:tblBorders>
<w:top w:color="auto" w:space="0" w:sz="4" w:val="single"/>
<w:left w:color="auto" w:space="0" w:sz="4" w:val="single"/>
<w:bottom w:color="auto" w:space="0" w:sz="4" w:val="single"/>
<w:right w:color="auto" w:space="0" w:sz="4" w:val="single"/>
<w:insideH w:color="auto" w:space="0" w:sz="4" w:val="single"/>
<w:insideV w:color="auto" w:space="0" w:sz="4" w:val="single"/>
</w:tblBorders>
<w:tblCellMar>
<w:top w:type="dxa" w:w="0"/>
<w:left w:type="dxa" w:w="108"/>
<w:bottom w:type="dxa" w:w="0"/>
<w:right w:type="dxa" w:w="108"/>
</w:tblCellMar>
</w:tblPr>
</w:style>
<w:style w:styleId="Caption" w:type="paragraph">
<w:name w:val="caption"/>
<w:basedOn w:val="Normal"/>
<w:next w:val="Normal"/>
<w:uiPriority w:val="35"/>
<w:unhideWhenUsed/>
<w:qFormat/>
<w:rsid w:val="00C90B36"/>
<w:pPr>
<w:spacing w:after="200"/>
</w:pPr>
<w:rPr>
<w:b/>
<w:bCs/>
<w:color w:themeColor="accent1" w:val="4F81BD"/>
<w:sz w:val="18"/>
<w:szCs w:val="18"/>
</w:rPr>
</w:style>
</w:styles>
#item expected
<!DOCTYPE html>
<html id="word1">
<head>
<meta charset="utf-8"/>
<link href="reset.css" rel="stylesheet"/>
<style>
#include "common-table.css"
</style>
</head>
<body id="word2">
<p class="Normal" id="word3">
<span id="word4">before</span>
</p>
<table class="Table_Grid" id="word23" style="width: 100%">
<caption id="word7" style="caption-side: top">
<span id="word20">First table</span>
</caption>
<colgroup>
<col width="50%"/>
<col width="50%"/>
</colgroup>
<tr id="word31">
<td id="word32">
<p class="Normal" id="word35">
<br/>
</p>
</td>
<td id="word36">
<p class="Normal" id="word39">
<br/>
</p>
</td>
</tr>
</table>
<table class="Table_Grid" id="word56" style="width: 100%">
<caption id="word40" style="caption-side: top">
<span id="word53">Second table</span>
</caption>
<colgroup>
<col width="50%"/>
<col width="50%"/>
</colgroup>
<tr id="word64">
<td id="word65">
<p class="Normal" id="word68">
<br/>
</p>
</td>
<td id="word69">
<p class="Normal" id="word72">
<br/>
</p>
</td>
</tr>
</table>
<p class="Normal" id="word73">
<span id="word74">after</span>
</p>
</body>
</html>