pdf2docx.table.Cell module

Table Cell object.

class pdf2docx.table.Cell.Cell(raw: dict = None)

Bases: Layout

Cell object.

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.