Skip to content

Commit

Permalink
Esl 137 added boxes into table (#333)
Browse files Browse the repository at this point in the history
* ESL-137 added box extraction skeleton into scan table extraction

* ESL-138 ESL-137 a lot of table changes

- added CellWithMeta
- change output table structure, remove CellProperies in output
- change logic bbox extraction from image tables after debugging
- change output in CSV, HTML, TABBY, PDF, SCAN readers
- change all tests with tables
- fixed styles

* ESL-137 chnaged draw table script

* ESL-148 added script of table word boxes drawing

* TLDR-471 added angle rotation from PdfImageReader and Tables

* ESL-137 fixed unit-tests

* ESL-137 fixed after review; removing some unused functions

- fixed after review
- removing some unused functions

* ESL-137 update docs

* ESL-137 after review
  • Loading branch information
oksidgy authored and sunveil committed Oct 11, 2023
1 parent d71f91b commit 4c7e5eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions dedoc/readers/docx_reader/data_structures/cell_property.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


class CellProperty:
"""
This class holds information about the table cell.
"""
def __init__(self, colspan: int, rowspan: int, invisible: bool) -> None:
"""
:param cell: class which should contain the following attributes: colspan, rowspan, invisible.
"""
self.colspan = colspan
self.rowspan = rowspan
self.invisible = invisible
2 changes: 1 addition & 1 deletion dedoc/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = ""
__version__ = "0.11.2"

0 comments on commit 4c7e5eb

Please sign in to comment.