You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use
/* for row in mytable.rows:
tr = row._tr
for tc in tr.tc_lst:
*/
to read a table in a DOCX file, one cell does not identify the tc.bottom attribute.
The traceback from PyCharm indicates:
'Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2024.1\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_resolver.py", line 178, in _getPyDictionary attr = getattr(var, n) File "C:\Users\LvKang\.conda\envs\text\lib\site' The XML code for this particular cell is as follows: <w:tc> <w:tcPr> <w:tcW w:w="609" w:type="dxa"/> <w:vMerge w:val="restart"/> <w:vAlign w:val="center"/> </w:tcPr> <w:p w14:paraId="6C51FEFB" w14:textId="1095FA2A" w:rsidR="00A22069" w:rsidRPr="00790D0A" w:rsidRDefault="00A22069" w:rsidP="00A22069"> <w:pPr> <w:spacing w:line="240" w:lineRule="atLeast"/> <w:rPr> <w:rFonts w:ascii="宋体" w:eastAsia="宋体" w:hAnsi="宋体" w:hint="eastAsia"/> <w:size value=24/> <w:sizeCs value=24/>
This merging cells 2rows and 1column.
this cell content is "123",it is on the second to last line
The text was updated successfully, but these errors were encountered:
When I use
/* for row in mytable.rows:
tr = row._tr
for tc in tr.tc_lst:
*/
to read a table in a DOCX file, one cell does not identify the
tc.bottom
attribute.The traceback from PyCharm indicates:
'Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2024.1\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_resolver.py", line 178, in _getPyDictionary attr = getattr(var, n) File "C:\Users\LvKang\.conda\envs\text\lib\site' The XML code for this particular cell is as follows: <w:tc> <w:tcPr> <w:tcW w:w="609" w:type="dxa"/> <w:vMerge w:val="restart"/> <w:vAlign w:val="center"/> </w:tcPr> <w:p w14:paraId="6C51FEFB" w14:textId="1095FA2A" w:rsidR="00A22069" w:rsidRPr="00790D0A" w:rsidRDefault="00A22069" w:rsidP="00A22069"> <w:pPr> <w:spacing w:line="240" w:lineRule="atLeast"/> <w:rPr> <w:rFonts w:ascii="宋体" w:eastAsia="宋体" w:hAnsi="宋体" w:hint="eastAsia"/> <w:size value=24/> <w:sizeCs value=24/>
This merging cells 2rows and 1column.
this cell content is "123",it is on the second to last line
The text was updated successfully, but these errors were encountered: