Ask Your Question
0

Why does applying a style keep the old formatting? [closed]

asked 2012-02-20 20:09:54 +0100

Hikari gravatar image

updated 2014-02-12 00:28:49 +0100

bencomp gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 15:38:42.579006

Comments

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

rje gravatar imagerje ( 2014-11-30 09:07:11 +0100 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2012-04-27 12:12:53 +0100

mahfiaz gravatar image

updated 2014-03-25 00:22:36 +0100

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.

edit flag offensive delete link more

Comments

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

oweng gravatar imageoweng ( 2014-03-25 00:08:42 +0100 )edit

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

mahfiaz gravatar imagemahfiaz ( 2014-03-25 00:22:58 +0100 )edit
0

answered 2012-11-02 18:55:12 +0100

Ron L gravatar image

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

edit flag offensive delete link more

Comments

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.

mahfiaz gravatar imagemahfiaz ( 2013-02-18 10:07:02 +0100 )edit

Question Tools

Stats

Asked: 2012-02-20 20:09:54 +0100

Seen: 2,380 times

Last updated: Mar 25 '14