Spire.Doc for Java 12.1.0已发布。本次更新移除了对Spire.Pdf.jar的依赖,且将应用授权的方法更改为com.spire.doc.license.LicenseProvider.setLicenseKey(key)。此外,还新增了一系列新功能,如新增添加图片水印的方法。详情请阅读以下内容。 调整: 移除了对Spire.Pdf.jar的依赖。 将应用授权方法更改为com.spire.doc.license.LicenseProvider.setLicenseKey(key)。 新功能: 回收以下方法、类和接口。 Document构造中设置newEngine不再起作用,内部默认采用新引擎 HeaderType枚举 GroupedShapeCollection类 ShapeObjectTextCollection类 MailMergeData接口 EnumInterface接口 public PictureWaterMark(InputStream inputeStream,boolean washout) public PictureWaterMark(String filename,boolean washout) Field类中downloadImage方法 IDocOleObject接口 PointsConverter类 声明废弃了TableCell类中的getWidth() 和 setWidth() 方法,并使用getCellWidth()和setCellWidth()方法替代。 变更以下命名空间。 com.spire.license.LicenseProvider -> com.spire.doc.License.LicenseProvider 变更继承关系:将ShapeGroup implements…