forked from LiveCarta/BookConverter
docx presets improves
This commit is contained in:
@@ -80,7 +80,8 @@ class DocxBook(BookSolver):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
docx_file_path = "../../books/docx/AmericanGovernment3e-WEB.docx"
|
||||
|
||||
docx_file_path = "../../books/docx/output.docx"
|
||||
logger_object = BookLogger(
|
||||
name="docx", book_id=docx_file_path.split("/")[-1])
|
||||
locker = Event()
|
||||
@@ -88,7 +89,6 @@ if __name__ == "__main__":
|
||||
|
||||
html_converter = Docx2LibreHtml(file_path=docx_file_path,
|
||||
logger=logger_object, libre_locker=locker)
|
||||
|
||||
html_preprocessor = HtmlPresetsProcessor(
|
||||
logger=logger_object, preset_path="../../presets/docx_presets.json")
|
||||
style_preprocessor = StyleReader()
|
||||
|
||||
Reference in New Issue
Block a user