Issue 8482 - Document with a style named "default" has problems importing in OO
Summary: Document with a style named "default" has problems importing in OO
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Linux, all
: P4 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-18 13:48 UTC by Unknown
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

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


Attachments
Attachment for the problem. (19.00 KB, application/octet-stream)
2002-10-18 13:51 UTC, Unknown
no flags Details
hmm, own own format can be made do the same thing (5.13 KB, application/octet-stream)
2003-08-25 12:42 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.