Bug 167193 - FILEOPEN DOCX Header lines are included in line numbering if document is made in German Word
Summary: FILEOPEN DOCX Header lines are included in line numbering if document is made...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Header-Footer Line-Numbering
  Show dependency treegraph
 
Reported: 2025-06-25 07:24 UTC by Gabor Kelemen (allotropia)
Modified: 2025-06-25 11:29 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file with line numbering made in Word 2013 DE (17.24 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-25 07:24 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word 2013 and Writer master (95.58 KB, image/png)
2025-06-25 07:25 UTC, Gabor Kelemen (allotropia)
Details
The Line Numbering dialog with the example file (48.00 KB, image/png)
2025-06-25 07:25 UTC, Gabor Kelemen (allotropia)
Details
Similar example file with line numbering, made in Word 2016 EN (17.14 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-25 07:26 UTC, Gabor Kelemen (allotropia)
Details
The Line Numbering dialog in the second example file - line numbers are not visible (53.02 KB, image/png)
2025-06-25 07:33 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2025-06-25 07:24:34 UTC
Created attachment 201452 [details]
Example file with line numbering made in Word 2013 DE

Attached document was made in a German locale Word 2013.

It has the line numbering feature enabled and lines are numbered in the document body, but not in the header-footer in Word.

When opened in Writer, the header-footer lines are also numbered, because the Tools - Line Numbering - Include header and footer property is checked.

If a similar document is made in an English locale Word, then the header-footer lines are not numbered in Writer. In this case the "Include header and footer" is not checked.

1. Open attached document
2. Go to Tools - Line Numbering
-> Note that Include header and footer is checked, the lines in the headers and footers are numbered.

Do the same with the second attachment, see that the lines in the headers and footers are NOT numbered.

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6faa7e6f7bae3e6a613b4f4b7cee4a9c6d2b7aae
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

The English locale example seems to be ok since 5.0, in 4.4 and before that was opened also with numbered header-footer lines.
Comment 1 Gabor Kelemen (allotropia) 2025-06-25 07:25:18 UTC
Created attachment 201453 [details]
The example file in Word 2013 and Writer master
Comment 2 Gabor Kelemen (allotropia) 2025-06-25 07:25:58 UTC
Created attachment 201454 [details]
The Line Numbering dialog with the example file
Comment 3 Gabor Kelemen (allotropia) 2025-06-25 07:26:37 UTC
Created attachment 201455 [details]
Similar example file with line numbering, made in Word 2016 EN
Comment 4 Gabor Kelemen (allotropia) 2025-06-25 07:33:18 UTC
Created attachment 201456 [details]
The Line Numbering dialog in the second example file - line numbers are not visible

Seems to work since 5.0 commit:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=5b743ccf8b5bb51b4d390e64f2916ac1759419a

author	Charu Tyagi <charu.tyagi@ericsson.com>	2014-12-19 11:10:23 +0530
committer	Miklos Vajna <vmiklos@collabora.co.uk>	2015-01-04 11:44:00 +0100
commit 5b743ccf8b5bb51b4d390e64f2916ac1759419a1 (patch)

fdo#79738: FILEOPEN: Number lines in footer not compatible with MSO