Поделиться через


NoSpaceRaiseLower Class

Do Not Increase Line Height for Raised/Lowered Text.When the object is serialized out as xml, its qualified name is w:noSpaceRaiseLower.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.NoSpaceRaiseLower

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

Syntax

'Declaration
Public Class NoSpaceRaiseLower _
    Inherits OnOffType
'Usage
Dim instance As NoSpaceRaiseLower
public class NoSpaceRaiseLower : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.30 noSpaceRaiseLower (Do Not Increase Line Height for Raised/Lowered Text)

This element specifies whether the height which is allotted to any given line of text when the contents of this document are displayed shall include additional spacing in order to ensure that all raised and/or lowered text can be fully displayed.

Typically, any extra space needed is added to the line to prevent raised and lowered text from being truncated or hidden. This element, when present with a val attribute value of true (or equivalent), specifies that the height of the line shall be determined solely by the spacing settings on the parent paragraph, and any raised/lowered text shall just be clipped if it exceeds that space.

[Example: Consider a WordprocessingML document with both raised and lowered text. The default presentation would have that text visible:

DocumentFormat.OpenXml.Wordprocessing.NoSpaceRaise

However, if this compatibility setting is turned on:

<w:compat>
<w:noSpaceRaiseLower />
</w:compat>

Then no additional space should be added to the line height, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.NoSpaceRaise

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.

See Also

Reference

NoSpaceRaiseLower Members

DocumentFormat.OpenXml.Wordprocessing Namespace