Bug 36021 - FILEOPEN: Endnote first number placed in wrong position (comment 7)
Summary: FILEOPEN: Endnote first number placed in wrong position (comment 7)
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 RC2
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, filter:docx, filter:rtf
Depends on:
Blocks: Footnote-Endnote DOC
  Show dependency treegraph
 
Reported: 2011-04-06 02:15 UTC by Basil Fowler
Modified: 2021-04-14 14:54 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
tar file of original and imported documents (130.00 KB, application/x-tar)
2011-04-06 02:15 UTC, Basil Fowler
Details
screenshot in MSWord 2003 (317.28 KB, image/jpeg)
2012-01-24 08:07 UTC, sasha.libreoffice
Details
Files in various formats created in MSO 2007 to illustrate the problem (33.39 KB, application/zip)
2012-08-26 21:23 UTC, Lekow
Details
Issue with Position of EndNote numbering (164.46 KB, image/png)
2015-11-27 03:32 UTC, Luke
Details
stripped down test case in docx (14.90 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-12-25 19:00 UTC, Luke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Basil Fowler 2011-04-06 02:15:10 UTC
Created attachment 45339 [details]
tar file of original and imported documents

When importing a Word document with endnotes, the endnotes are written to a separate page. This is the default for original productions in odt format, but is inconvenient for imported documents.

In addition, the first index on the imported document is in the wrong place.

The attachment contains the original .doc file and the pdf image of the document when imported into LibreOffice writer. The two files are combined as a tar file
Comment 1 Björn Michaelsen 2011-12-23 12:05:23 UTC Comment hidden (obsolete)
Comment 2 sasha.libreoffice 2012-01-24 08:07:23 UTC
Created attachment 56087 [details]
screenshot in MSWord 2003

reproduced in LibO 3.6.0 master on Fedora 64 bit
Comment 3 Florian Reisinger 2012-08-14 14:03:20 UTC Comment hidden (obsolete)
Comment 4 Florian Reisinger 2012-08-14 14:04:15 UTC Comment hidden (obsolete)
Comment 5 Florian Reisinger 2012-08-14 14:08:47 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:10:49 UTC Comment hidden (obsolete)
Comment 7 Lekow 2012-08-26 21:17:51 UTC
I have reopened this bug because it is still present in LibreOffice 3.6.0.4. (on Windows 7 SP1 32 bit). 
Summary:
Libreoffice shows endnotes on the separate page instead of last page of text. 
The horizontal line which is added by default in MS Word is absent. 
If a MS Word document contains some text between line and first endnote (e.g. header), this text is moved to the first endnote text (see the first attachment "tar file of original and imported documents").
Comment 8 Lekow 2012-08-26 21:23:08 UTC
Created attachment 66153 [details]
Files in various formats created in MSO 2007 to illustrate the problem

I have decided to add simple files with one endnote without a complex formatting, saved in MSO 2007 SP1 as DOCX, DOC and ODT to show the wrong placement of endnotes. Also PDF sample from MSO is included.
Comment 9 itsGord 2012-12-04 21:05:50 UTC Comment hidden (obsolete)
Comment 10 itsGord 2012-12-15 16:58:46 UTC
A workaround was posted here:
http://ask.libreoffice.org/en/question/8608/libreoffice-writer-placing-endnotes-on-new-page/
I'll just refer to this as the "workaround" from now on.

Results of a couple of scenarios:

1. Open .doc with two endnotes
   Endnotes appear on new page at end of document
   perform workaround (insert section shows Section1)
   Endnotes now appear where they did in Word
   Save as .doc and close
   Open .doc just saved
   Endnotes move to new page again
   perform workaround
   (insert section shows Section1 and Section2, only Section2 enabled)
   One endnote moves to where endnotes appear in Word,
   other endnote moves to an earlier page.

2. Open .doc with two endnotes
   Endnotes appear on new page at end of document
   perform workaround (insert section shows Section1)
   Endnotes now appear where they did in Word
   Save as .odt and close
   Open .odt just saved
   Endnotes still appear where they did in Word
   Save as .doc and close
   Open .doc just saved
   Endnotes still appear where they did in Word
Comment 11 Florian Reisinger 2013-04-21 14:10:25 UTC
I can confirm it with Version 4.0.3.1 (Build ID: a67943cd4d125208f4ea7fa29439551825cfb39) Win 7 x64
Comment 12 Joel Madero 2014-11-04 03:18:18 UTC Comment hidden (obsolete)
Comment 13 Buovjaga 2014-11-15 18:10:41 UTC
Confirmed.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 14 Joel Madero 2014-11-15 19:50:19 UTC Comment hidden (obsolete)
Comment 15 Luke 2015-11-27 00:36:00 UTC
This report should cover only "first mark wrongly placed in list" issue and let Bug 58521 cover the page break issue.
Comment 16 Luke 2015-11-27 03:32:19 UTC
Created attachment 120834 [details]
Issue with Position of EndNote numbering
Comment 17 QA Administrators 2017-12-10 16:40:53 UTC Comment hidden (obsolete)
Comment 18 Luke 2017-12-11 04:55:45 UTC Comment hidden (obsolete)
Comment 19 QA Administrators 2018-12-12 03:43:02 UTC Comment hidden (obsolete)
Comment 20 Luke 2018-12-25 19:00:57 UTC
Created attachment 147818 [details]
stripped down test case in docx

Still repo in Version: 6.3.0.0.alpha0+ (x64)
Build ID: 87d90b6e60659e9c976daa9692ae99ec87a6978c
Comment 21 QA Administrators 2020-12-25 03:53:04 UTC Comment hidden (obsolete, spam)
Comment 22 Justin L 2021-04-14 14:50:17 UTC
repro "Vocabulary" added to first endnote in LO 7.2+ for both DOC and DOCX.

I've fixed a document similar to comment 20 with Bug 123262 - FILEOPEN: DOCX: Footnote separator text is being added to each footnote 
[But in this one, Vocabulary is part of w:endnote w:id="1, and not part of the separator separators. It is just before the <w:endnoteRef/>, so not much we can do about that.]


(In reply to Lekow from comment #7)
> The horizontal line which is added by default in MS Word is absent. 
Probably because LO normally starts them on a separate page, so no real value in that. Also see Bug 108944 - FILEOPEN: DOCX: footnote separators missing.

P.S. DOC format now emulates Word somewhat better. There IS a horizontal line now, and sometimes it shows up at the end of the last page (and at other times it looks like footnotes).
Comment 23 Justin L 2021-04-14 14:54:12 UTC
I'm going to close this one, since this is such a fundamental difference (and odd case) between LO and Word.

We can't really throw away "Vocabulary" because it is part of endnote #1, but LO has no ability to put random paragraphs before the marker number. So the current implementation is pretty good considering that incompatibility.