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
File details
Details for the file docx-live-reload-0.0.6.tar.gz
.
File metadata
- Download URL: docx-live-reload-0.0.6.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f724ea370934fc14bd523728f648b33d70cdc1a1ecc976afc5b7e1f7b575d5 |
|
MD5 | 5cd55208189da668e4878a0540021896 |
|
BLAKE2b-256 | c048f3bbe6eed1789ca97365000cd914ed66b9e8f42f6d82286ff663bab9c9ed |
File details
Details for the file docx_live_reload-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: docx_live_reload-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28a03235ae3ad5a4b42519ef3dd7bd966c3ad1417f234f97d39067ce693c4b9 |
|
MD5 | 06f48c59e01f938297996197d90d44b1 |
|
BLAKE2b-256 | de9b4169deaba20122857a40750268446e97fa7d5a98f705cd2a5de079c967be |