Ask Your Question

Can I select all the text having the same style? [closed]

asked 2013-06-18 14:00:10 +0200

Pipe gravatar image

Can I select all the text having the same style?

I want to change the style assigned to some of the text in one document. Style "B" should be applied to the text with style "A". It would be very easy if I could select all the text in a document with style A, then apply style B.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-21 12:33:50.425168

4 Answers

Sort by » oldest newest most voted

answered 2013-06-18 15:20:47 +0200

David gravatar image

The two current answers both focus on paragraph styles (the only kind of "styles" search available from CTRL-H, I believe).

If you want to select character styles (e.g., change all bold to underline for example), then you probably need the the Extended Search/Replace extension. There's a step-by-step guide in another Q&A to using it to replace paragraph styles (and see this related one, too), but it can also replace character styles (you might want/need to set up some new custom ones).

It's certainly worth experimenting with, as it is a very powerful tool for manipulating the text.

edit flag offensive delete link more

answered 2013-06-18 14:53:01 +0200

petermau gravatar image

@Pipe Find and Replace provides the ability to change one Style to another as an extended option that is normally hidden.

Edit > Find and Replace > More Options > Search for Styles. Then you have a choice of Find and Replace one by one, or Replace All.

edit flag offensive delete link more

answered 2013-06-18 14:51:49 +0200

mahfiaz gravatar image

Have you took look at Find and Replace dialog (Ctrl+H) options? See "Search for Paragraph styles" under Other Options.

edit flag offensive delete link more

answered 2015-05-14 16:44:48 +0200

bartovan gravatar image

From Libreoffice Help: Finding and replacing in Writer, paragraph "Finding styles"

"You want to find all text in your document to which a certain Paragraph Style is assigned, for example the "Heading 2" style.

  • Choose Edit - Find & Replace to open the Find & Replace dialog.
  • Click More Options to expand the dialog.
  • Check Search for Styles. The Search for text box now is a list box, where you can select any of the Paragraph Styles that are applied in the current document.
  • Select the style to search for, then click Find Next or Find All."
edit flag offensive delete link more


In my opinion this is the correct answer for the question asked in the heading. See also this question where this strategy is used to count words.

tomjovi22 gravatar imagetomjovi22 ( 2019-07-12 19:05:39 +0200 )edit

Question Tools


Asked: 2013-06-18 14:00:10 +0200

Seen: 12,299 times

Last updated: May 14 '15