Compartir a través de


AdjustRightIndent Class

Defines the AdjustRightIndent Class.When the object is serialized out as xml, its qualified name is w:adjustRightInd.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.3.1.1 adjustRightInd (Automatically Adjust Right Indent When Using Document Grid)

This element specifies whether the right indent shall be automatically adjusted for the given paragraph when a document grid has been defined for the current section using the docGrid element (§17.6.5), modifying of the current right indent used on this paragraph.

[Note: This setting is used in order to ensure that the line breaking for that paragraph is not determined by the width of the final character on the line. end note]

If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e. that previous setting remains unchanged). If this setting is never specified in the style hierarchy, its value is assumed to be true.

[Example: Consider a paragraph in which the right indent on the current paragraph should not be automatically determined based on the character pitch set in the document grid. This setting would be specified using the following WordprocessingML:

<w:p>
  <w:pPr>
    …
    <w:adjustRightInd w:val="false" />
  </w:pPr>
  …
</w:p>

By explicitly setting the val to false, this paragraph uses its specified right indent settings regardless of the presence of the document grid for the parent section. end example]

Parent Elements

pPr (§17.3.1.26); pPr (§17.3.1.25); pPr (§17.7.5.2); pPr (§17.7.6.1); pPr (§17.9.23); pPr (§17.7.8.2)

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.

See Also

Reference

AdjustRightIndent Members

DocumentFormat.OpenXml.Wordprocessing Namespace