Bug 33893

Summary: Cross references to numbered paragraph not working after save to .doc file (FORMATTING)
Product: LibreOffice Reporter: Svein Erik <se.aasen>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: major CC: detective.conan.1412, jbfaure, orwel01, renato.mendes
Priority: high    
Version: 3.4.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Test document which can be saved as word 97 and then reopened to demonstrate

Description Svein Erik 2011-02-04 01:12:03 UTC
Created attachment 42917 [details]
Test document which can be saved as word 97 and then reopened to demonstrate

Cross references to numbered paragraphs does not work after being saved to word 97 format.

Example prior to Save and Import:

------------------------------------------
1. Test item 1
2. Test item 2

Reference to Test item 1, Ref. 1
-----------------------------------------

-----------------------------------------
Example after to Save and Import:

1. Test item 1
2. Test item 2

Reference to Test item 1, Ref. 
-----------------------------------------

This is the same issue as:
http://qa.openoffice.org/issues/show_bug.cgi?id=2593

Apparently it has been here for years!
Comment 1 Matthew Kogan 2011-04-13 08:02:42 UTC
Please fix this for 3.4. It would give LibreOffice an undoubted edge over OOo.
Comment 2 Jean-Baptiste Faure 2011-05-30 02:20:32 UTC
Are you sure that MS-Word does not show the references? 
I am facing with the same problem, but when I open the exported document in MS-Word Viewer I can see the references and I can clic them.
So it seems that the bug is in the import by LibO.
Comment 3 Svein Erik 2011-05-30 04:29:44 UTC
You are correct, the exported document seems OK in MS-Word. It is when the Word 97/XP/2000 doc file is imported back into Oowriter that the reference disappears. Still, this is a show stopper in many situations where you create documents that other people edit in MS-Word and you would like to read the updated document back into Oowriter.
Comment 4 asterus 2011-07-09 10:57:26 UTC
This bug is major - nearly critical; someone please take a look at this.
Comment 5 Troy Rollo 2011-07-22 19:05:54 UTC
*** Bug 38300 has been marked as a duplicate of this bug. ***
Comment 6 Troy Rollo 2011-07-30 05:07:32 UTC
(In reply to comment #3)
The document only appears to be OK in MS word because it is seeing the saved pre-calculated text. Try clicking on the cross-reference and hitting "F9".
Comment 7 Korrawit Pruegsanusak 2011-08-25 07:21:06 UTC
Fixed in master, will be in 3.5
http://cgit.freedesktop.org/libreoffice/core/commit/?id=234642040086ee91bdb026e10a7c92ec71ac24d3
Although the commit message should mention this bug, see:
http://nabble.documentfoundation.org/PATCH-Fix-33898-import-export-xrefs-to-numbered-paras-td3176925.html

Mark as RESOLVED/FIXED