Represents a table cell in a WordprocessingML document.
A table cell is the basic unit of content within a table. Each cell can contain paragraphs, nested tables, or other block-level content. Cells must always end with a paragraph element.
Reference: http://officeopenxml.com/WPtableCell.php
<xsd:complexType name="CT_Tc"> <xsd:sequence> <xsd:element name="tcPr" type="CT_TcPr" minOccurs="0" maxOccurs="1"/> <xsd:group ref="EG_BlockLevelElts" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="id" type="s:ST_String" use="optional"/></xsd:complexType> Copy
<xsd:complexType name="CT_Tc"> <xsd:sequence> <xsd:element name="tcPr" type="CT_TcPr" minOccurs="0" maxOccurs="1"/> <xsd:group ref="EG_BlockLevelElts" minOccurs="1" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="id" type="s:ST_String" use="optional"/></xsd:complexType>
new TableCell({ children: [new Paragraph("Cell content")], width: { size: 3000, type: WidthType.DXA },}); Copy
new TableCell({ children: [new Paragraph("Cell content")], width: { size: 3000, type: WidthType.DXA },});
Readonly
Do not use this method. It is only used internally by the library. It will be removed in a future version.
Represents a table cell in a WordprocessingML document.
A table cell is the basic unit of content within a table. Each cell can contain paragraphs, nested tables, or other block-level content. Cells must always end with a paragraph element.
Reference: http://officeopenxml.com/WPtableCell.php
XSD Schema
Example