DocumentTableCell Class
An object representing the location and content of a table cell.
- Inheritance
-
builtins.objectDocumentTableCell
Constructor
DocumentTableCell(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentTableCell to the model itself. |
to_dict |
Returns a dict representation of DocumentTableCell. |
from_dict
Converts a dict in the shape of a DocumentTableCell to the model itself.
from_dict(data: Dict) -> DocumentTableCell
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentTableCell. |
Returns
Type | Description |
---|---|
DocumentTableCell |
to_dict
Returns a dict representation of DocumentTableCell.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
bounding_regions
Bounding regions covering the table cell.
bounding_regions: List[BoundingRegion] | None
column_index
Column index of the cell.
column_index: int
column_span
Number of columns spanned by this cell.
column_span: int | None
content
Concatenated content of the table cell in reading order.
content: str
kind
"content", "rowHeader", "columnHeader", "stubHead", "description". Default value: "content".
kind: str | None
row_index
Row index of the cell.
row_index: int
row_span
Number of rows spanned by this cell.
row_span: int | None
spans
Location of the table cell in the reading order concatenated content.
spans: List[DocumentSpan]
Azure SDK for Python