共用方式為


DocumentTableCell 類別

物件,表示表格儲存格的位置和內容。

繼承
builtins.object
DocumentTableCell

建構函式

DocumentTableCell(**kwargs: Any)

方法

from_dict

將 DocumentTableCell 圖形中的聽寫轉換為模型本身。

to_dict

會傳回 DocumentTableCell 的聽寫表示。

from_dict

將 DocumentTableCell 圖形中的聽寫轉換為模型本身。

from_dict(data: Dict) -> DocumentTableCell

參數

名稱 Description
data
必要

DocumentTableCell 圖形中的字典。

傳回

類型 Description

DocumentTableCell

to_dict

會傳回 DocumentTableCell 的聽寫表示。

to_dict() -> Dict

傳回

類型 Description

dict

屬性

bounding_regions

涵蓋表格儲存格的周框區域。

bounding_regions: List[BoundingRegion] | None

column_index

儲存格的資料行索引。

column_index: int

column_span

此儲存格跨越的資料行數目。

column_span: int | None

content

依讀取順序串連資料表單元格的內容。

content: str

kind

「content」、「rowHeader」、「columnHeader」、「stubHead」、「description」。 預設值:「content」。

kind: str | None

row_index

儲存格的資料列索引。

row_index: int

row_span

此儲存格跨越的資料列數目。

row_span: int | None

spans

在讀取順序串連內容中的表格儲存格位置。

spans: List[DocumentSpan]