设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Apache POI 4.0.0正式发布,不再支持Java 6与7

2018-9-7 09:16| 发布者: joejoe0332| 查看: 336| 评论: 0|原作者: oschina|来自: oschina

摘要: Apache POI 4.0.0 发布了,此版本特点是一些新功能和众多 bug 修复,包括:删除了对 Java 6 和 7 的支持,使 Java 8 成为支持的最低版本需要新的 OOXML schema(1.4),因为不兼容的 XMLBeans 加载不再通过 POIXMLTy ...

Apache POI 4.0.0 发布了,此版本特点是一些新功能和众多 bug 修复,包括:

  • 删除了对 Java 6 和 7 的支持,使 Java 8 成为支持的最低版本

  • 需要新的 OOXML schema(1.4),因为不兼容的 XMLBeans 加载不再通过 POIXMLTypeLoader

其它内容:

TypeBugModuleDescription
remove62649POIFSRemove OPOIFS* (breaks backwards compatibility)
fix61589XSLFImporting content does not copy hyperlink address
fix62587XSLFrepeated call to XSLFSheet.removeShape leads to java.lang.IllegalArgumentException: partName
fix62513OOXMLDon't try to parse embedded package relationships
add59268OOXMLWork on providing an updated version of XMLBeans
fix62451HPSFDocument last printed in the year 27321
fix60713SXSSF XSSF OPC(S)XSSFWorkbook/POIXMLDocument.write(OutputStream) closes the OutputStream (breaks backwards compatibility)
add62452OPCExtract configuration while verifying XML signatures
fix62187OPCCompiling with Java 10 fails with ClassCastException / use commons-compress (breaks backwards compatibility)
fix62355POI_OverallUnsplit packages for Jigsaw / Java 9 compatibility (breaks backwards compatibility)
fix62041SL_CommonTestFonts fails on Mac
fix62051XSLFTwo shapes have the same shapeId within the same slide
fix61633XSLFZero width shapes aren't rendered
add62037SL_CommonSlideNames should not be null but have a default as if accessed by VBA
fix62381SL_CommonFix rendering of AutoShapes
fix59893POI_OverallForbid calls to InputStream.available
fix61905HSSFHSSFWorkbook.setActiveCell() does not actually make the cell selected in Excel
fix61459HSLFHSLFShape.getShapeName() returns name of shapeType and not the shape name
add62319SL_CommonDecommission XSLF-/PowerPointExtractor (breaks backwards compatibility)
add62092SL_CommonText not extracted from grouped text shapes in HSLF
add62159OPCSupport XML signature over windows certificate store
add57369XDDFAdd support for major and minor units on chart axes
add55954XWPFAdded methods to position table
add61947POI_OverallRemove deprecated classes (POI 4.0.0)
add55954XWPFAdd functions to get, set, remove outer borders for tables
addgithub-72XDDFDefine XDDF user model for shape properties to be shared between XSLF, XSSF and XWPF
add61543XSSFDo not fail with "part already exists" when tables are created/removed (breaks backwards compatibility)
add61550POI_OverallAdd more information to exception text and verify that it is thrown (breaks backwards compatibility)
add61609POI_OverallAdd .gitattribute file and set lf for one sample-file (breaks backwards compatibility)
add61797SL_CommonEmbed Excel / Ole objects into powerpoint (breaks backwards compatibility)
fix61943SL_Commonnarrow generics definition because of tighter java9 checks
add61942OPCRefactor PackagePartName handling and add getUnusedPartIndex method
fix61941POIFSMove Ole marker generation to Ole10Native
fix61940POI_OverallReplace ClassID statics with enum
add61939OPCProvide schema for AlternateContent - provide new ooxml-schemas-1.4.jar
fix61787HSSFChange how deleted content is detected to not incorrectly see too much text as deleted, this was introduced with bug 58067
fix61798HSSFFix usage of getLastCellNum() when calculating worksheet dimension during saving
fix61911HWPFAvoid IndexOutOfBounds access when reading pictures
fix61765HSSFSupport third party tool generated files using WorkBook as their POIFS directory name
fix61881HSLFRegression in ppt parsing: typeface can't be null or empty
addgithub-68XDDF XSLF XSSF XWPFShare chart data implementation between XSLFChart, XSSFChart and XWPFChart through XDDF
fix61809HPSFInfinite loop in SectionIDMap.get() and .put()
add60887XSSFSurface XSSF Header/Footer Attributes
add61730SS_CommonCellRangeAddresses support iterating over their CellAddresses
fix61727SS_CommonCellRangeUtil merge cell ranges broken for certain orders of arguments
fix57517HSSFFix various situations that were handled incorrectly in HSSFOptimiser
add61671XSLFXSLFSlide does not contain isHidden and setHidden like HSLFSlide does
update61630XSSFPerformance improvement to XSSFExportToXML
add58068XSSFAdd a method to pass the actual Color to StylesTable.findFont()
fix61096POIFSAdd support for modules in VBAMacroReader
fix61033XSSFAdd XSSFWorkbook.setCellFormulaValidation() to control if formulas are validated during Cell.setCellFormula()
fix61148SXSSFFix calculating/setting formula value
fix61064SS_CommonSupport behavior of function CEILING in newer versions of Microsoft Excel
fix61516SS_CommonCorrectly handle references that end up outside the workbook when cells with formulas are copied
add60737XSSFAdd endSheet() to XSSFEventBasedExcelExtractor
fix59747OPCExchange order of writing parts into Zip to allow some tools to handle files better
addgithub-69SS_CommonSupport matrix functions
fix60499OPCDeleting a picture that is used twice on a slide corrupt the slide
fix60279POI_OverallBack-off to brute-force search for macro content if macro offset is incorrect
add61528XSSFPivot table enhancements
fix61906XSSFadd API for working with RichStringText
fix61792SS_CommonAvoid iterating over chars (use codepoints instead)
fix62254SS_CommonUpdate OFFSET function to support optional values
update62435XSSFRename getAllEmbedds method to getAllEmbeddedParts (getAllEmbedds is retained but deprecated)
update62438POI_OverallReplace org.apache.poi.openxml4j.util.Nullable with java.lang.Optional (breaks backwards compatibility)
fixgithub-90XSSFChange default DSIG signing algorithm to SHA256
fixgithub-107SS_CommonSupport AREAS function
fixgithub-110XWPFRenames org.apache.poi.xwpf.usermodel.TextSegement to org.apache.poi.xwpf.usermodel.TextSegment (breaks backwards compatibility)
fixgithub-114XWPFBetter support for Footnotes and Endnotes

详情见发布公告

下载地址:http://poi.apache.org/download.html


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部