diff options
| author | John MacFarlane <[email protected]> | 2026-01-20 09:57:58 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2026-01-20 09:57:58 +0100 |
| commit | eec51ddf16a6ce392c461810ce945880ef5362f5 (patch) | |
| tree | c3a71639a05ccd47fde0122fe7d71ad07b9bd2de | |
| parent | 595156db33677f574488f2982a9ff71e9bf6a757 (diff) | |
odt link-images
| -rw-r--r-- | wasm/index.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/wasm/index.html b/wasm/index.html index 23ecb10ac..4d7a6be62 100644 --- a/wasm/index.html +++ b/wasm/index.html @@ -1129,6 +1129,13 @@ <label for="opt-ascii">ASCII output only (escape non-ASCII characters)</label> </div> </div> + <!-- ODT options --> + <div v-show="effectiveOutputFormat === 'odt'" style="margin-top: 0.75rem;"> + <div class="checkbox-group"> + <input type="checkbox" id="opt-link-images" v-model="opts.linkImages" /> + <label for="opt-link-images">Link images (reference instead of embed)</label> + </div> + </div> </div> <!-- EPUB --> @@ -1464,7 +1471,8 @@ slideLevel: '', incremental: false, wrap: 'auto', - columns: '' + columns: '', + linkImages: false }, // Metadata @@ -2320,6 +2328,11 @@ if (this.opts.epubSubdirectory.trim()) opts['epub-subdirectory'] = this.opts.epubSubdirectory.trim(); } + // ODT options + if (baseOutFmt === 'odt') { + if (this.opts.linkImages) opts['link-images'] = true; + } + // Template if (this.templateFile) opts.template = this.templateFile.name; |
