Aspose.Words for Java更新至新版本v19.10,新增 表的JSON数据源功能,允许将CustomDocumentProperty链接到书签,允许使用LINQ Reporting插入到书签的超链接,修复多项Bug,我们一起来看一看新功能详解吧!
致改变世界的程序员——限时购买Aspose系列产品最高可享10000元高额减免!更多活动详情可咨询在线客服哦~
主要特点
- 实现用于Java的Reporting的JSON数据源功能。
- Maven POM的主要自动化功能:选择正确的JDK jar版本,仅在需要时下载插件。
- 已实现的DocumentDirection选项允许指定文本在文档中流动的方向。
- 为“ graphicFrame”容器内的图形实现了适当的缩放,以进行DrawingML渲染。
- 渲染时改进了OMath对象的“内联/非内联”验证。
- 支持动态插入指向LINQ Reporting Engine的文档书签的链接。
完整更新细则请参考:【Aspose.Words for Java v19.10更新说明】
新功能示例
▲实现了DocumentDirection选项,该选项允许指定文本在文档中流动的方向
添加了新的公共枚举:
////// Allows to specify the direction to flow the text in a document.///public enum DocumentDirection
在TxtLoadOptions类中添加了新的公共选项:
////// Gets or sets a document direction./// The default value is. ///public DocumentDirection DocumentDirection
用例说明如何自动检测文档方向:
TxtLoadOptions loadOptions = new TxtLoadOptions();loadOptions.DocumentDirection = DocumentDirection.Auto; Document doc = new Document("SomeRtlText.txt", loadOptions); Paragraph paragraph = doc.FirstSection.Body.FirstParagraph;Console.WriteLine(paragraph.ParagraphFormat.Bidi);
ASPOSE技术交流QQ群()已开通,各类资源及时分享,欢迎交流讨论!
如果您对Aspose有任何需求和疑难,记得扫描下方二维码告诉我们哦~
标签:
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!