Apache OpenOffice (AOO) Bugzilla – Issue 85464
Choosing 'Default formatting' does not remove character styles
Last modified: 2013-08-07 14:42:49 UTC
Choosing 'Default formatting' does not remove character styles any more. This is a regression.
Set regression and P2
If I remember it right, menu Format-Default Formatting never intended to remove any styles. Only direct formatting should be removed. When and why did this change? See http://specs.openoffice.org/writer/formatting/Assigning_Styles_in_Writer.sxw for the Spec Doc.
->ufi: The spec doesn't mention character styles at all. It doesn't define that they should not be removed. You can find reason for removing character styles and also reasons against that. But as long as the only other way to remove character styles is to apply the character style "Default" we urgently need an _intuitive_ way of getting rid of applied styles as well. Additionally also hyperlinks are not removed anymore. ->tl: Reason for the bug is cws langstatusbar ->ul: I'd like to have this on target OOo 2.4
Hi Oliver and Uwe, I don't want to step in your discussion, but see that beneath illustration 1 (page 3) stands: "OOo 1.1 already has a very similar function for removing hard (direct and character style based) formatting from paragraphs and text content" So the way it worked, seems be discribed here. + I would love to see 2.4 as target
Target set to 2.4 as aggreed by UL Reassigned to me.
Fixed in cws fwk83 in sw/source/ui/shells/textsh1.cxx
pb: verified in cws.
I see this issue as RESOLVED / FIXED. Does this mean that OOo went back to the regression? Or is issue 47893 fixed? To everybody: Section 1 of the spec says: "... and to reset formatting (remove direct 'hard' formatting)." The word is being defined as "direct formatting". Caption of Illustration 1 says: "OOo 1.1 already has a very similar function for removing hard (direct and character style based) formatting from paragraphs and text content". The word 'hard' is being redefined here with a different meaning. Section 6.4.2 of the spec says that "Format-Default" when the selection is part of the paragraph, OOo 1.1 and 2.0 will "Clear hard character formatting". This is both, true and false according to the different definition of the word 'hard'. However, The same table uses the sentence "clear hard paragraph formatting" and "clear hard character formatting". It's clear now that both paragraph and characters can have hard formatting that can be removed, and therefore, that Format-Default with no selection or partial paragraph selection does different things. However, this is false. I can go on and on about how the whole document is completely flawed, since the meaning of the basic word is taking both values. However, if you read it deeply, word by word, you'll find that the document uses the meaning of "hard formatting" as in "applied directly, without using styles at all". Please see comments on issue 47893. If issue 47893 is not fixed, Character Styles are useless. Character styles are expected to behave in the SAME way as paragraph styles, except for characters. Otherwise, they are not styles. That would be the only way for "hard formatting" to mean the same across OOo. As a user, the expected behavior is NOT to be removed on default formatting. "Default formatting" means "go back to what the styles say".
->alvarezp2000 : This issue is fixed. That means that issue 47893 is still open. Character styles are removed as they have always been removed except for all versions after cws langstatusbar has been integrated.
Verified in OOo 3.0 - closing - Sophie