File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ def get_ebd_docx_tables(docx_file_path: Path, ebd_key: str) -> List[Table]:
7373 tables .append (table )
7474 # Now we have to check if the EBD table spans multiple pages and _maybe_ we have to collect more tables.
7575 # The funny thing is: Sometimes the authors create multiple tables split over multiple lines which belong
76- # together, sometimes they create 1 proper table that spans multiple pages. This we won't notice here.
76+ # together, sometimes they create 1 proper table that spans multiple pages.
77+ # The latter case (1 docx table spanning >1 pages) is transparent to the extraction logic; i.e. python-docx
78+ # treats a single table that spans multiple pages just the same as a table on only 1 page.
7779 for next_item in tables_and_paragraphs : # start iterating from where the outer loop paused
7880 if isinstance (next_item , Table ):
7981 # this is the case that the authors created multiple single tables on single adjacent pages
You can’t perform that action at this time.
0 commit comments