DoNotExpandShiftReturn Class
Don't Justify Lines Ending in Soft Line Break.When the object is serialized out as xml, its qualified name is w:doNotExpandShiftReturn.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.DoNotExpandShiftReturn
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class DoNotExpandShiftReturn _
Inherits OnOffType
'Usage
Dim instance As DoNotExpandShiftReturn
public class DoNotExpandShiftReturn : OnOffType
Remarks
[ISO/IEC 29500-1 1st Edition]
17.15.3.5 doNotExpandShiftReturn (Don't Justify Lines Ending in Soft Line Break)
This element specifies whether applications should fully justify the contents of incomplete lines which end in a soft line break when the parent paragraph is fully justified using the jc element (§17.3.1.13).
Typically, applications shall fully justify all lines in a paragraph when that setting is specified using the jc element except for the last line in the paragraph (the line ending with the paragraph mark). This element, when present with a val attribute value of true (or equivalent), specifies that any line which ends in a soft line break shall also not be fully justified when the paragraph specifies that setting.
[Example: Consider a WordprocessingML document with a paragraph whose first single line consists of East Asian characters followed by a soft paragraph mark. The default presentation would have the contents of that line fully justified:
However, if this compatibility setting is turned on:
<w:compat> <w:doNotExpandShiftReturn /> </w:compat>
Then this line is not fully justified, as it ends with a soft line break, resulting in the following output:
end example]
Parent Elements |
---|
compat (§17.15.1.21) |
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.