Compartir a través de


DoNotSuppressParagraphBorders Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.13 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, §17.3.1.24) when those borders would be displayed next to the contents of paragraphs which have been defined as frames using the framePr element (Part 1, §17.3.1.11).

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):

DocumentFormat.OpenXml.Wordprocessing.DoNotSuppres

However, if this compatibility setting is turned on:

<w:compat>
<w:doNotSuppressParagraphBorders />
</w:compat>

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

DocumentFormat.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

DoNotSuppressParagraphBorders Members

DocumentFormat.OpenXml.Wordprocessing Namespace