Custom style sets
Posted on 2010-09-01
I wanted to make use of Word 2007 style sets, so I've created a set of custom styles in a template. I named each of the styles with a unique name and added them to the style gallery, then made a style set.
I wanted to make it as easy as possible for the end user of the template to format the document so instead of having to click on the custom style names that I created, I tried to go through and match my custom styles with the corresponding inbuilt style used by Word. For example, Word's h1 heading was matched to my custom h1 heading, so that the user can just click on h1 in the style gallery and it will be styled according to the attributes that I set for the custom style. This works for h1 but I'm having problems with a couple of others.
Instead of clicking on a custom bullet style, it would be easier for the user to just click the bullet menu. I created a blank document and after typing in some sample text and applying the default bullets from the the normal template, I looked in the styles pane and saw that this default bullet was given a style of "List style". Since this was the case, back in my template document I matched my custom style to this inbuilt style. When I tested though, the bullet character did match my custom style but the hanging indent was not the same. I don't understand why it didn't match it completely. After I had matched the style, I checked the style definition for the inbuilt style and it said that it was based on my style but it still retained some of it's own definition. I'm not sure why I can't get it to match so that pressing the bullet list will always produce a list style according my unique style.
A similar thing is happening with list numbering. As with the bullets, I created a custom style, then I matched it with the "List paragraph" style which apparently is the style that is being used for the default numbering list. When I tested, I get the green coloured number however the indent is totally out and doesn't match my own.
This is the first time I've used Word 2007 to create complex style sets so I can't be sure whether I'm going about it the right way. Although as mentioned it does work with the heading styles so maybe something extra needs to be done to get the bullets and numbering working correctly.
Would really appreciate any help.