[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_CharacterSpacing (Character-Level Whitespace Compression Settings)
This simple type specifies the possible ways in which full-width characters in the current WordprocessingML document may be compressed to remove additional whitespace when the contents of this document are displayed, specifically by specifying the set(s) of characters which may be compressed to remove additional whitespace.
[Example: Consider the WordprocessingML below:
<w:characterSpacingControl w:val="dontCompress" />
The characterSpacingControl element has a val attribute value of dontCompress, which specifies that no character compression shall be applied to any character when the document is displayed. end example]
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
compressPunctuation (Compress Whitespace From Punctuation Characters) |
Specifies that only whitespace characters shall have whitespace compression applied to them. |
compressPunctuationAndJapaneseKana (Compress Whitespace From Both Japanese Kana And Punctuation Characters) |
Specifies that whitespace and Japanese kana characters shall have whitespace compression applied to them. |
doNotCompress (Do Not Compress Whitespace) |
Specifies that characters shall not have whitespace compression applied to them. |
Referenced By |
characterSpacingControl@val (§2.15.1.18) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_CharacterSpacing">
<restriction base="xsd:string">
<enumeration value="doNotCompress"/>
<enumeration value="compressPunctuation"/>
<enumeration value="compressPunctuationAndJapaneseKana"/>
</restriction>
</simpleType>