|
@@ -232,7 +232,7 @@ class TableAnalyzer:
|
|
|
'horizontal_lines': horizontal_lines,
|
|
'horizontal_lines': horizontal_lines,
|
|
|
'vertical_lines': vertical_lines,
|
|
'vertical_lines': vertical_lines,
|
|
|
'row_height': self.row_height,
|
|
'row_height': self.row_height,
|
|
|
- 'col_widths': self.col_widths,
|
|
|
|
|
|
|
+ 'col_widths': [int(round(c)) for c in self.col_widths],
|
|
|
'table_bbox': self._get_table_bbox(),
|
|
'table_bbox': self._get_table_bbox(),
|
|
|
'total_rows': actual_rows,
|
|
'total_rows': actual_rows,
|
|
|
'total_cols': actual_cols,
|
|
'total_cols': actual_cols,
|
|
@@ -302,7 +302,7 @@ class TableAnalyzer:
|
|
|
'horizontal_lines': horizontal_lines,
|
|
'horizontal_lines': horizontal_lines,
|
|
|
'vertical_lines': vertical_lines,
|
|
'vertical_lines': vertical_lines,
|
|
|
'row_height': self.row_height,
|
|
'row_height': self.row_height,
|
|
|
- 'col_widths': self.col_widths,
|
|
|
|
|
|
|
+ 'col_widths': [int(round(c)) for c in self.col_widths],
|
|
|
'table_bbox': self._get_table_bbox(),
|
|
'table_bbox': self._get_table_bbox(),
|
|
|
'mode': 'fixed',
|
|
'mode': 'fixed',
|
|
|
'modified_h_lines': [],
|
|
'modified_h_lines': [],
|