你能用Javascript做下面的伪代码吗?(在浏览器中)对以下代码的解释:类似于字处理程序的行为,它将使用溢出分页符并拆分单元格的长表,以便没有图形分隔符,如果表有标题行(或多个标题行),则在下一页重复标题行。
if printing page to pdf if table is overflowing a page break if table has header row split table so that rows print without breaking and repeat header row on next pag