MacWordSmallCaps Class

Emulate Word 5.x for the Macintosh Small Caps Formatting.When the object is serialized out as xml, its qualified name is w:mwSmallCaps.

Inheritance Hierarchy


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


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


[ISO/IEC 29500-1 1st Edition] mwSmallCaps (Use Specific Small Caps Algorithm)

This element specifies that applications should use a specific algorithm to determine the font size of small caps (the formatting resulting from the use of the smallCaps element (Part 1, § This emulation typically results in small caps which are smaller than typical small caps at most font sizes.

Typically, applications can utilize any algorithm that results in small caps formatting. This element, when present with a val attribute value of true (or equivalent), specifies that applications should determine the font size for small caps using the following algorithm:

  • If , then the font size for small caps is 7 points.

  • Otherwise, sequentially iterate through until , at which point the font size for small caps is points.


  • is an array defined as follows: where .

  • is an integer calculated as follows: The font size of the run to which small caps formatting is applied (in points).

[Example: Consider a WordprocessingML document with small caps on its text contents.

If this compatibility setting is turned on:

<w:mwSmallCaps />

And the font size for a single run is 16 points, and performing the algorithm above would result in 14 points as the calculated font size for small caps. end example]

Parent Elements

compat (Part 1, §

This element’s content model is defined by the common boolean property definition in Part 1, §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


MacWordSmallCaps Members

DocumentFormat.OpenXml.Wordprocessing Namespace