Thanks again for your help. I can always go back to my old process where I change this field manually, but it needs to be done first before any updates are saved in the DOCX.
I have reviewed the comments made by Kovid. The element in question is "doNotAutoCompressPictures" and is located in document.settings (settings.xml). Currently, Calibre is not generating this structure within the output DOCX. Looking at create_skeleton (within ..\src\calibre\ebooks\docx\writer\container.py), I suspect making this change is going to take more than adding a couple of lines of code.
Quote:
Originally Posted by BetterRed
For reasons unbeknownst to me, the output of an EPUB->RTF conversion always has the "Do not compress..." option checked, both before and after I apply one of my templates.
|
If I had to guess, opening an RTF in Word uses your default setting for this and other options as I don't believe the RTF structure has these fields. You can actually edit the RTF in Word, uncheck this option, save the RTF and exit, and when you re-open the RTF, this option will be checked again.