Apache PDFBox 1.8.10 发布,Java 的 PDF 处理类
欢迎加入运维网交流群:263444886Apache PDFBox 1.8.10 发布,此版本现已提供下载:
http://pdfbox.apache.org/download.cgi
此版本是上一版本的 bug 修复版本,主要是 bug 修复和小改进:
Bug 修复
- NPE saving modified encrypted document
- NPE when parsing XMP schema definition with "closed Choice"
value type
- Page render without barcode
- PDFSplit slow and keeps unused pages
- Nullpointer exception in PDFXrefStreamParser.parse
- Can't create PDF with DeviceN colorspace
- PDF not converted to Image
- IndexOutOfBoundsException when calling
PDSeparation.setAlternateColorSpace
- PDFSplit ignores global resources
- Can't create PDF with PDIndexed colorspace
- PDPageXYZDestination zoom property can't be set lower than 100%
-> - NPE when saving encrypted file
- EI token lost for rewrite
-> - PDF to Image conversion fails with "Invalid code word
encountered"
- Opening pdf document after encrypting it with PDFBox throws
IllegalBlockSizeException
- PDPageDestination page index off by one
- Seemingly good document gets semi-corrupted
- Text extraction ignores bookmarks
- /Dests dictionary isn't supported
- PDJavascriptNameTreeNode does not support dictionaries
- PDOptionalContentProperties.setGroupEnabled not working
- SecurityHandler does not tolerate plain-text COSString
- Infinite loop within RandomAccessBuffer
- NPE in PDColorSpaceFactory.createColorSpace with PDICCBased
- invalid ICC Profile when reading from a byte array
- StringIndexOutOfBoundsException when doing
DateConverter.parseDate()
- PDFBox creates files with EBCDIC code on z/OS
- mergeDocumentsNonSeq does not utilize scratchFile
- CCITT: Background is rendered as transparent color
- Correct use of Float.NaN
改进
- Add validation check for setNonStrokingColor and
setStrokingColor
详细改进内容请看发行说明。
PDFBox是Java实现的PDF文档协作类库,提供PDF文档的创建、处理以及文档内容提取功能,也包含了一些命令行实用工具。
主要特性包括:
[*] 从PDF提取文本
[*] 合并PDF文档
[*] PDF 文档加密与解密
[*] 与Lucene搜索引擎的集成
[*] 填充PDF/XFDF表单数据
[*] 从文本文件创建PDF文档
[*] 从PDF页面创 建图片
[*] 打印PDF文档
页:
[1]