Need confirmation about non-clearing of Character Styles

Michael Stahl mstahl at redhat.com
Thu Jan 10 06:10:56 PST 2013


On 10/01/13 14:25, Caolán McNamara wrote:
> On Thu, 2013-01-10 at 10:55 +0100, Fernand Vanrie wrote:
>> Sinds all or editors use LO 3.6.2 (before OO3.3)
>>
>> We have complains about the fact that parts of the text, who are
>> formated with a Character Style, can not been "cleared" to
>> no-formating,
>> not by "Clear Direct Formating (cntrl+M)"
>>
>> There is a dirty work-around by applying the "Default" character style
>>
>> Paragraph Styles can been cleared....
>> Is this intentional behavior or a regression open for a issue ?
> 
> My understanding is
> a) that its intentional, see
> http://lists.freedesktop.org/archives/ooo-build/2010-February/000540.html
> and the commit
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=6e690e0909459d46c53d17e7939891abea11e566

the corresponding issues are an "interesting" read:

https://issues.apache.org/ooo/show_bug.cgi?id=47893 <- patch author
arguing for the change
https://issues.apache.org/ooo/show_bug.cgi?id=85464 <- a certain Cor
reporting the change as regression :)

i definitely think that there should be some button to reset formatting
that leaves character styles intact, and that should be the "most easily
accessible" option.  but i wouldn't object to a second button to reset
all formatting, including styles.

resetting the character styles should be as easy as setting "Default"
char style on the whole document, so i'm not sure if another option is
worth the additional clutter.

but hyperlinks should not be touched by any "reset formatting" since
they are not formatting, but content entities (the reset feature also
doesn't convert fields to plain text).

also i'm thinking that ruby text should also not be touched by "reset
formatting", and this has not yet been changed (i.e. it is reset
currently); the reset will actually throw away the ruby text.  i'm
already sitting on a patch to remove ruby from the reset list...




More information about the LibreOffice mailing list