Cell Border Properties

The complex type CT_TableCellBorderStyle defines the properties of the borders that can be styled in a table. The border styles can be applied to the following different types of borders in a table:

  • left – left border

  • right – right border

  • top – top border

  • bottom – bottom border

  • insideH – inner horizontal borders

  • insideV – inner vertical borders

  • tl2br – diagonal border from top left corner to bottom right corner

  • tr2bl – diagonal border from top right corner to bottom left corner

The complex type is defined in the following manner:

<xsd:complexType name="CT_TableCellBorderStyle">
  <xsd:sequence>
    <xsd:element name="left" type="CT_ThemeableLineStyle" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="right" type="CT_ThemeableLineStyle" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="top" type="CT_ThemeableLineStyle" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="bottom" type="CT_ThemeableLineStyle"
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="insideH" type="CT_ThemeableLineStyle"
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="insideV" type="CT_ThemeableLineStyle"
      minOccurs="0" maxOccurs="1" />
    <xsd:element name="tl2br" type="CT_ThemeableLineStyle" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="tr2bl" type="CT_ThemeableLineStyle" minOccurs="0"
      maxOccurs="1" />
    <xsd:element name="ext" type="CT_OfficeArtExtension" minOccurs="0"
      maxOccurs="1" />
  </xsd:sequence>
</xsd:complexType>