Aspose.Words for Java是功能丰富的Word处理API,允许开发人员在不使用Microsoft Word的情况下嵌入在自己的Java应用程序中生成,修改,转换,呈现和打印文档的功能。
很高兴与大家分享Java平台的Aspose.Words迎来了2020.4月更新,该版本具有.NET版同样的7大新升级体验,包括日志记录系统已更新和改进,图表数据标签和系列的扩展API等等。接下来,我们一起来聊聊新版本的新功能。(点击下载)
主要特点
- Java平台现在支持OpenGL渲染(使用外部库)。
- 日志记录系统已更新和改进。
- Sonarqube测试通过。
- 提供了更改亚洲段落间距和缩进的功能。
- 为PDF渲染添加了图像插值选项(新的公共属性PdfSaveOptions.InterpolateImages)。
- 添加了新的模式3D形状渲染。
- 图表数据标签和系列的扩展API。
具体更新内容
key | 概述 | 类别 |
---|---|---|
WORDSJava-2264 | 使用外部库自动移植OpenGL渲染。 | 新功能 |
WORDSNET-15697 | 提供更改受密码保护的VBA代码(更改字符串)的功能 | 新功能 |
WORDSNET-20043 | 公布公开的CompareLevel(粒度)选项 | 新功能 |
WORDSNET-20001 | 提供API以获取针对中文特定段落格式的设置Word | 新功能 |
WORDSNET-19913 | Range.Replace替换 | 新功能 |
WORDSNET-19996 | 添加用于PDF渲染的图像插值选项 | 新功能 |
WORDSNET-19873 | 添加功能以设置/获取浮动表的位置(HorizontalAnchor和VerticalAnchor) | 新功能 |
WORDSNET-20080 | 支持带有复合重音符号的OTF(CFF)字体子集 | 新功能 |
WORDSNET-20146 | 实施ISO 29500特定BorderArt样式的渲染 | 新功能 |
WORDSNET-19747 | 添加功能以设置/获取段落属性“定义文档网格时对齐网格” | 新功能 |
WORDSNET-10548 | 锚固件靠近紧紧包裹的浮子时,浮子位置不正确 | 增强功能 |
WORDSNET-20042 | 检查RTF格式是否支持在块/单元/行级别放置注释 | 增强功能 |
增加了更改亚洲段落间距和缩进的功能
添加了以下ParagraphFormat属性:
///
/// Gets or sets the left indent value (in characters) for the specified paragraphs.
///
publicintParagraphFormat.CharacterUnitLeftIndent {get;set; }
///
/// Gets or sets the right indent value (in characters) for the specified paragraphs.
///
publicintParagraphFormat.CharacterUnitRightIndent {get;set; }
///
/// Gets or sets the value (in characters) for the first-line or hanging indent.
///
Use positive values to set the first-line indent, and negative values to set the hanging indent.
///
publicintParagraphFormat.CharacterUnitFirstLineIndent {get;set; }
///
/// Gets or sets the amount of spacing (in gridlines) before the paragraphs.
///
publicintParagraphFormat.LineUnitBefore {get;set; }
///
/// Gets or sets the amount of spacing (in gridlines) after the paragraphs