Pdf 生成 xhtml2pdf pisa

Pdf generation xhtml2pdf pisa

提问人:siva 提问时间:6/21/2023 最后编辑:toyota Suprasiva 更新时间:6/21/2023 访问量:39

问:

中的 Pdf 异常。xhtmlpdf

我正在尝试使用 生成发票 pdf,当我尝试将 html 表转换为 pdf 时,它会引发错误。xhtml,pisa

spanning problem in <PmlTable@0x7FB134B5BDC0 2 rows x 13 cols(tallest row 23)> with cell(0,0) containing
'<PmlKeepInFrame at 0x7fb134bba040> size= maxWidth=39.57692x maxHeight=268435448' hmax=2 lim=2 avail=612.0 x 268435455
H0=[None, None] H=[23.437499000000003, 23.437499000000003]
spanCons={(0, 1): 31.874999, (0, 7): 23.437499000000003} list index out of range

我该如何解决这个问题

蟒蛇 XHTML

评论


答: 暂无答案