Bug 105405 - Hwpfilter does not working for .hwp files
Summary: Hwpfilter does not working for .hwp files
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 09:12 UTC by Gwangyeon
Modified: 2025-02-12 16:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gwangyeon 2017-01-18 09:12:16 UTC
Description:
When I try to open .hwp file libreoffice can't open the file properly. It's broken. I sow the hwpfilter existing and it must be exist for .hwp files for Korean user(Korean mostly uses Hancom Office for documents. But it isn't work at all.
So, one person developed the new filter 'Dalkom'(https://github.com/cogniti/dalkom). Referencing this filter, we should fix it.

Steps to Reproduce:
1. Open .hwp file in libreoffice
2. The file would be broken.


Actual Results:  
broken string

Expected Results:
See original document


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 Gwangyeon 2017-01-18 09:20:10 UTC
This is Install guide link for Dalkom
https://cogniti-works.blogspot.kr/2016/05/dalkom-20160515-hwp-oxt.html
Comment 2 Dennis Roczek 2017-01-18 09:40:28 UTC
1) how about to add an example file
2) the hwp import filter is only for the old file format. the new one was never implemented
Comment 3 Buovjaga 2017-01-18 10:29:50 UTC
Kim: please ask cogniti to upstream his filter (send a patch to gerrit)
https://wiki.documentfoundation.org/Development/gerrit
https://wiki.documentfoundation.org/Development/GetInvolved#Connect_to_our_communication_channels
Comment 4 Dennis Roczek 2017-01-18 10:38:06 UTC
as the code is rather trivial: maybe get the code separated in a DLP library...
Comment 5 Gwangyeon 2017-01-18 10:40:46 UTC
Unfortunately, He claims his copyright. So it seems like he don't work for Dalkom's migration. But I think he can advise to us for development.
But my coding skill is not good to contect him and lean how to solve it.
But i am studying hard thease days and i will ask him about The filter.
Thank you.
Comment 6 Gwangyeon 2017-01-18 10:42:46 UTC
But .hwp filtering is necessary to Korean.
Comment 7 Dennis Roczek 2017-01-18 11:49:49 UTC
> But .hwp filtering is necessary to Korean.

well no doubt, but that doesn't mean that anybody will work on the filter - most devs are european based and do not have access to hangul and thus have no files / cannot create files. First we need test files and best would be a translated specification - or somebody who can read Korean working on that filter on its own. (either paid or in spare time)

nobody in europe / America will pay development time for a filter which is not used "here".
Comment 8 David Tardon 2017-01-30 15:26:09 UTC
The dalkom project you talk about is already a libreoffice _extension_ -> all that is needed is that the author (or you, or whoever else interested in it) builds it for all relevant platforms an uploads it to https://extensions.libreoffice.org , where people, who need it, can find it.

Btw, there is also https://github.com/mete0r/pyhwp , which also allows to build an extension (untested by myself).

To summarize: seeing there are already at least two extensions that implement an import filter for the newer HWP format, I see no compelling reason to add another filter directly into libreoffice.