Spire.Doc for Java 3.8.1现已发布。该版本支持设置"Hyperlink base"文档属性,同时也支持获取水印的类型。另外,一些在.xml转.docx,HTML转PDF,Word转PDF及加载和保存Word文档时出现的问题得以成功解决。更多详情参加下文。
新功能:
- 支持了设置"Hyperlink base"文档属性。
doc.getBuiltinDocumentProperties().setHyperLinkBase(data);
WatermarkBase waterbase = doc.getDocument().getWatermark();
String waterType = waterbase.getType().name();
int value =waterbase.getType().getValue();
问题修复:
- 修复了加载文档抛出"java.lang.StringIndexOutOfBoundsException"问题。
- 修复了移除分节符保存文档抛出"ClassCaseException"问题。
- 修复了加载文档抛异常"Attempted to read past the end of the stream"的问题。
- 修复了转换html到pdf多出小方框的问题。
- 修复了加载文档抛出"NullPointerException"的问题。
- 修复了转换.xml到.docx抛异常"Property value is of unsupported type"的问题。
- 修复了转换Word到PDF页码和内容格式错误的问题。
- 修复了转换Word到PDF表格底纹不正确的问题。
获取Spire.Doc for Java 3.8.1,请点击: