Reads .docx and .doc-files (the latter with support from antiword) and converts them to a XML form that is slightly easier to deal with.
log= <logging.Logger object>¶
Converts the word file to a more easily parsed format.
- wordfile – Path to original docfile
- intermediatefile – Where to store the more parseable file
name of parseable file, filetype (either “doc” or “docx”)
Convert a old Word document (.doc) to a pseudo-docbook file through antiword.
Extracts the raw OOXML file from a modern Word document (.docx).