pdf2docx.table.Cell module#
Table Cell object.
- class pdf2docx.table.Cell.Cell(raw: Optional[dict] = None)#
Bases:
Layout
Cell object.
- bbox: fitz.Rect#
- make_docx(table, indexes)#
Set cell style and assign contents.
- Args:
table (Table):
python-docx
table instance. indexes (tuple): Row and column indexes,(i, j)
.
- plot(page)#
Plot cell and its sub-layout.
- store()#
Store parsed layout in dict format.
- property text#
Text contained in this cell.
- property working_bbox#
Inner bbox with border excluded.