Issues regarding the processing of doc and Kingsoft wps format documents
Tomaž Vajngerl
quikee at gmail.com
Tue Jul 29 09:04:25 UTC 2025
Hi,
On Tue, Jul 29, 2025 at 8:23 AM 王志杰 <wangzhijie at kylinos.cn> wrote:
>
> I'm a user who is just getting started with document formats. I'm quite curious about one question: How does libreoffice convert doc and Kingsoft wps format documents to docx? At first, I suspected that libwps was being used, but I found that this library couldn't handle documents in Kingsoft wps format. So, is libreoffice an internal document format importer that handles Kingsoft wps format documents
Kingsoft WPS format is using the MS binary (DOC) format as the base
and then they have their additional extensions to the format (for
things that are not supported by the old DOC format). This is why
LibreOffice is able to open WPS files, however it ignores whatever
extensions they have added.
In LibreOffice we don't use a library for DOC or DOCX import/export -
we use our own implementation that is part of the LibreOffice and is
also relatively deeply integrated with other parts, so it's not easy
to take that out.
Note that libwps is not for Kingsoft WPS format but old Microsoft
Works documents.
Tomaž
More information about the LibreOffice
mailing list