Ask Your Question
0

In Writer, how do I clear all formatting from text except the font color?

asked 2018-03-09 16:45:48 +0200

Astralogic gravatar image

I have a large document, some of the text is typed in the default style, some is copied and pasted from the web. The copied text is sligfhtly larger and has a slightly different font. Selecting all the text and choosing the default style doesn't change anything.

I want to make all the text the same size and font (the default style) without losing the colors.

Is that possible?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-03-09 17:20:03 +0200

ajlittoz gravatar image

Unfortunately, according to your (terse) description, it looks like your text has been formatted manually (direct formatting in LO parlance). This direct formatting takes precedence over the attributes set through the style feature (you're encouraged to read the manual to learn how to use this feature for your comfort). Resetting manual formatting will clear all the changes you applied outside the styles.

You have two options:

  • radical: everything is reset to default

    Select all text (Ctrl+A) and Format>Clear direct formatting or Ctrl+M. Everything reverts to the applied style, probably Default Style in your case if no other style was ued.

  • slightly more selective

    Select all text (Ctrl+A) then use the font and font size menus in the toolbar to force a specific font and size. You keep the colours but be aware that this is yet another direct formatting that will later play nasty tricks on your back.

You'll be better off to clear all direct formatting and review your document to apply distinctive styles. This is a lengthy one-shot task but you'll find further editing much much (seven times) easier and comfortable because sequences are specifically marked up and can then be formatted independently from each other.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more
1

answered 2018-03-10 15:57:29 +0200

KH gravatar image

As a slight improvement on @ajlittoz's suggestion to use styles, you might use Find & Replace (ctrl-h) to select only the colored text, apply a paragraph or character style, and then clear direct formatting. You could also do the same for any other formatting attribute that the dialog can handle. This could save a lot of time depending on the complexity of the text, and also assures that you don't miss anything.

Case 1) If there is only one color, open "Other Options", click the Attributes button and select font color, make sure the "find" text is empty, and click Find All. Then apply the style.

Case 2) If there are multiple colors that need to be preserved, it looks like you should be able to do the same thing one color at a time. Click the Format button and go Font Effects > Font Color > Custom Color and enter the RGB value, then precede as before. Obviously, you'll have to examine the target text first to find out the color.

Note: I find the Find & Replace dialog is quite fiddly and hard to use. I think Case (1) is more likely to be worth the trouble than Case (2), but if the text is sufficiently complex then this strategy may well be worth it even in the latter case.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-03-09 16:45:48 +0200

Seen: 154 times

Last updated: Mar 10 '18