Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Custom style sets

Posted on 2010-09-01
8
Medium Priority
?
615 Views
Last Modified: 2012-06-27
Hi everyone,

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.
0
Comment
Question by:gwh2
  • 4
  • 4
8 Comments
 
LVL 33

Expert Comment

by:Paul Sauvé
ID: 33583300
Generally, you should be able to modify Word`s styles to correspond to your needs. That way, you keep the same style names as the notmal.dotx file, but with your modifications.
But I, too, have had problems with the bullet and numbered lists. Try incremental changes when doing this and you may see at what step the error occurs.
The trick is to create a new document model and distribute this .dotx or .dotm model for creating new documents.
0
 
LVL 1

Author Comment

by:gwh2
ID: 33584575
Thanks for the reply,

How do you create a new document model?
0
 
LVL 1

Author Comment

by:gwh2
ID: 33584613
Also just one other question if that's ok: I have a heading style whereby the paragraph is shaded a colour. If this heading falls at the bottom of a column and I want to push it to the top of the next column, I insert a column break. This relocates the paragraph but it also leaves the shading colour at the bottom of the previous column.

If instead I insert the column break at the end of the previous paragraph which is styled with body text, then there's a blank paragraph at the top of column two which isn't what I was going for, ie. the heading needs to be flush with the top of the column.

Is there a workaround for this?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 33

Accepted Solution

by:
Paul Sauvé earned 2000 total points
ID: 33587350
How do you create a new document model?
Once you have completes the changes to the styles, use the Save as option and select Word model in the Document type. Give it a significant name and save the new document model.
I have a heading style whereby the paragraph is shaded a colour. If this heading falls at the bottom of a column and I want to push it to the top of the next column, I insert a column break
OK - to start the column at the top of the page, select  the line (the entire line) of the table you want on the following page, then specify a page break before a paragraph:
  • On the Page Layout tab, click the Paragraph Dialog Box Launcher (the small arrow at bottom - right of the Paragraph dialogue), and then click the Line and Page Breaks tab.
  • Select the Page break before check box.
Sorry about the delay I`m in Quebec, Canada!!!
 
0
 
LVL 33

Expert Comment

by:Paul Sauvé
ID: 33587626

I have a heading style whereby the paragraph is shaded a colour. If this heading falls at the bottom of a column and I want to push it to the top of the next column, I insert a column break
Does this example help?

NewPageTable.docx
0
 
LVL 1

Author Comment

by:gwh2
ID: 33595626
Thanks so much for the help and the example. I understand this now.

Could I ask just one other question: I've used a document building block control (found on the developer tab). This control allows you to put in placeholder text, eg. "Insert a quick part here if needed". I have a few of these controls in the document, but not all controls will be used to insert a quick part. It will depend on the document use. Since this is the case, the placeholder text will continue to remain onscreen and it will also print which isn't what I'd like. So I wondered if there was a way to set this placeholder text not to print, ie. only to remain onscreen?

I'm not sure if this is possible but if so could you provide instructions on how to do this?

Appreciate your continued support.
0
 
LVL 33

Expert Comment

by:Paul Sauvé
ID: 33599410
I`m not sure about this - I know that there is a QuickPart option in the Insert tab, but I see nothing on the developer tab on my version of Windows (2010 beta)..
0
 
LVL 1

Author Comment

by:gwh2
ID: 33601415
That's no problem - I'll try and find out elsewhere.

Thanks again for the other information.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Quickbooks hosting can do wonders to your enterprise but considering the points elaborated in the article which will help you to better analyze the outcomes. So scan your business, its needs and then move to the new world of limitless benefits.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question