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...
Step-by-Step Guide
-
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. -
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. -
Step 3: Rather than choosing Find
-
Step 4: or Replace
-
Step 5: choose Find All.
-
Step 6: After running Find All
-
Step 7: open the Format
-
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
Brian Parker
Specializes in breaking down complex crafts topics into simple steps.
Rate This Guide
How helpful was this guide? Click to rate: