<tr> (Table Row)

This element specifies a single table row, which contains the table’s cells. Table rows in WordprocessingML are analogous to HTML tr elements.

A <tr> element has one formatting child element, <trPr (>§2.4.78<)>, which defines the properties for the row. Each unique property on the table row is specified by a child element of this element. As well, a table row can contain any valid row-level content, which allows for the use of table cells.

If a table cell does not include at least one child element other than the row properties, then this document shall be considered corrupt.

example:

Hello World

This table row's content is represented by the following WordprocessingML:

<w:tr>
  <w:tc>
    <w:tcPr>
      <w:tcW w:w="0" w:type="auto"/>
    </w:tcPr>
    <w:p>
      <w:r>
        <w:t>Hello, World</w:t>
      </w:r>
    </w:p>
  </w:tc>
</w:tr>

The <tr> element contains a single row-level element - in this case, a table cell. ]

Parent Elements

<customXml>2.5.1.4); <sdtContent>2.5.2.34); <tbl>2.4.36)

Child Elements

Subclause

<bookmarkEnd> (Bookmark End)

§2.13.6.1

<bookmarkStart> (Bookmark Start)

§2.13.6.2

<commentRangeEnd> (Comment Anchor Range End)

§2.13.4.3

<commentRangeStart> (Comment Anchor Range Start)

§2.13.4.4

<customXml> (Cell-Level Custom XML Element)

§2.5.1.3

<customXmlDelRangeEnd> (Custom XML Markup Deletion End)

§2.13.5.4

<customXmlDelRangeStart> (Custom XML Markup Deletion Start)

§2.13.5.5

<customXmlInsRangeEnd> (Custom XML Markup Insertion End)

§2.13.5.6

<customXmlInsRangeStart> (Custom XML Markup Insertion Start)

§2.13.5.7

<customXmlMoveFromRangeEnd> (Custom XML Markup Move Source End)

§2.13.5.8

<customXmlMoveFromRangeStart> (Custom XML Markup Move Source Start)

§2.13.5.9

<customXmlMoveToRangeEnd> (Custom XML Markup Move Destination Location End)

§2.13.5.10

<customXmlMoveToRangeStart> (Custom XML Markup Move Destination Location Start)

§2.13.5.11

<del> (Deleted Run Content)

§2.13.5.12

<ins> (Inserted Run Content)

§2.13.5.20

<moveFrom> (Move Source Run Content)

§2.13.5.21

<moveFromRangeEnd> (Move Source Location Container - End)

§2.13.5.23

<moveFromRangeStart> (Move Source Location Container - Start)

§2.13.5.24

<moveTo> (Move Destination Run Content)

§2.13.5.26

<moveToRangeEnd> (Move Destination Location Container - End)

§2.13.5.27

<moveToRangeStart> (Move Destination Location Container - Start)

§2.13.5.28

<oMath> (Office Math)

§7.1.2.77

<oMathPara> (Math Paragraph)

§7.1.2.78

<permEnd> (Range Permission End)

§2.13.7.1

<permStart> (Range Permission Start)

§2.13.7.2

<proofErr> (Proofing Error Anchor)

§2.13.8.1

<sdt> (Cell-Level Structured Document Tag)

§2.5.2.28

<tblPrEx> (Table-Level Property Exceptions)

§2.4.57

<tc> (Table Cell)

§2.4.62

<trPr> (Table Row Properties)

§2.4.78

Attributes

Description

<rsidDel> (Revision Identifier for Table Row Deletion)

Specifies a unique identifier used to track the editing session when the row was deleted from the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

<rsidR> (Revision Identifier for Table Row)

Specifies a unique identifier used to track the editing session when the table row was added to the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

<rsidRPr> (Revision Identifier for Table Row Glyph Formatting)

Specifies a unique identifier used to track the editing session when the glyph character representing the table row mark was last modified in the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

<rsidTr> (Revision Identifier for Table Row Properties)

Specifies a unique identifier used to track the editing session when the table row's properties were last modified in this document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Row">
	<sequence>
	<element name="tblPrEx" type="CT_TblPrEx" minOccurs="0" maxOccurs="1"/>
	<element name="trPr" type="CT_TrPr" minOccurs="0" maxOccurs="1"/>
	<group ref="EG_ContentCellContent" minOccurs="0" maxOccurs="unbounded"/>
	</sequence>
	<attribute name="rsidRPr" type="ST_LongHexNumber"/>
	<attribute name="rsidR" type="ST_LongHexNumber"/>
	<attribute name="rsidDel" type="ST_LongHexNumber"/>
	<attribute name="rsidTr" type="ST_LongHexNumber"/>
</complexType>