Need confirmation about non-clearing of Character Styles

Cor Nouws oolst at nouenoff.nl
Mon Jan 14 09:18:25 PST 2013


Hi all,

Sorry fr being late here...

Michael Stahl wrote (10-01-13 15:10)

>> 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 :)

Depends on what users expect and what has been communicated about new 
features ;-)

> 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.

As mentioned by others: this is how this works.
And is the most used. Often just to control a piece of the documents 
content (cleaning up rubbish).

> but i wouldn't object to a second button to reset  all formatting, including styles.

This is a second option, used far less, and should be as easy as Copy > 
Paste special as Text without formatting.

> 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.

This is a third option...
Selecting a piece of text and hitting Ctrl-Shift-M (extended from 
Ctrl-M) would be far more easy then F11, using mouse to activate 
Character styles, Select/apply Default..
(Should be an easy hack, with all old changes available to look at?)

> 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...

I do not disagree on these points.

Cheers,
Cor

-- 
  - Cor
  - http://nl.libreoffice.org
  - www.librelex.org



More information about the LibreOffice mailing list