Issue 21881 - RTF: Handle duplicate stylenames in rtf
Summary: RTF: Handle duplicate stylenames in rtf
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on: 21422
Blocks:
  Show dependency tree
 
Reported: 2003-10-29 17:39 UTC by caolanm
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
example .rtf (11.38 KB, text/plain)
2003-10-31 11:54 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2003-10-29 17:39:50 UTC
What to do with duplicate stylenames in rtf ?

e.g. issue 21422
Comment 1 caolanm 2003-10-29 17:43:58 UTC
The recent patch to map rtf stylenames to our own UI names has a
sideeffect that duplicate names are now possible in the rtf filter as
well. Need to review patch and see if it needs to be backed out or if
we can handle the duplicate case nicely.
Comment 2 caolanm 2003-10-31 11:54:37 UTC
Created attachment 10835 [details]
example .rtf
Comment 3 caolanm 2003-10-31 17:58:47 UTC
Now done in portlaoisefilterteam16 for 2.0, now this logic is merged
in the rtf and ww8 filters. So they will sink and swim together.
Comment 4 caolanm 2003-11-04 13:45:53 UTC
Mark as resolved
Comment 5 caolanm 2003-11-07 16:25:06 UTC
reopen to reassign
Comment 6 caolanm 2003-11-07 16:26:35 UTC
cmc->mru: Good in Fri-Nov-07-16-00 portlaoisefilterteam16 installset.
On import there should be two styles Default and Normal in an english
version, with the text in the style Default. If it was a german
version the secondary unused style shouldn't overwrite the actual
Normal style, and be called ww-normal or something like that. Anyhow
the rtf filter uses the same code as the ww8 filter, so the rules are
the same for the two of them now.
Comment 7 michael.ruess 2003-11-19 16:09:41 UTC
Checked fix with CWS portlaoisefilterteam16.
Comment 8 michael.ruess 2003-11-19 16:10:11 UTC
Verified. Fix will be included in OO 2.0.
Comment 9 michael.ruess 2004-05-05 12:43:03 UTC
Checked fix with OO 2.0 snapshot build 680m36.