It’s possible doing some RegExp magic. For languages that distinguish between uppercase and lowercase, Unicode has a “tag” to distinguish both cases. Let’s suppose that only on the paragraph you want transform into headings you’ll find words with two or more consecutive uppercase characters, then
- Open the full search & replace tool with
Ctrl
H
- Check the option to distinguish lowercase from uppercase (it’s just below the search box)
- Check the option to use regular expressions (it’s under “more options”)
- On the search box type
(\p{Lu}){2,}
- Click on “Find all”
-
Alt
TAB
to return the focus to the document and then Ctrl
1
to apply the Heading 1 paragraph style
Done.
I wrote an introduction to Regular Expressions (even if this particular topic is not considered there) in my free book about Writer.