Issue 79246 - Ruby in MS Word format is broken
Summary: Ruby in MS Word format is broken
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.2.1
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: 3.4.0
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 05:21 UTC by naoyuki
Modified: 2017-05-20 10:22 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description naoyuki 2007-07-05 05:21:23 UTC
How to reproduce:
1. open Writer
2. enter "WORD" and select it
3. chose Format->Asian Phonetic Guide
4. enter ruby text "word" for "WORD" and Apply
5. save it as "Microsoft Word 97/2000/XP" format
6. open it with MS Word

Word shows incorrect format for WORD with ruby text.

If you select those text and shows "Field code" with context menu, then it shows
"{.....(word);WORD)}. You can replace ";" with "," to show correct ruby format.

This is regression from OOo1.1.
Comment 1 naoyuki 2007-07-05 05:24:30 UTC
This is reported by matuaki-san in Ja OOo community.
Comment 2 stefan.baltzer 2007-07-30 18:04:12 UTC
SBA->MRU: This is a MS Word filter issue. Please proceed.
Note: Broken in OOo 2.0/SO8 final and OOo2.2.1/SO8U7 too.
In word, the field code for the given example reads
{EQ \* jc3 \* "Font:Thorndale" \* hps12 \o\al(\s\up 11(word);WORD)}
But should read
{EQ \* jc3 \* "Font:Thorndale" \* hps12 \o\al(\s\up 11(word)WORD)}
to display correctly (without the semicolon before "WORD").
Comment 3 stefan.baltzer 2007-07-30 18:05:17 UTC
Reassinged to MRU.
Comment 4 michael.ruess 2007-07-31 11:48:33 UTC
This cannot be fixed... Word 2000 uses a "comma" in its field code - Word 2003
uses the "semicolon" (which is exported by OOo Writer). So we decided to export
the field syntax of the "newer" Ms Word.
Comment 5 michael.ruess 2007-07-31 11:51:45 UTC
Closed.
Comment 6 naoyuki 2007-08-13 04:49:13 UTC
This is from original reporter (matuaki-san) in Japanese community.
---
I tried this with Japanese version of Office2003 and 2007, but both fail to
display ruby correctly. Word2003 help regarding field-code says
"Switching character depends on locale. If decimal separator of the language
setting is '.', then the field separator is ',', and if decimal separator of the
setting is ',', then the field separator is ';'.
---
Japanese default decimal separator is '.' as same sa US, so the filed separator
should be ','. So figuring out decimal separator and use appropriate field
separoator by export fileter would be reasonable solution in this case. Ruby is
popular functionality in Japanese, so adjusting just Euro locale (using ',' as
decimal separator) is not appropriate.
Comment 7 michael.ruess 2007-08-13 09:53:20 UTC
MRU->HBRINKM: please implement in the export filter for Rubies, that the
seperator should be locale-dependent. 
Though I currently do not understand why Word 2000 and 2003 behave differently
on the same locale setting...
Comment 8 Mathias_Bauer 2007-12-03 17:04:59 UTC
according to release status meeting: target 3.x
Comment 9 Mathias_Bauer 2007-12-03 17:09:28 UTC
.
Comment 10 cedric.bosdonnat.ooo 2010-06-15 11:08:55 UTC
I have a patch for that to upstream in CWS cbosdo06.
Comment 11 cedric.bosdonnat.ooo 2010-06-15 11:17:41 UTC
target -> 3.3
Comment 12 cedric.bosdonnat.ooo 2010-06-15 13:28:59 UTC
Fixed by commit http://hg.services.openoffice.org/cws/cbosdo06/rev/9594519420b0
Comment 13 stefan.baltzer 2010-09-09 15:51:55 UTC
Reassigned to me.
Comment 14 stefan.baltzer 2010-09-10 11:03:44 UTC
Verified n CWS cbosdo06.
Comment 15 stefan.baltzer 2010-09-17 11:14:31 UTC
According to Release Status Meeting this week (see
http://wiki.services.openoffice.org/wiki/ReleaseStatus_Minutes#2010-09-13)
setting target to OOo 3.4.