Ask Your Question
1

How to change styles order?

asked 2012-02-19 21:06:13 +0200

Hikari gravatar image Hikari
31 3 5 8

updated 2013-02-16 15:53:58 +0200

manj_k gravatar image manj_k
5698 4 33 48

I'm creating a ott template and building custom styles. I wanna change the order they appear in Styles and Formatting window, but I can't find out how.

I can manually edit styles.xml, but also didn't work.

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
2

answered 2012-02-19 22:39:40 +0200

cloph gravatar image cloph
2802 4 18 43

There is no way to use a custom sort apart from naming them according to alphabetical sorting rules.

But you might want to set the filter to "Custom styles" so that you don't see all that other "noise" from the default styles.

link delete flag offensive edit

Comments

Sad... Word 2003 used to move used styles to top of list, but even Word 14 doesn't do that anymore. I'm gonna try to create a few styles and number them so that they stay on top list, and not give them any new attribute. Anybody knows the simplest syntax to create new styles that extend other ones, so that only name is changed?

Hikari ( 2012-02-19 23:17:46 +0200 )edit

there is also a "applied styles" filter option

as to creating styles so that only the name is changed: Just use "new" from the contextmenu when right-clicking on your existing style. If the "Organizer" tab doesn't list anything in the "contents" area, everything is inherited from the linked style.

cloph ( 2012-02-20 00:01:49 +0200 )edit

tnx a lot cloph I didn't know that! I tried that and it worked.

Hikari ( 2012-02-20 17:33:23 +0200 )edit

doubled, sorry

Hikari ( 2012-02-20 17:33:23 +0200 )edit

One last question. I tried to create a copy of Heading 1 style, but it keeps reporting "no numbering + 0" in its contains. In its XML element it has only its display name, parent and family, there's nothing removing numbering. Do I need to add something to keep its number?

Hikari ( 2012-02-20 17:38:23 +0200 )edit
1

answered 2012-02-20 23:13:35 +0200

Olivier gravatar image Olivier
213 2 4 11

I have my personal trick for handling styles.

I use a prefix for every personalized style I use. That alows me to

a) clearly differentiate an automatic style from a modified automatic style

b) if I choose a prefix such as "AA", I am sure it will appear on the top of the list of styles in the Styles and Formatting window. For example "AA-Heading1", "AA-Heading2", "AA-Body text", and so on..

c) I allows me move styles from a document to another more easily.

But it require a severe discipline in prefixing all and every modified style.

link delete flag offensive edit

Comments

Thanks! That helped a lot! I just created a prefix AAHik followed by 3 numbers for sorting!

Hikari ( 2012-02-21 03:02:44 +0200 )edit

Thanks! That helped a lot! I just created a prefix AAHik followed by 3 numbers for sorting!

Hikari ( 2012-02-21 03:02:44 +0200 )edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-02-19 21:06:13 +0200

Seen: 164 times

Last updated: Feb 20 '12