次の方法で共有


NoExtraLineSpacing Class

Do Not Center Content on Lines With Exact Line Height.When the object is serialized out as xml, its qualified name is w:noExtraLineSpacing.

Inheritance Hierarchy

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

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

Syntax

'宣言
Public Class NoExtraLineSpacing _
    Inherits OnOffType
'使用
Dim instance As NoExtraLineSpacing
public class NoExtraLineSpacing : OnOffType

Remarks

[ISO/IEC 29500-1 初版]

9.7.3.28 noExtraLineSpacing (Do Not Center Content on Lines With Exact Line Height)

This element specifies whether an exact line height using the spacing element (Part 1, §17.3.1.33) in the paragraph's properties, each line shall not be automatically centered within the given amount of line spacing.

Typically, if the exact amount of spacing allotted to a line via the paragraph properties exceeds the amount of space required by that line, then the line of text shall be automatically centered when the text of the document is displayed. This element, when present with a val attribute value of true (or equivalent), specifies thatall additional spacing shall instead be placed below the normal layout of the line of text.

[Example: Consider a WordprocessingML document with a line with an exact height of 32 points:

<w:p>
<w:pPr>
<w:spacing w:line="640" w:lineRule="exact" />
</w:pPr>
<w:r>
<w:t>This is text on a line that's exactly 32 points high.</w:t>
</w:r>
</w:p>

The default presentation would have the resulting text centered on that line:

DocumentFormat.OpenXml.Wordprocessing.NoExtraLineS

However, if this compatibility setting is turned on:

<w:compat>
<w:noExtraLineSpacing />
</w:compat>

Then all line spacing is added after the text, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.NoExtraLineS

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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

NoExtraLineSpacing Members

DocumentFormat.OpenXml.Wordprocessing Namespace