SmallCaps Class

Defines the SmallCaps Class.When the object is serialized out as xml, its qualified name is w:smallCaps.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Class SmallCaps _
    Inherits OnOffType
Dim instance As SmallCaps
public class SmallCaps : OnOffType


[ISO/IEC 29500-1 1st Edition] smallCaps (Small Caps)

This element specifies that all small letter characters in this text run shall be formatted for display only as their capital letter character equivalents in a font size two points smaller than the actual font size specified for this text. This property does not affect any non-alphabetic character in this run, and does not change the Unicode character for lowercase text, only the method in which it is displayed. If this font cannot be made two point smaller than the current size, then it shall be displayed as the smallest possible font size in capital letters.

This formatting property is a toggle property (§17.7.3).

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then the characters are not formatted as capital letters.

This element shall not be present with the caps (§ property on the same run, since they are mutually exclusive in terms of appearance.

[Example: Consider the words Hello World, which must be displayed in small capital letters in a document. This constraint is specified as follows in the WordprocessingML:

<w:smallCaps w:val="true" />
    <w:sz w:val="24" />
  <w:t>Hello World</w:t>

This run displays using a 12 point capital letter for the capital letter H and W, and a 10 point capital letter for the lowercase letters in the run, even though the lowercase characters are used in actual run contents. If this property is removed, the original character forms is displayed (they are not lost). end example]

Parent Elements

rPr (§; rPr (§; rPr (§; rPr (§17.9.25); rPr (§; rPr (§; rPr (§; rPr (§; rPr (§; rPr (§

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


SmallCaps Members

DocumentFormat.OpenXml.Wordprocessing Namespace