Bug 116570

Summary: FILESAVE: DOC: CR added at the beginning of footnote on first save
Product: LibreOffice Reporter: Justin L <jluth>
Component: WriterAssignee: Justin L <jluth>
Status: VERIFIED FIXED    
Severity: normal CC: dgp-mail, jluth, xiscofauli
Priority: medium Keywords: filter:doc
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=108448
Whiteboard: target:6.1.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103164    
Attachments: fdo79062_modified.odt: modified by LO - extra CR seen in footnote when exporting to .doc format
footnote-twoparagraphs.odt: another example of CR being added when saved as .doc format.
saved onceA6.docx: example 3

Description Justin L 2018-03-22 17:51:00 UTC
Created attachment 140815 [details]
fdo79062_modified.odt: modified by LO - extra CR seen in footnote when exporting to .doc format

I'm not sure what triggers it, but some documents have an extra carriage return added right after the footnote number when exporting in .doc format.  It doesn't happen in .docx or .rtf formats for these documents.
Comment 1 Justin L 2018-03-22 17:52:49 UTC
Created attachment 140816 [details]
footnote-twoparagraphs.odt: another example of CR being added when saved as .doc format.
Comment 2 Justin L 2018-03-22 17:57:01 UTC
Created attachment 140817 [details]
saved onceA6.docx: example 3
Comment 3 Dieter 2018-03-22 18:01:54 UTC
Reproducible with the attachement 140815 document in

Version: 6.1.0.0.alpha0+ (x64)
Build ID: 9d75bfcfaef97b247b3b6cd346eb27e02ae7b010
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-03-19_06:25:17
Locale: de-DE (de_DE); Calc: CL

There is also an extra tab
Comment 4 Justin L 2018-03-23 09:58:25 UTC
proposed fix: https://gerrit.libreoffice.org/51771 tdf#116570
Comment 5 Commit Notification 2018-03-28 13:09:12 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7e92a996d1588bdf2ff1e2df10220a0f57686cfb

tdf#116570 ww8 export: skip sectionbreak for footnotes

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Dieter 2019-09-24 06:08:54 UTC
VERIFIED with

Version: 6.3.2.2 (x64)
Build-ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded