DoNotSuppressParagraphBorders class

Office 2013 and later

Do Not Suppress Paragraph Borders Next To Frames. When the object is serialized out as xml, its qualified name is w:doNotSuppressParagraphBorders.


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

public class DoNotSuppressParagraphBorders : OnOffType

[ISO/IEC 29500-1 1st Edition]

doNotSuppressParagraphBorders (Do Not Suppress Paragraph Borders Next To Frames)

This element specifies whether applications should suppress paragraph borders defined using the pBdr element (Part 1, § when those borders would be displayed next to the contents of paragraphs which have been defined as frames using the framePr element (Part 1, §

Typically, when a paragraph's borders appear next to a frame, those borders are suppressed to avoid having two borders in close proximity. This element, when present with a val attribute value of true (or equivalent), specifies that those borders shall not be suppressed.

[Example: Consider a WordprocessingML document with a paragraph with a paragraph border that is bounded on its bottom let side by a text frame.

The default presentation would suppress the borders which intersect the frame (in this case, the right border of lines three through eight):

However, if this compatibility setting is turned on:

  <w:doNotSuppressParagraphBorders />

Then no border suppression must take place, resulting in the following output:

end example]

Parent Elements

compat (Part 1, §

This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.