Why does applying a style keep the old formatting?

Sorry to create another question about this, but I still can’t understand.

I have a paragraph, add list numbering to it and then set it Standard style. List numbering remains. I set to clear direct format, numbering remains. I set Standard style again, numbering remains.

Worse: I have a few list styles, if I change the numbering style of 1 of them, it changes them all.

I can’t understand how it works. What I think I understood is that list formatting is done separately, by the text:list-style element. But I’ve copied one of these elements, renamed it, set it to a style:style element, and changes to this style kept changing other styles.

Paragraph Style dialog has no tab for list formating, only option it has is Outline & Numbering tab where I can set another Numbering Style. But as I said that doesn’t work because a list style change propagates to other styles that shouldn’t be related. And there’s no UI to config these numbering styles.

It seems styles are bound in a way I can’t understand, even reading styles.xml, and applying a style leaves old formatting behind, which even clearing direct formatting doesn’t remove.

Did you manage to solve this? I’m having the same problem. Setting a line’s style doesn’t update its formatting.

Press F11 for styles and formatting dialog. On top there are icons for Paragraph, Character, Frame, Page, and List. Pick List style. There is your UI to change these styles or create a new one.

In English UI the icons are labelled (in order) Paragraph, Character, Frame, Page, and List.

@oweng, thanks a lot, I fixed the list.

I’m having exactly the same problem as Hikari.

I’ve done what Mahfiaz instructs but the styles are not applying to my document, even if I “clear direct formatting” first.

When I click on the style, the old formatting does not change to the new style.

Is this a bug or am I missing something?

I’m using
LibreOffice 3.5.4.2
Build ID: 350m1(Build:2)
with Ubuntu

In styles and formatting dialog it should show the current style as selected. If it does not, then the list is “locally formatted”. Clear direct formatting does not affect lists (that would make no sense, it would just remove bullets/numbering). So select your lines and double-click on a list style.