Spire.Doc for Java 4.5.1已发布。该版本支持验证文档的保护密码,增强了Word到PDF/HTML/SVG的转换功能,同时还修复了加载和合并文档等时出现的问题。详情请阅读以下内容。
新功能:
- 支持验证文档的保护密码
Document document = new Document();
document.loadFromFile(input);
boolean checkResult = document.checkProtectionPassWord(password);
String input="input.docx";
Document doc = new Document();
doc.loadFromFile(input);
String result = "AddDigitalSignature.docx";
doc.saveToFile(result, FileFormat.Docx, "gary.pfx", "e-iceblue");
问题修复:
- 修复了更新目录抛异常”ArrayIndexOutOfBoundsException“的问题
- 修复了更新目录抛异常”ArithmeticException“的问题
- 修复了更新目录抛异常”GC overhead limit exceeded“的问题
- 修复了加载文档抛异常“ Width (0) and height (0) cannot be <= 0”的问题
- 修复了转换Word到PDF,下划线不正确的问题
- 修复了添加的批注位置不正确的问题
- 修复了转换Word到PDF抛异常“Cannot allocate so many bytes. Use LoadPartialPixels instead”的问题
- 修复了转换Word到PDF,内容不正确的问题
- 修复了转换Word到SVG,下划线丢失的问题
- 修复了合并文档后保存抛异常“An element with the same key already exists in the dictionary”的问题
- 修复了转换Word到PDF,下划线丢失的问题
- 修复了转换Word到PDF,多出空格的问题
- 修复了转换Word到PDF,标点符号不正确的问题
- 修复了加载HTML程序挂起的问题
- 修复了转换HTML到Word,生成空白页的问题
- 修复了转换Word到PDF消耗大量内存,导致程序崩溃的问题
- 修复了转换Word到PDF,目录链接丢失的问题
- 修复了转换Word到PDF,内容重叠的问题
- 修复了转换Word到HTML,内存不正确的问题
- 修复了转换Word到SVG,文本位置发生偏移的问题
- 修复了转换Word到SVG,分页不正确的问题
- 修复了转换Word到PDF抛异常“NullPointerException”的问题
- 修复了转换Word到PDF,图片内容显示不全的问题
- 修复了转换Word到PDF抛异常“Value can not be less 0”的问题
- 修复了转换Word到PDF内容丢失的问题
- 修复了替换书签后内容不正确的问题
- 修复了替换书签后保存文档,SaveDate域没有正确更新的问题
- 修复了加载保存文档后内容改变的问题
- 修复了接受修订后限制编辑区域丢失的问题
获取Spire.Doc for Java 4.5.1请点击: