Bug 133115 - FILEOPEN RTF Endnote list appearance doesn't match MSO
Summary: FILEOPEN RTF Endnote list appearance doesn't match MSO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF-Opening
  Show dependency treegraph
 
Reported: 2020-05-17 11:56 UTC by Jim
Modified: 2024-02-02 14:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
RTF file with index entries (25.50 KB, application/msword)
2020-05-19 11:33 UTC, Jim
Details
PDF exported from MSO 2013 (38.42 KB, application/pdf)
2020-08-30 18:03 UTC, Buovjaga
Details
PDF file attached (211.70 KB, application/pdf)
2020-08-30 23:27 UTC, Jim
Details
RTF file (25.50 KB, application/msword)
2020-08-30 23:29 UTC, Jim
Details
The example file in Word and Writer master (154.65 KB, image/png)
2022-01-31 20:52 UTC, Gabor Kelemen (allotropia)
Details
About LibreOffice (54.70 KB, image/jpeg)
2024-02-02 14:37 UTC, Jim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim 2020-05-17 11:56:30 UTC
On the "Edit Index" dialog the show be an option to select the delimiter character. Currently only commas are available.
Or change the import so it supports ":" as reported here
https://ask.libreoffice.org/en/question/77273/opening-rtf-with-index-inclusing-subkeys-fails/
Comment 1 Dieter 2020-05-19 08:55:11 UTC
Jim, your comment is clear to me, but I'm not sure how to combine it with your bug summary. Do you have a problem with RTF-Import? If this is the case, please attach that RTF-file and give some informations how to reproduce the bug with the provided file. Thanks.

=> NEEDINFO
Comment 2 Jim 2020-05-19 11:33:23 UTC
Created attachment 161002 [details]
RTF file with index entries

Attached with index entries.
Forget the part of my bug report about changing the delimiter.
If you open this file with Word or OpenOffice you'll see the correct format of the index.
Comment 3 QA Administrators 2020-05-20 03:42:00 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2020-08-30 18:03:42 UTC
Created attachment 164888 [details]
PDF exported from MSO 2013
Comment 5 Buovjaga 2020-08-30 18:06:07 UTC
(In reply to Jim from comment #2)
> Created attachment 161002 [details]
> RTF file with index entries
> 
> Attached with index entries.
> Forget the part of my bug report about changing the delimiter.
> If you open this file with Word or OpenOffice you'll see the correct format
> of the index.

Jim: can you point to some very, very specific thing that we should be looking at here? I don't immediately spot any incorrectness.
Comment 6 Jim 2020-08-30 23:24:56 UTC
(In reply to Buovjaga from comment #4)
> Created attachment 164888 [details]
> PDF exported from MSO 2013

Ok
Attached are two file
1) Adam Dell.RTF
2) Adam Dell.PDF

I read the RTF file into MS Word 2019 and created the PDF file.
Look closely on page 7 at the index.

Try to product the same looking index in LibreOffice from the RTF file.

Please let me know if you understand
Comment 7 Jim 2020-08-30 23:27:52 UTC
Created attachment 164902 [details]
PDF file attached

PDF result from MS Word
Comment 8 Jim 2020-08-30 23:29:10 UTC
Created attachment 164903 [details]
RTF file

RTF file attached
Comment 9 QA Administrators 2020-08-31 03:46:35 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2020-08-31 07:39:19 UTC
Ok thanks. Adjusting summary.

Arch Linux 64-bit
Version: 7.1.0.0.alpha0+
Build ID: d784e711c102f204552c3c816636da01b1085f61
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 August 2020
Comment 11 Buovjaga 2020-08-31 11:47:15 UTC
Style looks the same in 3.3.0, but the numbering was incorrect temporarily in 4.4.7. I might bibisect it later just to get some idea of related code paths.
Comment 12 Buovjaga 2020-08-31 15:40:34 UTC
(In reply to Buovjaga from comment #11)
> Style looks the same in 3.3.0, but the numbering was incorrect temporarily
> in 4.4.7. I might bibisect it later just to get some idea of related code
> paths.

First change, in win32-5.2 (numbering still not correct):
https://git.libreoffice.org/core/commit/93faf178195ca974747849879266783884ae27c5
tdf#87034 RTF import: fix multiple superscripts after footnote ...

The numbering became correct with (bibisected with win32-6.0): https://git.libreoffice.org/core/commit/756b2431f0006a01affa7c92c2dede2b11166001
tdf#108949 rtf writerfilter: apply char properties to footnote
Comment 13 Gabor Kelemen (allotropia) 2022-01-31 20:52:29 UTC
Created attachment 177948 [details]
The example file in Word and Writer master

Seems like there is "Superscript" direct formatting applied to the numbers, which is not supported in Writer: you can simply not highlight and format those endnote numbers.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: eb69767d7c1bb8e6e780fd9503f08c9d7f5ecb45
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 14 Jim 2022-02-01 00:34:31 UTC
The bug I reported has nothing to do with end notes.
It's the index format.
Comment 15 QA Administrators 2024-02-02 03:16:01 UTC Comment hidden (obsolete)
Comment 16 Jim 2024-02-02 14:35:45 UTC
Bug still exists.
About information attached
Comment 17 Jim 2024-02-02 14:37:27 UTC
Created attachment 192346 [details]
About LibreOffice

As requested about information attached
Comment 18 Buovjaga 2024-02-02 14:42:40 UTC
(In reply to Jim from comment #17)
> Created attachment 192346 [details]
> About LibreOffice
> 
> As requested about information attached

Note for the future: the button next to "Version information" copies the text into your clipboard, so you can paste it anywhere as pure text.