How to Apply Paragraph Styles in LibreOffice Based on Text Strings or Character Formatting

Create the paragraph style that you want to apply., Choose Find/Replace under the edit menu., Rather than choosing Find, or Replace, choose Find All., After running Find All, open the Format, Styles and Formatting window and double-click on the...

8 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Create the paragraph style that you want to apply.

    Manually apply all the formatting you want associated with this style to one paragraph.

    Then, under Format, choose Styles and Formatting, and with the formatted paragraph selected, choose the option to create a new style based on the selected text.

    Give the new style a name.
  2. Step 2: Choose Find/Replace under the edit menu.

    In the find section, enter the characteristics you want to search for, such as a text string, or formatting characteristics, such as underlining, or red text, or italics.

    You can also choose to work with regular expressions if you have learned how to use these.

    For example, \d$ will find every paragraph that ends with a number, if you have the regular expressions option selected. , This selects all the text in the document that matches the search criteria. , For example, you can apply a section heading style to all text that was formatted with underlining.
  3. Step 3: Rather than choosing Find

  4. Step 4: or Replace

  5. Step 5: choose Find All.

  6. Step 6: After running Find All

  7. Step 7: open the Format

  8. Step 8: Styles and Formatting window and double-click on the format you want to apply to all text.

Detailed Guide

Manually apply all the formatting you want associated with this style to one paragraph.

Then, under Format, choose Styles and Formatting, and with the formatted paragraph selected, choose the option to create a new style based on the selected text.

Give the new style a name.

In the find section, enter the characteristics you want to search for, such as a text string, or formatting characteristics, such as underlining, or red text, or italics.

You can also choose to work with regular expressions if you have learned how to use these.

For example, \d$ will find every paragraph that ends with a number, if you have the regular expressions option selected. , This selects all the text in the document that matches the search criteria. , For example, you can apply a section heading style to all text that was formatted with underlining.

About the Author

B

Brian Parker

Specializes in breaking down complex crafts topics into simple steps.

82 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: