Line Numbers in DOCX documents created with Microsoft Word 2010 do not start with the same value when the document is opened in LibreOffice Writer.
Steps to Reproduce:
1. Create a new document in Microsoft Word.
2. Type “=lorem(25)” and press Enter
3. On the Page Layout tab, in the Page Setup group, click Line Numbers.
4. Select Line Numbering Options.
5. Click Line Numbers on the Layout tab.
6. Select the Add line numbering check box.
7. Type 5 next to Start at and click OK.
8. Click on OK button.
9. Save the file as DOCX.
10. Open the same file in LibreOffice Writer.
11. Compare the original file opened in Word and Writer.
Line numbers start at 4 when the document is opened in LibreOffice Writer.
Line numbers should start at the same value as the original file when the document is opened in Microsoft Word 2010.
User Profile Reset: No
Created attachment 146952 [details]
Screenshot of the original document side by side in Word and Writer.
Created attachment 146953 [details]
Example file from Word
Build ID: a63cd8bbe7cf881daa8dc7a7f32f3e5ac384e902
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default;
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
in previous versions, it starts from 0
Version: 184.108.40.206.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
let change the version to the earliest version affected
Created attachment 152687 [details]
Screenshot of the original file in Writer 6.2.4 and 6.4alpha
This seems to be solved in:
Version: 220.127.116.11.alpha0+ (x86)
Build ID: 49422a469646ad8be43ba828ca24c2484c26b9e8
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-07-08_00:50:19
Locale: hu-HU (hu_HU); UI-Language: en-US
I guess this has solved it in our other bug:
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
Related: tdf#121664 DOCX filter: fix line numbering start value handling
It will be available in 6.3.0.
Thanks again Miklos :)
*** This bug has been marked as a duplicate of bug 121664 ***