Quote:
Originally Posted by Guessed
I would say it is better to have the styles.xml bloat than it is to have document.xml bloat.
|
So true. The code I posted was increasing document.xml 5 times, leaving styles.xml untouched.
The original file it's created in GUI Word 2003 as *.doc and saved in 2019 as *.docx.
Can something be added to Paul's code in order to "clean", "reset" or "recreate from scratch" the file styles.xml (and maybe document.xml) in order to keep only the necessary data and to purge unnecessary/duplicated data?