共用方式為


StartBorder Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.4.34 start (Table Cell Leading Edge Border)

This element specifies the border which shall be displayed on the leading edge of the current table cell (left for LTR tables, right 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 leading 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 leading edge cell border:

R1C1

R1C2

R2C1

R2C2

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

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

The start element specifies a point border of type double on the leading 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.37 start (Table Leading Edge Border)

This element specifies the border which shall be displayed at the leading edge of the current table (left for LTR tables, right 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 leading edge of this table shall have the border specified by the associated table style. If no leading edge border is specified in the style hierarchy, then this table shall not have a left border.

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

R1C1

R1C2

R2C1

R2C2

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

<w:tbl>
<w:tblPr>
<w:tblBorders>
<w:start 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 start element specifies a three point leading 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

StartBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace