<tbl> (Table)
This element specifies the contents of a table present in the document. A table is a set of paragraphs (and other block-level content) arranged in rows and columns. Tables in WordprocessingML are defined via the <tbl >element, which is analogous to the HTML table tag.
This table is represented by the following WordprocessingML:
<w:tbl>
<w:tblPr>
<w:tblW w:w="5000" w:type="pct"/>
<w:tblBorders>
<w:top w:val="single" w:sz="4" w:space="0" w:color="auto"/>
<w:left w:val="single" w:sz="4 w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="4" w:space="0" w:color="auto"/>
</w:tblBorders>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="10296"/>
</w:tblGrid>
<w:tr>
<w:tc>
<w:tcPr>
<w:tcW w:w="0" w:type="auto"/>
</w:tcPr>
<w:p/>
</w:tc>
</w:tr>
</w:tbl>
This table specifies table-wide properties of 100% of page width using the <tblW> element (§2.4.61); a the set of table borders using the <tblBorders> element (§2.4.38); the table grid which defines a set of shared vertical edges within the table using the <tblGrid> element (§2.4.44); and a single table row using the <tr> element (§2.4.75). ]
Parent Elements |
|---|
|
Child Elements |
Subclause |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Tbl">
<sequence>
<group ref="EG_RangeMarkupElements" minOccurs="0" maxOccurs="unbounded"/>
<element name="tblPr" type="CT_TblPr"/>
<element name="tblGrid" type="CT_TblGrid"/>
<group ref="EG_ContentRowContent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>