<< | Index | >>
Added simple xml format output into ydocx
<document>
<chapters>
<chapter>
<heading>Reyataz</heading>
</chapter>
<chapter>
<heading>Zusammensetzung</heading>
<paragraph><italic>Wirkstoff: </italic>Atazanavir als Sulfat.</paragraph>
<paragraph><italic>Hilfsstoffe:</italic><underline>Kapselinhalt:</underline> Crospovidon; Lactose-Monohydrat; Magnesiumstearat. </paragraph>
<paragraph>...
...
$ docx2html --help
Usage: bin/docx2html file [options]
-f, --format Format of style and chapter {(fi|fachinfo)|(pl|plain)}, default none.
-h, --help Display this help message.
document.xml
<w:pict>
<v:shape id="_x0000_s1086" type="#_x0000_t75" style="position:absolute;margin-left:248.15pt;margin-top:7.4pt;width:33.65pt;height:35.2pt;z-index:-251658752" wrapcoords="-491 0 -491 21130 21600 21130 21600 0 -491 0">
<v:imagedata r:id="rId8" o:title=""/>
<w10:wrap type="tight"/>
</v:shape>
</w:pict>
__rels/document.xml.rels
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image2.png"/> <Relationship Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/> ...