blob: 76ea0adc0d91e21a9cbe26f45552eb54658ffbb5 [file] [log] [blame]
ooxml.word.create
#item input.html
<!DOCTYPE html>
<html>
<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%;
}
p.Normal {
-uxwrite-default: true;
-uxwrite-display-name: "Normal";
}
span.Default_Paragraph_Font {
-uxwrite-default: true;
-uxwrite-display-name: "Default Paragraph Font";
}
table.Table_Grid {
-uxwrite-display-name: "Table Grid";
-uxwrite-parent: "table.Normal_Table";
border: thin solid black;
margin-left: 0;
margin-right: auto;
}
table.Table_Grid > * > tr > td {
border: thin solid black;
padding-bottom: 0pt;
padding-left: 5.4pt;
padding-right: 5.4pt;
padding-top: 0pt;
}
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;
}
</style>
</head>
<body>
<table class="Table_Grid" style="width: 66%">
<colgroup>
<col width="50%"/>
<col width="50%"/>
</colgroup>
<tr>
<td>
<p>
<br/>
</p>
</td>
<td>
<p>
<br/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<br/>
</p>
</td>
<td>
<p>
<br/>
</p>
</td>
</tr>
</table>
<p>
<br/>
</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:tbl>
<w:tblPr>
<w:tblStyle w:val="TableGrid"/>
<w:tblW w:type="pct" w:w="3300"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="2810"/>
<w:gridCol w:w="2810"/>
</w:tblGrid>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:type="pct" w:w="2500"/>
</w:tcPr>
<w:p/>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:type="pct" w:w="2500"/>
</w:tcPr>
<w:p/>
</w:tc>
</w:tr>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:type="pct" w:w="2500"/>
</w:tcPr>
<w:p/>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:type="pct" w:w="2500"/>
</w:tcPr>
<w:p/>
</w:tc>
</w:tr>
</w:tbl>
<w:p/>
<w:sectPr>
<w:pgSz w:h="16840" w:w="11900"/>
<w:pgMar w:bottom="1440" w:left="1800" w:right="1800" w:top="1440"/>
</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: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:qFormat/>
</w:style>
<w:style w:default="1" w:styleId="TableNormal" w:type="table">
<w:name w:val="Normal Table"/>
<w:qFormat/>
<w:tblPr>
<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="TableGrid" w:type="table">
<w:name w:val="Table Grid"/>
<w:basedOn w:val="TableNormal"/>
<w:qFormat/>
<w:tblPr>
<w:jc w:val="left"/>
<w:tblBorders>
<w:top w:color="000000" w:sz="4" w:val="single"/>
<w:left w:color="000000" w:sz="4" w:val="single"/>
<w:bottom w:color="000000" w:sz="4" w:val="single"/>
<w:right w:color="000000" w:sz="4" w:val="single"/>
<w:insideH w:color="000000" w:sz="4" w:val="single"/>
<w:insideV w:color="000000" 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:trPr>
<w:jc w:val="left"/>
</w:trPr>
</w:style>
</w:styles>