Another way to create CHAR styles

B

Bob S

The evil "char char char" styles are usually created by applying a
paragraph style to something less than a paragraph.

There is however another way to create them in Word 2002 SP1.

Create a test document with a few paragraphs in Body Text style. Open
the Styles and Formatting Task Pain. Select one whole paragraph and
apply some shading to it. This creates a "paragraph non-style"
(a.k.a."formatting") in the pane. Now select a few characters from
that paragraph and apply a different shade to them. This creates a
"character non-style" i.e. a piece of formatting that is not marked as
a style but acts a lot like a character style.

Now select a different whole paragraph and apply the "character
non-style" to it. Notice that nothing changes in the S&FTP.

Now with the last mentioned paragraph still selected use the
down-arrow on the S&FTP to select "Modify Style". Give the thing a
name and Click OK. Notice that it is now a paragraph style instead of
a non-style.

Now bring up the Organizer and look at your style list. You should see
your new style name, and a "char" version of it.


I speculate:

Word probably stores style definitions and "non-style" definitions in
the same data structure. The only difference is one bit that says
whether the item is a style or not.

When you created the first colored paragraph, Word created a
definition that is exactly like a paragraph style definition except it
is marked as not-a-style.

When you changed the color of a few characters, Word created a
definition that is exactly like a character style definition except it
is marked as not-a-style (and therefore cannot tell you that it is a
character non-style. This is a defect.).

When you applied the "character non-style" to a paragraph, Word
created another definition that is exactly like a paragraph style
definition except it is marked as not-a-style, and linked it (somehow)
to the "character non-style". Due to a bug or a design problem the
S&FTP does not show that there are two separate items in the
formatting/style list.

When you used "Modify Style" on the paragraph and clicked OK, Word
changed the bit to say "Style". (You don't actually have to give it a
sensible name or actually modify anything; clicking OK is enough.)
Because of the linkage, Word also made the character version of the
non-style into a style. because of the above-mentioned bug Word still
does not show you that there are two separate items.

Organizer doesn't have the bug, so it shows you both items.

Bob S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top