Spire.Doc for Java 3.4.3 现已发布。该版本支持设置表格单元格的对角线边框。除此之外,一些在Word转PDF,加载和保存文档时出现的问题也得以成功解决。详情见下文。 新功能: 支持设置表格单元格的对角线边框。 table.get(0,0).getCellFormat().getBorders().getDiagonalUp().setBorderType(BorderStyle.Single); table.get(0,0).getCellFormat().getBorders().getDiagonalUp().setColor(Color.blue); table.get(0,0).getCellFormat().getBorders().getDiagonalUp().setLineWidth(0.5f); table.get(0,0).getCellFormat().getBorders().getDiagonalDown().setBorderType(BorderStyle.Single); table.get(0,0).getCellFormat().getBorders().getDiagonalDown().setColor(Color.blue); table.get(0,0).getCellFormat().getBorders().getDiagonalDown().setLineWidth(0.5f); 问题修复: 修复了加载文档抛"NullPointerException"的问题。 修复了清除分节符后保存文档抛“ClassCastException”的问题。 修复了加载文档抛异常"Cannot remove because there is no parent"的问题。 修复了加载文档抛异常"No have this value 1062"的问题。 修复了在转换XML到Word后,标签无法被识别为分页的问题。 修复了加载文档抛异常"Value was either too large or too…