Uncompress, read and install LibreOffice .oxt dictionaries extensions.
Parameters: |
|
---|---|
Return type: | None |
This function extracts the Hunspell dictionaries (.dic and .aff files) from all the .oxt extensions found on oxt_path directory to the extract_path directory.
Extensions like the ones found here:
In detail, this functions does the following:
- Find all the .oxt extension files within oxt_path
- Open (unzip) each extension.
- Find the dictionary definition file within (dictionaries.xcu)
- Parse the dictionary definition file and locate the dictionaries files.
- Uncompress those files to extract_path.
By default file overriding is disabled, set override parameter to True if you want to enable it. As and additional option, each processed extension can be moved to move_path.