Preview a Docx file in MS Word. Modify the Docx file or the extracted document.xml or style.xml and the document will reload in MS Word and show the changes.
Project description
docx-live-reload
This is a command line tool that is useful for experimenting with Word documents and learning about WordprocessingML structures.
Requirements
It works on Windows only and MS Word must be installed.
Usage
Running: docx-live-reload example.docx
Will create extract the content of the document to a test.docx__extracted
folder, making changes to example.docx__extracted\word\document.xml
or ..styles.xml
will cause the document to reload in MS Word and show the changes.
Also making changes to example.docx
using python-docx
for example will also cause the document to reload in MS Word and show the changes.
After running the tool you can type r
to manaually reload the document in MS Word and type q
to quit.
Installation
pip install docx-live-reload
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for docx_live_reload-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db017f090395897ec974f21c3d9679094199046d0b1308c369ffc0b9fa4dcc48 |
|
MD5 | b72ec68579a80b7e7c14c61fa8c742e6 |
|
BLAKE2b-256 | 804bb80278ad5bf673fefdc3001eaa17ddc318a7e1f8f124f22e29de20835aa8 |