Table of Contents Previous Next Index


WebWorks Test Document : Microsoft Word Styles : Semantic Style Usage

Semantic Style Usage
According to the AWAS system, the style usage is semantic. That is, the styles are used to label particular structural and content elements of a document. The purpose of the styles not merely to apply formatting to a document, but to define the semantic structure of the document.
As a result, two styles may have identical formats, but they have distinct names because they are used for different purposes.
For example, in the AWBook.dotx template, the define char, crossref char, and emphasis char character styles all have identical, italic formatting. The styles are used for different purposes, as in the following illustrations.
*
The define char style is used for a term that is being defined, for example:
A camel is a horse with a hump.
*
The crossref char style is used to label a cross reference:
For more information, see Introduction to Camels by J. Q. Dromedary.
*
The emphasis char style highlights a words for emphasis:
Do not put your finger in a camel's mouth.
All three examples contain italicized words, but the reasons for the italics differ. In the first example, camel is a word that is being defined. In the second, the italicized words are a reference to a book. In the third, the words are italicized for emphasis. Because the semantic usage differs, the italicized words are formatted in three distinct character styles.
The semantic style usage facilitates document automation and conversion of Word documents to other formats such as HTML, online help, and Adobe Acrobat. Each semantic style may need to be processed in a specific way during the conversion process.
The semantic usage lets you customize the appearance of the styles selectively. For example, you can change emphasis char from italics to bold, without affecting define char or crossref char.
The semantic usage is the same in all the AWAS document templates, although the appearance of the styles may differ among the templates. This means that you can paste text from a document based one AWAS template to a document based on another AWAS template. The text automatically adopts the correct formatting for the new template.