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.4.tar.gz
.
File metadata
- Download URL: docx-live-reload-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7818637d353dd708cc5628c3f2c71b9d1d2470d39344b27cb62d8733f157a9e |
|
MD5 | 1a967c4f299f22c54e1b6c36523de65b |
|
BLAKE2b-256 | a8db5e96432f69a0b1159c9dae934cbd750d3e6531e431c91e73f6e41cef2a72 |
File details
Details for the file docx_live_reload-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: docx_live_reload-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 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 | 2641b2d95b90dd0e42c18ff861caab9c1efaa5590de2888bdb3044f0a31e971c |
|
MD5 | 0639e3a1b6a59f687bc9e5ff207a93be |
|
BLAKE2b-256 | 9faaa235c9b4a9fb5400822125c56677d6b9df162ea6c984b7ef141670960fb6 |