Table of Contents

Class OdfTableCell

Namespace
OdfKit.Text
Assembly
OdfKit.dll

Represents a cell within a table. 表示表格中的儲存格。

public class OdfTableCell
Inheritance
OdfTableCell
Inherited Members

Constructors

OdfTableCell(OdfNode, TextDocument)

Represents a cell within a table. 表示表格中的儲存格。

public OdfTableCell(OdfNode node, TextDocument doc)

Parameters

node OdfNode

The OdfKit.DOM.OdfNode associated with this cell. / 與此儲存格相關聯的 OdfNode 節點。

doc TextDocument

The owning text document. / 所屬的文字文件。

Properties

TextContent

Gets or sets the cell's text content. 取得或設定儲存格的文字內容。

public string TextContent { get; set; }

Property Value

string

Methods

AddParagraph(string)

Adds a paragraph to the cell. 在儲存格中新增段落。

public OdfParagraph AddParagraph(string text)

Parameters

text string

The paragraph text content. / 段落文字內文。

Returns

OdfParagraph

The newly created paragraph instance. / 新建立的段落物件執行個體。