Bug 118259

Summary: Updated ToC in DOC(X) loses tabulator between numbering and heading
Product: LibreOffice Reporter: Aron Budea <aron.budea>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dgp-mail
Priority: medium Keywords: filter:doc, filter:docx
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104524    
Attachments: Sample in DOCX
Sample in DOC
Comparison screenshot (Word - Writer)

Description Aron Budea 2018-06-20 04:11:37 UTC
Created attachment 142946 [details]
Sample in DOCX

Open the attached DOC/DOCX files with a ToC having a couple of entries.
Update ToC.

=> The tabulators between the numbering and heading entries are removed.

Attaching screenshot comparing DOCX's ToC in Word and in Writer after update (before update the tabulators are there).

Observed using LO 6.1 beta2 & 4.4.0.3 / Windows 7.
In 4.0.0.3 even the import is incorrect (the import was likely fixed with bug 79547's fix).
In 3.3.0 no ToC is imported at all.
Comment 1 Aron Budea 2018-06-20 04:12:22 UTC
Created attachment 142947 [details]
Sample in DOC
Comment 2 Aron Budea 2018-06-20 04:13:10 UTC
Created attachment 142948 [details]
Comparison screenshot (Word - Writer)
Comment 3 Dieter 2018-06-20 16:28:00 UTC
I can't confirm with

Version: 6.1.0.0.beta2 (x64)
Build ID: 0f4d2060bc90b4008fbc8e6d9a49ec7eeea60b78
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-US (de_DE); Calc: CL

Tabulator is there and "Tab position is relative to paragraph style indent" is enabled
Comment 4 Dieter 2018-06-20 16:35:18 UTC
Aaron, I haven't read your bug report precise enough.

I can confirm it. And you get the same result, if you hoose "Edit Index" => "O.K." Undo is not possible.
Comment 5 Timur 2018-08-01 16:28:45 UTC
We have two similar reports. I'll mark this one as a dupe because... I spotted it first... no, because mine is somewhat more general. 
Please see and confirm my other ToC bugs.
https://bugs.documentfoundation.org/show_bug.cgi?id=118960
https://bugs.documentfoundation.org/show_bug.cgi?id=118962

*** This bug has been marked as a duplicate of bug 118972 ***