|
@@ -1162,15 +1162,15 @@ class LineTable:
|
|
|
_table[l_i+i].insert(c_i,n_cell)
|
|
|
|
|
|
|
|
|
- print("=======")
|
|
|
- for _line in _table:
|
|
|
- for _cell in _line:
|
|
|
- _text = _cell["text"][:2]+"_"+str(_cell["columnspan"])+"_"+str(_cell["rowspan"])
|
|
|
- if _text=="":
|
|
|
- _text = "=="
|
|
|
- print(_text,end="\t")
|
|
|
- print("\n")
|
|
|
- print("===========")
|
|
|
+ # print("=======")
|
|
|
+ # for _line in _table:
|
|
|
+ # for _cell in _line:
|
|
|
+ # _text = _cell["text"][:2]+"_"+str(_cell["columnspan"])+"_"+str(_cell["rowspan"])
|
|
|
+ # if _text=="":
|
|
|
+ # _text = "=="
|
|
|
+ # print(_text,end="\t")
|
|
|
+ # print("\n")
|
|
|
+ # print("===========")
|
|
|
|
|
|
if fixRect:
|
|
|
for _line in _table:
|
|
@@ -1239,15 +1239,15 @@ class LineTable:
|
|
|
|
|
|
|
|
|
|
|
|
- print("=======")
|
|
|
- for _line in _table:
|
|
|
- for _cell in _line:
|
|
|
- _text = _cell["text"][:2]
|
|
|
- if _text=="":
|
|
|
- _text = "=="
|
|
|
- print(_text,end="\t")
|
|
|
- print("\n")
|
|
|
- print("===========")
|
|
|
+ # print("=======")
|
|
|
+ # for _line in _table:
|
|
|
+ # for _cell in _line:
|
|
|
+ # _text = _cell["text"][:2]
|
|
|
+ # if _text=="":
|
|
|
+ # _text = "=="
|
|
|
+ # print(_text,end="\t")
|
|
|
+ # print("\n")
|
|
|
+ # print("===========")
|
|
|
|
|
|
table_bbox = (_table[0][0].get("bbox")[0],
|
|
|
_table[0][0].get("bbox")[1],
|