Hi,
in LibreOffice 4.0.5 Writer on Windows XP I have two paragraph styles with very similar characteristics: “Text Body” and “Default Style”. But I would like to have only one style in the document. Is there a way to convert all “Text Body” to “Default Style” in my document?
Thanks
Use Edit->Find & Replace. In the dialog, click “More Options” button. Check “Search for Styles”.
Now the upper part shows “Search for” with a drop-down menu containing the applied style. Select “Text body”. Select “Default Style” in the “Replace with” drop-down menu.
Click “Replace” or “Replace All” depending if you want to monitor changes or not.
I did it your way. But now I see my document is corrupted. Inside paragraph (with some style applied to it) I also use some formatting, e.g. setting some words italic, underline etc. Replacing one style with other in some paragraphs this formatting is preserved and in some they are just removed. Strange, don’t understand the logic… Maybe bug… test.jpg please rename .jpg to .odt. Open attachment and replace styles according to ajlittoz suggestion.
I did the test on the attached test file. All your character (what you call inside paragraph) formatting disappear.
However, if i format words with named character styles (selected from the “Styles & formatting” navigator), word highlighting is kept.
From what I understand, “anonymous” word formatting is not kept through the change, while “named” or “styled” highlighting can be restored.
If your document is not small, I suggest that you format it with named styles (you already use paragraph styles, you can also use “character” styles). Character styles can be customized and created the same as paragraph styles.
On reasonable size document, this is the correct way to work (very tedious on small document). An advantage of the method is you can change the appearance of the document in modifying some character styles and the whole document is updated (the same as for paragraph styles).