| ooxml.word.create |
| #item input.html |
| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| </head> |
| <body> |
| |
| <h1>Heading 1</h1> |
| |
| </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:pPr> |
| <w:pStyle w:val="Heading1"/> |
| </w:pPr> |
| <w:r> |
| <w:t>Heading 1</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 |
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| <w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"> |
| <w:style w:styleId="Heading1" w:type="paragraph"> |
| <w:name w:val="heading 1"/> |
| <w:next w:val="Normal"/> |
| <w:qFormat/> |
| <w:pPr> |
| <w:outlineLvl w:val="0"/> |
| </w:pPr> |
| <w:rPr> |
| <w:b/> |
| <w:bCs/> |
| <w:sz w:val="48"/> |
| <w:szCs w:val="48"/> |
| </w:rPr> |
| </w:style> |
| <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:styles> |