|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
|
[Plugin] DocxOdtHwpxImporter - Import Docx, Odt, and Hwpx files into the current EPUB
Updated: Sep, 11, 2026
Current Version: 0.1.0 Status: Stable Plugin type: edit How it works: Import Docx, Odt, and Hwpx files into the current EPUB with all styles. This plugin imports Docx, Odt, and Hwpx(Just ignore about Hwpx—it's a word processor only used in Korea.) files directly into the EPUB file currently being edited. While plugins like DocxImporter and OdtImport already exist, there are several key differences. DocxImporter and OdtImport import files by creating a new EPUB, which prevents them from being used alongside plugins such as Template2 or Template3. Furthermore, they strip all styling applied in word processors like Microsoft Word. While this has the benefit of keeping the underlying code simple, it also means you have to re-edit everything from scratch. Because this plugin appends content directly to the currently open EPUB, it can be used with Template2 or Template3, and it allows you to combine two or more Docx or Odt files into a single EPUB. For this reason, the plugin type is categorized as edit rather than input. It can preserve all formatting and styles applied in editing software such as MS Word or LibreOffice (importing plain text without styles is also supported). All embedded images within the document are automatically imported into the Images folder. Preserving all formatting can result in more complex code, but with regex cleanups, you can quickly produce an EPUB while keeping your original layout and styles intact. How to use:
The plugin:
Installation: 1. Select Manage Plugins from the Plugins menu. In the Manage Plugins dialog box, select Use Bundled Python, if it isn't already selected. 2. Click Add Plugin and select DocxOdtHwpxImporter_vX.X.X.zip and run via Plugins > Edit > DocxOdtHwpxImporter. Issues: Tested with several moderately complex Docx, Odt, and Hwpx documents, and all were successfully added to the EPUB without issues. However, unexpected errors may still occur across different document structures, so please report any problems you encounter. OS Requirements: Windows/Linux/OS X. Tested on Windows only. Please let me know if you run into any issues on Linux or OS X. Sigil Requirements: Minimum version of Sigil: 2.6.0 or higher This plugin was developed with the assistance of AI. Last edited by byword; Yesterday at 11:14 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Plugin to import text files | CalibUser | Plugins | 24 | 07-10-2025 04:59 AM |
| [File Type Plugin] Automatically Add Covers to .djvu Files on Import | hazel.noelle | Plugins | 4 | 01-07-2023 07:33 AM |
| Convert form Zip including Docx files to EPUB | The_book | Conversion | 1 | 03-22-2022 12:45 PM |
| Image handling from imported DOCX/ODT | STrRedWolf | Conversion | 3 | 05-09-2021 12:32 AM |
| Track changes in odt and docx files | mcdummy | Calibre | 1 | 05-03-2016 07:18 AM |