From 664ddf49cc652c94346e389f95c26c925b93a175 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 4 Jul 2018 15:22:04 +0530 Subject: [PATCH] AZW3 output options UI --- src/pyj/book_list/conversion_widgets.pyj | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/pyj/book_list/conversion_widgets.pyj b/src/pyj/book_list/conversion_widgets.pyj index ffa4601956..a3360d3944 100644 --- a/src/pyj/book_list/conversion_widgets.pyj +++ b/src/pyj/book_list/conversion_widgets.pyj @@ -604,6 +604,19 @@ def mobi_output(container): g.appendChild(checkbox('share_not_sync', _('Enable &sharing of book content via Facebook, etc. WARNING: Disables last read syncing'))) # }}} +# AZW3 Output {{{ +@ep +def azw3_output(container): + g = E.div(class_='simple-group') + container.appendChild(g) + g.appendChild(checkbox('no_inline_toc', _('Do not add &Table of Contents to book'))) + g.appendChild(lineedit('toc_title', indent + _('&Title for Table of Contents:'))) + g.appendChild(checkbox('mobi_toc_at_start', _('Put generated Table of Contents at &start of book instead of end'))) + g.appendChild(checkbox('prefer_author_sort', _('Use author &sort for author'))) + g.appendChild(checkbox('dont_compress', _('Disable &compression of the file contents'))) + g.appendChild(checkbox('share_not_sync', _('Enable &sharing of book content via Facebook, etc. WARNING: Disables last read syncing'))) +# }}} + def restore_defaults(): for setting in registry: set(setting, get_option_default_value(setting))