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请点击: