Created attachment 89741 [details] Sample document Problem description: If a footnote has negative first line indentation, LibreOffice always adds indentation after footnote number. In Word documents, there is explicit tab character to achieve this. I think the problem applies to all Word document formats, .doc, .docx, .rtf and .xml. The problem was introduced with this change: https://issues.apache.org/ooo/show_bug.cgi?id=32902 Steps to reproduce: The attached sample document illustrates the problem. Expected behavior: MS Word document should look the same in LO as in software from other vendors. Operating System: All Version: Inherited From OOo
Hi Pavel, Could you please provide a screenshot of what it looks like on MS-Word vs. a current release of LO? Thanks!
Hello, I have a fix practically ready but unfortunately I have been ill for weeks so I could not finish it. I hope I will finish it soon.
Created attachment 94496 [details] in MS Word 2010
Created attachment 94497 [details] in OOo / LO Adding requested screenshots.
Created attachment 94499 [details] Proposed solution
https://gerrit.libreoffice.org/#/c/8160/
See my comment in the gerrit review, I think it would be possible to avoid a layout compat option here, which is always the last resort when dealing with interop problems.
Sorry I am not an expert on Writer. I made the change as compatibility option as it relates to compatibility with MS Office. The option is still available via UNO. So imho it could be added to user interface easily. The only issue is that it needs to be set at document creation. Later change would require repainting the document.
*** Bug 82703 has been marked as a duplicate of this bug. ***
*** Bug 91656 has been marked as a duplicate of this bug. ***
This bug makes difficult round tripping documents between text processors because one needs to erase all the tabs LibreOffice inserted when exporting the document. I am having difficulties trying to convince my workmates to switch to LO because of this and other document exchange bugs. Worse, I will be forced to use Ms Word or copy, paste and review the formatting between LO and Ms Word :-(
Comment on attachment 94499 [details] Proposed solution Marking the attached patch obsoleted by: https://gerrit.libreoffice.org/#/c/8160/ (Even though that has been abandoned non-merged too -- still better to revive this on gerrit than with attached patches)
At present, this is still one of the most troublesome obstacles to using Libreoffice (or Openoffice...) Writer in professional situations. If you create documents with LO or OO, when you save/convert the files as .doc or .docx for people who work with Microsoft Office (example: publishers), you have to remove manually all the unwanted tabs at the beginning of every single footnote. This is not feasible when you have to handle long texts with dozens, hundreds or thousands of footnotes. So, in professional contexts, people are compelled to write documents with MS Word from start to finish because of this trivial defect. I suggest to change the "importance" to "major". I think this is a duplicate of Bug 64026 (not fixed and not assigned).
@pavel: is this issue still on your radar, please? If not, we mark as such so that others step in easier prolly. thanks! Cor
*** Bug 64026 has been marked as a duplicate of this bug. ***
@cor: I am sorry I unfortunately don't have time to work on this issue. Our customer was happy with solving the problem by changing the indentation unconditionally (trivial fix/hack) as he uses mostly MS Word documents and does not care about ODT much. Anyone feel free to take over this bug.
*** Bug 95637 has been marked as a duplicate of this bug. ***
Setting Assignee back to default. Please assign it back to yourself if you're still working on this issue
The following duplicates are solved by the proposed fix for bug 106062 / LO 6.1. -bug 82703 from comment 9 -probably bug 91656 from comment 10 (no example document provided...) -bug 64026 from comment 15 (based on odt - probably several different angles in this bug though.) Based on the details of comment 0, I'm sure this will have to be a WONTFIX. A hanging indent is critical for emulating LO default footnotes in MSO. The MSO workaround is to ensure that a hanging indent is not used.
Quickest workaround is to open the affected Word file, go into your first footnote, search for ^t and leave replace empty, replace all. This will leave the original space between the note number and the text.