diff --git a/src/calibre/ebooks/conversion/plugins/docx_input.py b/src/calibre/ebooks/conversion/plugins/docx_input.py index 04f9f09144..7492d46c68 100644 --- a/src/calibre/ebooks/conversion/plugins/docx_input.py +++ b/src/calibre/ebooks/conversion/plugins/docx_input.py @@ -6,7 +6,7 @@ from __future__ import (unicode_literals, division, absolute_import, __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal ' -from calibre.customize.conversion import InputFormatPlugin +from calibre.customize.conversion import InputFormatPlugin, OptionRecommendation class DOCXInput(InputFormatPlugin): name = 'DOCX Input' @@ -14,6 +14,8 @@ class DOCXInput(InputFormatPlugin): description = 'Convert DOCX files (.docx) to HTML' file_types = set(['docx']) + recommendations = set([('page_breaks_before', '/', OptionRecommendation.MED)]) + def convert(self, stream, options, file_ext, log, accelerators): from calibre.ebooks.docx.to_html import Convert return Convert(stream, log=log)()