Ask Your Question
0

Un-apply/Remove a complex style instead of overwrite - Staking more styles on the same text

asked 2018-07-15 14:50:52 +0200

billboy gravatar image

updated 2018-07-15 14:51:58 +0200

Situation:

In Writer, (but I think this can be useful for other softwares of the LO suite)

As known if I apply a certain formatting to a certain text (for example the bold) I can remove that formatting without removing other formatting from the same text (for example the underline). I do that just selecting the target text then I click once on the B button to apply a bold direct formatting rule; if I want to remove it I just click again on the B after selecting again the text to remove the rule from. This behavior is more or less universal for direct formatting in all softwares I know, even web editors, like this simple one I'm using to write this post.

But what about operating with complex styles instead?

I know that it is possible to apply more complex styles (a paragraph style + a char style for example) to the same text as well as it is possible to apply direct formatting. In both cases it is possible to kinda "stack" them on a specific text, but we can remove very easy a direct formatting but we can't remove a style just by clicking on it or on a button "remove this style from the selected text", or kind of.

I don't know if the point is clear, so follow these steps of the following Scenario:

  1. Write a generic text in LO Write
  2. then apply a paragraph style of your choice
  3. then apply a character style like emphasis bold
  4. now create a new style to highlight the text with a yellow background
  5. and apply this second character style to the same text the emphasis bold style has been already applied

What I notice is as follows:

  • The style highlight replaces the style emphasis bold
  • If I want to "remove" the style I must apply a new style (the predefined style) instead of removing it as well as when working with direct formatting.

Question:

Is there a way to "stack" more styles for example if I want to use both emphasis bold and highlight style on the same text?

I know that I can edit the style to make a emphasis bold and highlight yellow style in the same style, but keeping them separately and sacking them on the text allows more elastic behaviors, for example if you need sometimes a text that is formatted with just one of them and if sometimes you need to apply them both: suppose for example if you have one highlight yellow style and two other stiles emphasis bold and emphasis italic, it would be possible to stack the highlight yellow style on both emphasis without creating two different highlight styles (one for bold and one for italic).

IMHO if this were possible it would be a small revolution in text styling procedures.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-07-15 15:14:15 +0200

RGB-es gravatar image

See this enhancement request:

Bug 115311 - UI missing for nesting character styles

edit flag offensive delete link more

Comments

... and about your question about removal of style without applying another style: in LibreOffice, any text always has some style, both paragraph and character, at least default. So, it's impossible (and should stay so) to remove all styles from a text. In this case, removing one style (if it's not a nested character style) must only be possible by applying another style. Nested character styles UI is in discussion, as you see in the link above.

Mike Kaganski gravatar imageMike Kaganski ( 2018-07-15 15:49:20 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-15 14:50:52 +0200

Seen: 35 times

Last updated: Jul 15 '18