pdf2docx.layout.Sections module#

Collection of Section instances.

class pdf2docx.layout.Sections.Sections(instances: Optional[list] = None, parent=None)#

Bases: BaseCollection

make_docx(doc)#

Create sections in docx.

parse(**settings)#

Parse layout under section level.

plot(page)#

Plot all section blocks for debug purpose.

restore(raws: list)#

Restore sections from source dicts.