Apache OpenOffice (AOO) Bugzilla – Issue 21881
RTF: Handle duplicate stylenames in rtf
Last modified: 2013-08-07 14:41:36 UTC
What to do with duplicate stylenames in rtf ? e.g. issue 21422
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.
Created attachment 10835 [details] example .rtf
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.
Mark as resolved
reopen to reassign
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.
Checked fix with CWS portlaoisefilterteam16.
Verified. Fix will be included in OO 2.0.
Checked fix with OO 2.0 snapshot build 680m36.