DocumentID: ECMA-376/Part4/2.4.75 Title: ECMA-376, Part4: 2.4.75 tr (Table Row) Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
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: Consider a table consisting of a single table cell, which contains the text Hello World:
|
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. end example]
|
Parent Elements |
|
Child Elements |
Subclause |
|---|---|
|
bookmarkEnd (Bookmark End) |
|
|
bookmarkStart (Bookmark Start) |
|
|
commentRangeEnd (Comment Anchor Range End) |
|
|
commentRangeStart (Comment Anchor Range Start) |
|
|
customXml (Cell-Level Custom XML Element) |
|
|
customXmlDelRangeEnd (Custom XML Markup Deletion End) |
|
|
customXmlDelRangeStart (Custom XML Markup Deletion Start) |
|
|
customXmlInsRangeEnd (Custom XML Markup Insertion End) |
|
|
customXmlInsRangeStart (Custom XML Markup Insertion Start) |
|
|
customXmlMoveFromRangeEnd (Custom XML Markup Move Source End) |
|
|
customXmlMoveFromRangeStart (Custom XML Markup Move Source Start) |
|
|
customXmlMoveToRangeEnd (Custom XML Markup Move Destination Location End) |
|
|
customXmlMoveToRangeStart (Custom XML Markup Move Destination Location Start) |
|
|
del (Deleted Run Content) |
|
|
ins (Inserted Run Content) |
|
|
moveFrom (Move Source Run Content) |
|
|
moveFromRangeEnd (Move Source Location Container - End) |
|
|
moveFromRangeStart (Move Source Location Container - Start) |
|
|
moveTo (Move Destination Run Content) |
|
|
moveToRangeEnd (Move Destination Location Container - End) |
|
|
moveToRangeStart (Move Destination Location Container - Start) |
|
|
oMath (Office Math) |
|
|
oMathPara (Math Paragraph) |
|
|
permEnd (Range Permission End) |
|
|
permStart (Range Permission Start) |
|
|
proofErr (Proofing Error Anchor) |
|
|
sdt (Cell-Level Structured Document Tag) |
|
|
tblPrEx (Table-Level Property Exceptions) |
|
|
tc (Table Cell) |
|
|
trPr (Table Row Properties) |
|
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 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 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 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 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>