Issue 25556

Summary: character subscript / superscript values save incorrectly in MS Word 97/2000/XP format
Product: Writer Reporter: declension <admin>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, matthias.mueller-prove
Version: OOo 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description declension 2004-02-16 15:40:10 UTC
When setting character subscripts for a given font (two tested) ie

click Format->Character->Position 

Position = Subscript
Raise / Lower = (various)
Relative font size = 100%

this displays as expected, lowered by say 20%. However, when saved to MS Word
format, and re-loaded. The text is displayed significantly lower than
previously, and on inspection the value for subscript is over twice as large eg
18%->50%, 20%->54%, 30%->87% and consistently by the same amounts (haven't tried
rebooting though).

This does not appear to be a problem when saving to native OOO format. On first
tests superscript seem to behave similarly, albeit with different (slightly
larger) numbers.

Can provide small test file if necessary, but should be easy to assuming it's
not a quirk on my system. 

HTH, Nick
Comment 1 mci 2004-02-17 07:50:05 UTC
reassigned to mru
Comment 2 michael.ruess 2004-02-17 12:15:54 UTC
Yeah, problem is, that 
 a) Word does not have a feature for explicit "super-/subscript" font size
 b) Writer calculates "raised by" relatively in % and Word does it absolutely in pt.

Thus, there will alwasy be a kind of miscalculation when translating between
Writer and Word format. If there should be full compatibility, the
sub-/superscript algorthm/concept has to be adapted.
Comment 3 rblackeagle 2004-02-17 18:41:16 UTC
Please -- don't copy Word's mistakes.  Just get it close enough.

For example, I have seen comments by developers who mentioned that Excel does it
wrong, so Calc should do it wrong, too.  Same on occasion with Word versus
Writer.  In point of fact, if OOo is to be a clone of MS Office, I wouldn't have
it.  I like Writer because, in most cases of a conflict, Writer does it right. 
Same with Calc.  I would think the developer's goal is to have a BETTER Office
Suite, not a nearly IDENTICAL Office Suite.

Adjusting by percentage is a more accurate way than by points.  If desired, a
"percentage to point size" table could be included in the help file.  That
should help somewhat without copying Word's limited choices.
Comment 4 michael.ruess 2004-03-12 14:13:28 UTC
*** Issue 26392 has been marked as a duplicate of this issue. ***
Comment 5 bettina.haberer 2005-05-17 15:47:56 UTC
Hello Matthias, here is one issue fitting to your recently described
subscript/superscript-problem. I have cc'ed you, if you like, you can take over
this issue to your ownership.
Comment 6 michael.ruess 2007-10-08 14:21:48 UTC
*** Issue 82232 has been marked as a duplicate of this issue. ***