Compartir a través de


EndBorder Class

Defines the EndBorder Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w:end.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.BorderType
        DocumentFormat.OpenXml.Wordprocessing.EndBorder

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class EndBorder _
    Inherits BorderType
'Usage
Dim instance As EndBorder
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class EndBorder : BorderType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.4.12 end (Table Cell Trailing Edge Border)

This element specifies the border which shall be displayed on the trailing edge of the current table cell (right for LTR tables, left for RTL tables). The appearance of this table cell border in the document shall be determined by the following settings:

  • If the net tblCellSpacing element value (§17.4.45;§17.4.44;§17.4.46) applied to the cell is non-zero, then the cell border shall always be displayed

  • Otherwise, the display of the border is subject to the conflict resolution algorithm defined by the tcBorders element (§17.4.67) and the tblBorders element (§17.4.40;§17.4.39)

If this element is omitted, then the trailing edge of this table cell shall not have a cell border, and its border can use the table's border settings as appropriate.

[Example: Consider an LTR table in which the second cell in the first row specifies a trailing dge cell border as follows:

R1C1

R1C2

R2C1

R2C2

This trailing edge cell border is specified using the following WordprocessingML:

<w:tc>
<w:tcPr>
…
<w:tcBorders>
<w:end w:val="double" w:sz="4" w:space="0" w:color="FF0000" />
</w:tcBorders>
</w:tcPr>
<w:p/>
</w:tc>

The end element specifies a point border of type double on the trailing edge of the table cell. end example]

Parent Elements

tcBorders (§17.4.67)

This element’s content model is defined by the common border properties definition in §17.3.4.

[ISO/IEC 29500-1 1st Edition]

17.4.13 end (Table Trailing Edge Border)

This element specifies the border which shall be displayed at the trailing edge of the current table (right for LTR tables, left for RTL tables). The appearance of this table border in the document shall be determined by the following settings:

  • The display of the border is subject to the conflict resolution algorithm defined by the tcBorders element (§17.4.67) and the tblBorders element (§17.4.40;§17.4.39)

If this element is omitted, then the trailing edge of this table shall have the border specified by the associated table style. If no trailing edge border is specified in the style hierarchy, then this table shall not have a trailing edge border.

[Example: Consider an LTR table in which the table properties specify a trailing edge table border, as follows:

R1C1

R1C2

R2C1

R2C2

This trailing edge table border is specified using the following WordprocessingML:

<w:tbl>
<w:tblPr>
<w:tblBorders>
<w:end w:val="thinThickThinMediumGap" w:sz="24" w:space="0" w:color="D0D0D0" w:themeColor="accent3" w:themeTint="99"/>
</w:tblBorders>
</w:tblPr>
…
</w:tbl>

The end element specifies a three point trailing edge table border of type thinThinThickMediumGap. end example]

Parent Elements

tblBorders (§17.4.39); tblBorders (§17.4.40)

This element’s content model is defined by the common border properties definition in §17.3.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

EndBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace