Bug 54641 - RTF: References not imported properly
Summary: RTF: References not imported properly
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:rtf
Depends on:
Blocks:
 
Reported: 2012-09-07 13:35 UTC by Hans Bezemer
Modified: 2015-12-17 05:49 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A short RTF file which triggers the error. (362.25 KB, application/rtf)
2012-09-07 13:35 UTC, Hans Bezemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Bezemer 2012-09-07 13:35:11 UTC
Created attachment 66793 [details]
A short RTF file which triggers the error.

Problem description:
References are defined like REF <name>, e.g. REF BMyName. When imported the links in the text that reference them are ONE character less, e.g. instead of BMyName they are MyName and have to be manually corrected. The same RTF file is imported in MS-Word intact.

Steps to reproduce:
1. Take a valid RTF file with embedded references (preferably with names starting with "B");
2. Import it;
3. All references show "Reference not found"

Current behavior:
"Reference not found" message is issued in the text.

Expected behavior:
Proper reference to section, figure, chapter, etc. is made.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100506 SUSE/3.5.10-0.1 Firefox/3.5.10
Comment 1 A (Andy) 2013-02-23 21:54:35 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)
Comment 2 Julien Nabet 2013-11-11 21:48:53 UTC
On pc Debian x86-64 with master sources updated today, I reproduce this.

Miklos: one for you?
Comment 3 Alexandr 2014-11-23 13:55:03 UTC
I reproduce the issue with LibreOffice 3.5.4, but the references seems to be correct in LibreOffice 4.3.3 and 4.4.0.0beta1 on Debian. As far as I do not know which patch solves the problem, I set the bug status to RESOLVED WORKSFORME. Please, set it to UNCONFIRMED if you still can reproduce the issue with LibreOffice 4.3.3 or later.
Comment 4 Robinson Tryon (qubit) 2015-12-17 05:49:19 UTC
Migrating Whiteboard tags to Keywords: (filter:rtf)
[NinjaEdit]