https://bugs.documentfoundation.org/show_bug.cgi?id=165215

Sakai <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|25.2.0.3 release            |26.8.2.2 release

--- Comment #5 from Sakai <[email protected]> ---
Thank you for tracking native HWPX support in LibreOffice.

I would like to provide additional technical resources and request that the
development team consider implementing native HWP/HWPX interoperability
directly within LibreOffice Writer.

1. Requested features

- Native HWPX (OWPML / KS X 6101) import and export.
- Improved HWP 5.x import compatibility.
- Editing and saving without third-party extensions or external converters.
- Preservation of Korean text formatting, tables, images, equations, headers,
footers, page layouts, and document styles.
- Reliable ODT ↔ HWPX round-trip conversion.
- Cross-platform support for Windows, Linux, and macOS.

HWPX import would be the immediate priority. I understand that HWPX export may
require a separate enhancement issue.

2. Official Hancom specifications and usage conditions

Hancom publicly provides the HWP file format specifications and OWPML
documentation:

https://download.hancom.com/support/downloadCenter/hwpOwpml

The published HWP usage terms permit independently developed implementations
based on the documentation, subject to the stated conditions.

One required attribution statement is:

"본 제품은 한컴의 HWP 문서 파일(.hwp) 공개 문서를 참고하여 개발하였습니다."

The official Korean terms should be reviewed for attribution and redistribution
requirements.

I propose using the published specifications and independently developed
open-source implementations only.

No reverse engineering, extraction of proprietary libraries, or reuse of
Hancom-authored source code is proposed.

3. Independent open-source projects for evaluation

Several GitHub repositories may provide useful implementation references:

- OpenHWP (Rust, MIT): https://github.com/openhwp/openhwp
- HanDoc (TypeScript, MIT license file): https://github.com/muin-company/handoc
- hwplib (Java, Apache 2.0): https://github.com/neolord0/hwplib
- hwpxlib (Java, Apache 2.0): https://github.com/neolord0/hwpxlib
- hwp2hwpx (Java, Apache 2.0): https://github.com/neolord0/hwp2hwpx
- jhwpx-converter (TypeScript, MIT declared in package.json):
https://github.com/damulhan/jhwpx-converter
- syhwp (Python, MIT): https://github.com/sysphere/syhwp

These projects should be evaluated for implementation completeness, security,
code provenance, license compatibility, and conversion fidelity. They have not
been established as drop-in replacements for LibreOffice filters.

4. LibreOffice licensing requirements

Official policy:

https://www.libreoffice.org/licenses/

I understand that LibreOffice requests new contributions under both MPL 2.0 and
LGPL 3.0-or-later.

The proposed work should comply with these contribution requirements and
preserve any applicable third-party copyright notices.

Direct incorporation of existing third-party code should be considered only
after reviewing the legal and technical implications.

5. Suggested development approach

I would recommend:

1. Evaluating OpenHWP and other independent implementations.
2. Implementing a native HWPX import filter.
3. Adding appropriate Writer document-model mappings.
4. Implementing native HWPX export.
5. Testing ODT/HWPX round-trip compatibility with representative Korean
documents.
6. Adding regression tests, malformed-document handling, and parser security
testing.
7. Considering modern HWP 5.x import improvements as a related development
effort.

I would strongly prefer functionality integrated into LibreOffice itself rather
than a separate extension.

6. Request to the development team

Could the maintainers please consider these resources and clarify whether
native HWPX import and export could be included in a future LibreOffice
release?

If export support should be tracked separately from this existing import
enhancement, please advise on the preferred approach.

Improved HWP/HWPX compatibility would be particularly valuable for users
exchanging documents with Korean public institutions, businesses, and
educational organizations.

Thank you for considering this proposal and for your continued work on
LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to