SuppressTopSpacingWordPerfect Class
Emulate WordPerfect 5.x Line Spacing.When the object is serialized out as xml, its qualified name is w:suppressTopSpacingWP.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.SuppressTopSpacingWordPerfect
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class SuppressTopSpacingWordPerfect _
Inherits OnOffType
'Usage
Dim instance As SuppressTopSpacingWordPerfect
public class SuppressTopSpacingWordPerfect : OnOffType
Remarks
[ISO/IEC 29500-1 1st Edition]
9.7.3.44 suppressTopSpacingWP (Use Static Text Leading)
(The terms baseline to baseline distance and unitsPerEm, used below, are defined in ISO/IEC 14496-22:2007.)
This element specifies that applications should use the values defined below to calculate the baseline to baseline distance (BTBD) in this document. This can result in lines appearing slightly condensed vertically.
Without this setting, applications calculate baseline to baseline distance using the metrics defined by ISO/IEC 14496-22:2007. This element, when present with a val attribute value of true (or equivalent), specifies that applications should calculate this as follows:
[Example: If this compatibility setting is turned on:
<w:compat> <w:suppressTopSpacingWP /> </w:compat>
Then applications use a baseline to baseline distance as calculated before. With a 16 point font, this would result in a baseline to baseline distance of 18 points. end example]
Parent Elements |
---|
compat (Part 1, §17.15.1.21) |
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.