pdf2docx.table.Row module#

Row in a table.

class pdf2docx.table.Row.Row(raw: Optional[dict] = None)#

Bases: Element

Row in a table.

append(cell)#

Append cell to row and update bbox accordingly.

bbox: fitz.Rect#
make_docx(table, idx_row: int)#

Create row of docx table.

Args:

table (Table): python-docx table instance. idx_row (int): Current row index.

store()#

Store properties in raw dict.