Emulate Word 5.x for the Macintosh Small Caps Formatting.When the object is serialized out as xml, its qualified name is w:mwSmallCaps.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
'Declaration Public Class MacWordSmallCaps _ Inherits OnOffType 'Usage Dim instance As MacWordSmallCaps
public class MacWordSmallCaps : OnOffType
[ISO/IEC 29500-1 1st Edition]
184.108.40.206 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, §220.127.116.11). 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:compat> <w:mwSmallCaps /> </w:compat>
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]
compat (Part 1, §18.104.22.168)
This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.