https://bugs.documentfoundation.org/show_bug.cgi?id=174536
Bug ID: 174536
Summary: FILEOPEN HWP 3.x: table cell texts start over from the
first cell in the middle of a table, later texts are
lost (Yeongwol forms)
Product: LibreOffice
Version: 27.2.0.0 alpha0+ master
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 108254
Created attachment 209787
--> https://bugs.documentfoundation.org/attachment.cgi?id=209787&action=edit
Expected/actual and before/after images, and the ODT saved by the 2026-11-15
daily
Description:
Follow-up to bug 174425 (comment 8). After that fix, all four tables of this
HWP 3.x document are imported. The third table also has the same grid as in
Hancom Office (35 rows x 13 columns, same merged cells). But from the middle of
the table the cell texts are wrong.
>From row 22, column 5 onward, the cells get the texts of the table's first
cells again, in order: "일자", "보 유 기 종 별 현 황", "예"트 랙 터( ), then "임대 / 회수 / 소계"
four times, then "1", "2", ... "13" in column 10. The original texts of those
cells are lost: the day numbers 20 to 31 in column 1 and "월별누계" in row 35.
Rows and columns are counted from 1. The wrong texts are in the imported Writer
table itself (checked in the saved ODT), not only in the PDF.
Input file (public, pinned commit):
https://raw.githubusercontent.com/edwardkim/rhwp/c9095c5f67632e6721e800ccc7fb43ea49d26682/samples/issue5699/20099369_yeongwol_forms.hwp
SHA-256: 6d723789148699479983fbcb6fa6368a252c1187fe0a7b3c922b583f6727ec09
References (same file converted by Hancom Office 2020):
HWPX:
https://raw.githubusercontent.com/edwardkim/rhwp/c9095c5f67632e6721e800ccc7fb43ea49d26682/pdf/issue7642-failed-inputs-followup-20261011/20099369_yeongwol_forms-hancom-2020.hwpx
PDF (table on page 3):
https://raw.githubusercontent.com/edwardkim/rhwp/c9095c5f67632e6721e800ccc7fb43ea49d26682/pdf/20099369_yeongwol_forms-2020.pdf
Steps to Reproduce:
1. Download 20099369_yeongwol_forms.hwp from the link above.
2. Convert it with a fresh profile:
soffice -env:UserInstallation=file:///tmp/lo-hwp3-profile --headless
--convert-to odt 20099369_yeongwol_forms.hwp
(and --convert-to pdf; the affected part is on page 4)
3. Look at the third table from row 20 down.
Actual Results:
Column 1: row 21 "18", row 22 "19", row 23 "임대", rows 24 to 35 empty.
Row 22, columns 5 to 7: "일자", "보 유 기 종 별 현 황", "예"트 랙 터( ).
Column 10, rows 23 to 35: "1" to "13".
Expected Results:
Column 1: row 21 "18", row 22 "19", row 23 "20", ... row 34 "31", row 35
"월별누계".
The other cells listed under Actual Results are empty, as in the Hancom HWPX.
Reproducible: Always
User Profile Reset: Yes (fresh profile via -env:UserInstallation)
Additional Info:
Version: LibreOfficeDev 27.2.0.0.alpha0
Build ID: 43122915b46607a724f238da7363b569431752dd
Official Linux x86-64 daily of 2026-11-15 on Ubuntu 24.04, run under QEMU in a
Colima VM on an Apple Silicon Mac. Tested with headless conversion only, not in
the GUI.
LibreOffice 26.8.2.2 did not import these tables at all (bug 174425), so I
cannot say whether this is a regression. I have not found the cause.
Attached ZIP:
- 05_yeongwol_expected_actual.png: Hancom PDF vs. the daily's PDF
- 04_yeongwol_before_after.png: 26.8.2.2 vs. the daily
- yeongwol_after.odt: ODT saved by the daily
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=108254
[Bug 108254] [META] File format filters (import/export) bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.