DoNotSuppressIndentation Class

Do Not Ignore Floating Objects When Calculating Paragraph Indentation.When the object is serialized out as xml, its qualified name is w:doNotSuppressIndentation.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.12 doNotSuppressIndentation (Do Not Ignore Floating Objects When Calculating Paragraph Indentation)

This element specifies whether applications should ignore the presence of floating objects when calculating the starting position of paragraphs which are wrapped around floating objects.

Typically, the presence of a floating object on the same line or lines as a paragraph shall only affect the text when the floating object occurs where that text would normally be presented. [Example: Text at a 1" indentation would only be displaced by a floating object that appears at that position and not one that appears from 0" to 0.5" on the same line. end example].

This element, when present with a val attribute value of true (or equivalent), specifies that floating objects shall always impact paragraphs on the same line in two ways:

  • If the paragraph is not numbered, then it shall tightly wrap any floating object which precedes it on the same line, ignoring its own indentation settings. [Example: A paragraph with a 1" left indent shall tightly wrap a floating object which appears at only 0.25" on the same line. end example]

  • If the paragraph is numbered using the numPr element (Part 1, §17.3.1.19), then it shall calculate and use its full indent relative to the edge of the floating object, not relative to the edge of the page. [Example: A numbered paragraph with a 1" left indent must appear 1.5" into the page if it is preceded by a floating object which appears at 0.5" on the same line. end example]

[Example: Consider a WordprocessingML document with a narrow floating object at 0.5" on the page, surrounded by both numbered and unnumbered paragraphs.

The default presentation would have no impact on the paragraphs based on that floating object, since the two do not intersect:

DocumentFormat.OpenXml.Wordprocessing.DoNotSuppresDocumentFormat.OpenXml.Wordprocessing.DoNotSuppres

However, if this compatibility setting is turned on:

<w:compat>
<w:doNotSuppressIndentation />
</w:compat>

Then the two alternate rules defined above would apply, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.DoNotSuppresDocumentFormat.OpenXml.Wordprocessing.DoNotSuppres

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

DoNotSuppressIndentation Members

DocumentFormat.OpenXml.Wordprocessing Namespace