Issue 8482

Summary: Document with a style named "default" has problems importing in OO
Product: Writer Reporter: Unknown <non-migrated>
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P4 CC: issues
Version: OOo 1.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Attachment for the problem.
none
hmm, own own format can be made do the same thing none

Description Unknown 2002-10-18 13:48:51 UTC
Attached is a document with a style name called default.  
OO imports the style correctly.
OO also imports the "normal" style with the name "default"

The problem is that OO applies the original "default" to the "normal" style as 
well.  Open attachment for more details.
File was created using Word 2K.
Comment 1 Unknown 2002-10-18 13:51:25 UTC
Created attachment 3223 [details]
Attachment for the problem.
Comment 2 mci 2003-08-19 11:42:08 UTC
reassigned to mru@openoffice.org
Comment 3 michael.ruess 2003-08-21 11:38:53 UTC
MRU->CMC: The user created a para style named "default" in his Word
document. This leads to problems when importing this into an English
version of OO. Perhaps we should catch this case and rename this style
to "defaultWWrenamed". But then, we still cannot be sure, if he user
doesn't create a sty with that new name..... :-(
What do you think about this?
Comment 4 caolanm 2003-08-21 13:30:35 UTC
Hmm, the "normal" style is the "default" style in writer, so "normal"
becomes "default". So we swap the "normal" name with "default", would
 making "default" into "normal" to keep the symmetry be a good idea,
or it that just too clever. I'll think about it.
Comment 5 caolanm 2003-08-25 12:42:16 UTC
Created attachment 8728 [details]
hmm, own own format can be made do the same thing
Comment 6 caolanm 2003-08-29 13:44:13 UTC
Suddenly became a lot more important :-), fixed in
waterfordfilterteam12 will be in 1.1.1.
Comment 7 caolanm 2003-09-12 11:30:25 UTC
reopen to reassign
Comment 8 caolanm 2003-09-12 11:31:02 UTC
cmc->mru: Working in waterfordfilterteam12
Comment 9 michael.ruess 2003-09-16 09:25:15 UTC
MRU: fix checked with CWS waterfordfilterteam12.
Comment 10 michael.ruess 2003-09-16 09:25:46 UTC
Fix verified. Will be included in OO 1.1.1
Comment 11 michael.ruess 2003-09-19 14:13:47 UTC
Verified in CWS filter13. Fix will also be in OO 2.0
Comment 12 michael.ruess 2004-01-28 14:09:42 UTC
Fix introduced into OO 1.1.1 master srx645m27. Will be available here soon.