Issue 33234 - importing bookmarks in heading footer from MS Word and exporting to MS Word lose bookmarks
Summary: importing bookmarks in heading footer from MS Word and exporting to MS Word l...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1.2
Hardware: PC Windows XP
: P5 (lowest) Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
: 54986 (view as issue list)
Depends on:
Blocks: 54986
  Show dependency tree
 
Reported: 2004-08-20 00:46 UTC by didiera
Modified: 2017-05-20 11:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
original MS Word document (19.50 KB, application/msword)
2004-08-20 00:47 UTC, didiera
no flags Details
Exported MS word document (8.00 KB, application/msword)
2004-08-20 00:48 UTC, didiera
no flags Details
bookmark browsing : test doc (original) with VBA code (30.50 KB, application/msword)
2004-08-24 16:54 UTC, didiera
no flags Details
bookmark browsing : test doc (after OOo conversion) with VBA code (28.00 KB, application/msword)
2004-08-24 16:55 UTC, didiera
no flags Details
bookmark browsing : test doc (after OOo conversion) with VBA code : the good one ! (19.50 KB, application/msword)
2004-08-24 22:23 UTC, didiera
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description didiera 2004-08-20 00:46:34 UTC
When a MS word document containing bookmarks in header or footer is imported in
Writer, and exported to MS Word, the bookmarks are lost. Bookmarks not in header
and footer are not lost.
Comment 1 didiera 2004-08-20 00:47:28 UTC
Created attachment 17245 [details]
original MS Word document
Comment 2 didiera 2004-08-20 00:48:18 UTC
Created attachment 17246 [details]
Exported MS word document
Comment 3 michael.ruess 2004-08-24 13:56:15 UTC
That's not fully true. When you open the exported doc again in OO Writer, the
bookmarks are all available. Also, when you open the file in Word, all Bookmarks
are listed in the "Insert.Bookmark" dialog. Word is just does not offer to jump
to bookmarks in Header/Footer. You can verify this when creating such a doc in
Word from the scratch: it is possible to set bookmarks in header, but not jump
to these.
Comment 4 michael.ruess 2004-08-24 13:57:28 UTC
Closed.
Comment 5 didiera 2004-08-24 15:21:21 UTC
OK, you help me to understand better, things are more precise now :

Yes, the bookmarks are still there via OpenOffice (I already knew that). But
there is an inconstancy in MS Office : bookmarks, by name, have disappeared.
Bookmarks, by location, seem to be still there...but we can not access to them,
nor programmatically.
Comment 6 didiera 2004-08-24 16:42:31 UTC
OK, some further details, now.

1- Via MS Office User interface :

+in bookmark_in.doc (original MS Word doc)
 -when the active selection is in the body :
in the bookmark dialog box, we have 4 bookmarks, sorted by name or by location
(the radio button under the bookmark list). But the 'GoTo' button is grayed when
a header or footer bookmark is selected in the list ("logical" behavior).
 -when the selection is in the header or footer (the header/footer are active),
the 'GoTo' button is not grayed when a header/footer bookmark is selected in the
list (again "logical" behavior), so we can go to that bookmark.

+in bookmark_out.doc (OOo "saved as MS Word" doc)
 -when the active selection is in the body :
in the bookmark dialog box, we have 4 bookmarks when sorted by location, but
only 2 bookmarks when sorted by name. The 'Goto' button is grayed when a header
or footer bookmark is selected, as before ("logical" behavior).
 -when the selection is in the header or footer : exactly same result as just
before : there is no possibility to go to h/f bookmarks.

It seems to me that something has changed in the conversion with OOo.

2- Programmatically :
There are differencies when we try to browse bookmarks programmatically, with
VBA and MS Office API. See following attachments, in the document 'ThisDocument'
module : the same code in the two documents doesn't give the same result (see
comments and run code in step by step mode), but the differencies are stranger...
Comment 7 didiera 2004-08-24 16:54:37 UTC
Created attachment 17321 [details]
bookmark browsing : test doc (original) with VBA code
Comment 8 didiera 2004-08-24 16:55:15 UTC
Created attachment 17322 [details]
bookmark browsing : test doc (after OOo conversion) with VBA code
Comment 9 didiera 2004-08-24 22:23:58 UTC
Created attachment 17330 [details]
bookmark browsing : test doc (after OOo conversion) with VBA code : the good one !
Comment 10 michael.ruess 2004-08-25 14:38:03 UTC
MRU->MM: there seems to be a small difference in the way Writer and Word save
Bookmars in header/footer to .doc format. This difference makes Writer's expoted
bookmarks invisible in Word's Insert.Bookmark dialog, when listed "by name".
Comment 11 martin_maher 2005-05-05 10:30:23 UTC
mmaher->flr: Your's methinks
Comment 12 Rainer Bielefeld 2005-09-23 07:41:05 UTC
We have other issues (issue 37422, issue 37422, issue 54988) concerning header
Bookmarks.

I suggest issue 54988 with the most general description should be processed
first, because I believe, that other problems will be sollved with fix for issue
54988.
Comment 13 michael.ruess 2005-09-29 10:58:15 UTC
*** Issue 54986 has been marked as a duplicate of this issue. ***
Comment 14 Mathias_Bauer 2006-08-30 15:29:08 UTC
assigning to hbrinkm
Comment 15 Marcus 2017-05-20 11:27:51 UTC
Reset assigne to the default "issues@openoffice.apache.org".