Highlighting in openoffice can't be modified with MS Word

Bug #645269 reported by Romano Giannetti
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenOffice
Unknown
Unknown
openoffice.org (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

I have made a file, clean.doc, with MS Word for Windows 2007.

Then I edited the file in Openoffice.org, version 1:3.2.0-7ubuntu4.1, and added few char and highlighted a couple of words; saved the file as a .doc.

Opening again the file in MS Word, I discovered that the highlighting made with OO.org is permanent. It is impossible to remove (select the background icon, set it no color, nothing happens). You have to delete the text and rewrite it, or copy as text to delete the highlighting in word. This is a very nasty interoperability problem.

The highlighting done in word is editable both ways. Saving the file in .odt and opening it in Word (with the appropriate filter) does not solve the problem.

Problematic file attached. Thanks!

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :
Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

I saved (from MS Word) the file in RTF format. The sequence, highlighted by MS, which works (you can remove the highlight) is like that:

{\rtlch\fcs1 \af37 \ltrch\fcs0 \lang1033\langfe1025\highlight7\langnp1033\insrsid5522236\charrsid3873419 \hich\af37\dbch\af37\loch\f37
This text has been highlighted with Microsoft Word 2007}

The sequence that you cannot modify is this one:

{\rtlch\fcs1 \af37 \ltrch\fcs0
\lang1033\langfe1025\chshdng0\chcfpat0\chcbpat7\langnp1033\insrsid5522236 \hich\af37\dbch\af37\loch\f37 This text has been modified and highlighted with O\hich\af37\dbch\af37\loch\f37 penoffice (version 1:3.2.0-7ubuntu4.1, Ubuntu Linux 10.04 up-to-date).
}

There are quite a bit of difference (the good one has no chshdnp etc command, and an additional highlight command).

Any help?

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

Note that if I change "\chshdng0\chcfpat0\chcbpat7" to "\highlight7" in the rtf file, then MS Word can edit it correctly.

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

...saving the file form OpenOffice as RTF makes all the highlight untouchable in MS Word. Removing all the \chcbpat commands make the file editable again, but without the highlights. Sigh.

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

sed 's/\\chcbpat/\\highlight/g' < in.rtf > out.rtf makes a editable file. Saved my day.

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

Really this is the OO.org issue http://qa.openoffice.org/issues/show_bug.cgi?id=24317 ; my own bug report was marked as a duplicate. The problem is here since, ehem, Jan 2004.

Revision history for this message
Romano Giannetti (romano-giannetti) wrote :

Ok, more hints for someone that have the same problem: you can remove the yellow background, in MS Word, by going to format->paragraph->shading. I understand that the problem is that background is just "shading" in OO.org, and two different properties in MS Word (highlighting and shadow).

I think that, for once, I will agree with MS that their approach is better: one thing is the background you want in the final document, a different one is the highlighting you do whilst revising a document with your peers, and removing the last one without touching the first one is a nice thing.

In the meantime, I will try to educated my peers that use Word...

Revision history for this message
Nathan Abraham (nathanabraham) wrote :

Solution to Problem of Eliminating/Removing Yellow Highlighter to Words in Open Office Writer
I tried working with Format Styles and also Background Shading with no consistent effect.

I then tried Selecting the words I had highlighted in Yellow - Then Right Clicking on them - and
then Clicking on "Default Formatting" (in the drop down).
The Highlighting disappeared - and although my Font changed (back to Default) - I simply
changed it back to what I wanted.

Hope this helps,
Nathan Abraham

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openoffice.org (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.