Site Meter Microsoft Office » Blog Archive » BEHIND THE CURTAIN: STYLES’ ORDER OF OPERATIONS

BEHIND THE CURTAIN: STYLES’ ORDER OF OPERATIONS

by

In Word, a style defines a set of formatting properties that are indirectly applied to characters, paragraphs, list, or tables. Instead of directly applying bold, then 14 point font, and then red to text, you can use a style to indirectly apply these three things in a single click. This is useful because you can quickly and consistently apply rich formatting, and can later change the definition of the style all the text the style is applied will change.

For example, the Heading 1 style in Word 2003 specifies the font, font size, and font color properties (among others) as: Arial, 16 point, and automatic, while in Word 2007 Heading 1’s font, font size, and font color properties are: Cambria, 14 point, and blue-Accent 1-Darker 25%. Because these properties changed Between Word 2003 to Word 2007, applying the Heading 1 style in Word 2003 will give you a different looking heading than if you did the same thing in Word 2007. And if you are not a big fan of Heading 1 in 2003 or 2007, you can change the font, font size, and font color properties in both versions and those changes will be applied to every instance of Heading 1 in the given document. Quick, consistent, and rich formatting that can be changed once and trickle through the whole document.

How styles relate to one another

You may be wondering how Word deals with all this style. I can get you 80% of the way there with a relatively simple explanation. The remaining 20% is more complex and less common, so I’ll go there only if I need to in later posts.

In short, styles build on top of one another. For example, if you have a numbered paragraph in a table, then the style layering logic in Word essentially works like this [Word is "speaking" in the example]:

“Document Defaults, tell me what properties to apply to paragraphs and characters by default.”
“Table Style, tell me how the table should look—i.e., row shading, borders, etc.—and if you have any additional paragraph and character properties (i.e., stuff not in the Document Defaults). If you have additional properties, I’ll add them. If you have any of the same properties as the Document Defaults—such as line spacing—but different values for those properties—such as 1 vs. 1.5—I’ll use yours.”
“Paragraph Style, do you have any additional paragraph properties (i.e. stuff not in the Document Defaults or Table Style) that I need to apply to this paragraph? If you specify the same paragraph properties as the any of the previously applied styles I’ll use yours.”
“Numbering Style, tell me how the numbered list should look and if you’ve got additional paragraph properties that I don’t have yet. Of course, if you have different values for properties that I do already have, I’ll use yours.”
“Character Style, do you have any additional character properties (i.e. stuff not in the Document Defaults or Table Style) that I need to apply? If you have the same character properties as the any of the previously applied styles, I’ll use yours.”
“Is there any direct formatting—bold, italics, underline, font color, etc.—applied? If so, I’ll use those.”
This story hopefully illustrates that:

Multiple styles can be applied to the same part of a document, so properties defined in styles are applied in a specific order.
The properties set by one type of style can be supplemented or superseded by other types of styles.
The general hierarchy of style types is [from lowest to highest priority]:
Document Defaults
Table Styles
Paragraph Styles | Paragraph Part of Linked Styles
Numbering Styles
Character Style | Character Part of Linked Styles
Direct Formatting


Leave a Reply


About Microsoft Office

We’ll be discussing Microsoft Office products, the suites, updates and upgrades, tips and tricks. There are wonderful programs that Microsoft has come out with, especially Word, Excel and Outlook. There are programs for everyone out there, from home and student workers, small businesses and corporations. So, keep in contact, watch this space, as the saying goes, contact me with your tips, comments

Microsoft Office Author(s)

Technology Channel Posts

  • Cell Phones + Social Networks = Love?
    [caption id="attachment_262" align="alignnone" width="128" caption="Social Networks"][/caption]Wireless industry ready to interface with Facebook, MySpace and Bebo Everybody at this week's Mobile [...]
  • LG X120 Netbook
    LG Electronics has announced it is launching their newest netbook called the LG X120. The laptop is a cute one with only 10.1″ screen with backlit. Powering it is an Intel Atom processor [...]
  • Uniea Haptique HardShell Case for MacBook
    This hardshell cases for the new MacBook aluminum are made of ABS plastic coupled with soft touch coating. It offers a textured feel, almost leather like, and protects the surface of the laptop [...]
  • Haier shows off it's offerings to the masses
    [caption id="attachment_1757" align="alignnone" width="600" caption="Haier netb ook, G1 and G2"][/caption]The fine folks over at Haier shows off mysterious "NetBooks," Android phones Haier's [...]
  • Hackers target Gamers
    [caption id="attachment_887" align="alignnone" width="128" caption="Xbox"][/caption]Although I'm not a gamer, everyone should be aware of hackers and malware. According to microsoft, What's the [...]
  • Microsoft Equips Individuals With New Training Resources Needed for Jobs
    [caption id="attachment_733" align="alignnone" width="109" caption="Microsoft"][/caption]Second time around for this bit of news, but very apropos in today's business climate. Microsoft Corp. [...]
  • LG Phone's Transparent Keypad Expected to "Make A New Fashion Statement"
    [caption id="attachment_259" align="alignnone" width="950" caption="Transluscent Phone"][/caption][caption id="attachment_258" align="alignnone" width="500" caption="LG GD-900"][/caption]Firmware or [...]
  • Preorder Nokia N86 at Expansys
    [caption id="attachment_1754" align="alignnone" width="162" caption="Nokia N86"][/caption]Engadget breaks this story: European markets can expect to see Nokia's N86 handset on or about July 22, [...]
  • Microsoft Tests Vista SP2, Readies Windows 7 Updates
    [caption id="attachment_884" align="alignnone" width="116" caption="Vista"][/caption]Lots coming out of Redmond these days. Service Pack 2 for Windows Vista and Windows Server 2008 is reportedly [...]
  • Five Steps to an E-friendly Résumé
    [caption id="attachment_730" align="alignnone" width="128" caption="Resume on Outlook"][/caption]With today's economy and layoffs, we all need all the help we can get when searching for jobs. MSN [...]

Hot Off The Press