PDF文档管理首选控件Aspose.PDF v20.3 Java平台全新发布!支持Markdown文件格式

Java版Aspose.PDF升级到v20.3版,新增支持Markdown文档文件(* .md),可跟踪将PDF转换为PowerPoint演示文稿的进度,改善API参考说明,我们一起来看看具体的更新情况吧!

Aspose.PDF for .NET为开发人员和最终用户提供了最完整的PDF操作和解析解决方案集。无需使用Adobe Acrobat,API即可轻松用于生成,修改,转换,呈现,保护和打印文档。

又到了每月新版更新时间!Java版Aspose.PDF升级到v20.3版,新增支持Markdown文档文件(* .md),可跟踪将PDF转换为PowerPoint演示文稿的进度,改善API参考说明,我们一起来看看具体的更新情况吧!

新增与改进

key 概述 类别
PDFJAVA-39126 PDFJAVA-39126添加Markdown文档文件(* .md)文件格式支持 新功能
PDFJAVA-39247 跟踪将PDF转换为PowerPoint演示文稿的进度 新功能
PDFJAVA-38605 改善API参考说明 增强功能
PDFJAVA-39154 PDF到JPG-字体在输出JPG中无法正确呈现 Bug修复
PDFJAVA-37884 TIFF到PDF-输出PDF的图像具有错误的颜色图案 Bug修复

公共API更改

新功能-PDFJAVA-39126添加Markdown文档文件(* .md)文件格式支持

  • 实现了对加载MD格式的支持
  • 添加了常量:com.aspose.pdf.LoadFormat#MD
  • 添加的类:com.aspose.pdf.MdLoadOptions

用法:

Document doc = new_Document("input.md", new MdLoadOptions());doc.save("outFileName.pdf");

新功能-PDFJAVA-39247跟踪将PDF转换为PowerPoint演示文稿的进度

  • 添加的方法:com.aspose.pdf.PptxSaveOptions#setCustomProgressHandler。

用法:

PptxSaveOptions saveOptions = new PptxSaveOptions();saveOptions.setCustomProgressHandler( new UnifiedSaveOptions.ConversionProgressEventHandler() {@Overridepublic void invoke(UnifiedSaveOptions.ProgressEventHandlerInfo eventInfo) {//example how to handle progress events:                    System.out.println(ProgressEventType.getName(ProgressEventType.class,eventInfo.EventType) +                "t" +eventInfo.Value + " from: t" +eventInfo.MaxValue);                }            });Document doc = new Document(inFile);doc.save(outFileName, saveOptions);

添加了新课程

  • com.aspose.pdf.CustomExplicitDestination
  • com.aspose.pdf.MdLoadOptions

添加了新字段

  • com.aspose.pdf.LoadFormat.MD

添加了新方法

  • com.aspose.pdf.PclLoadOptions.getBatchSize()
  • com.aspose.pdf.PclLoadOptions.setBatchSize(int)
  • com.aspose.pdf.PptxSaveOptions.getCustomProgressHandler()
  • com.aspose.pdf.PptxSaveOptions.setCustomProgressHandler(ConversionProgressEventHandler)

字段名称已重命名

  • com.aspose.pdf.ProgressEventType.SourcePageAnalized -> com.aspose.pdf.ProgressEventType.SourcePageAnalysed


还想要更多吗可以点击阅读【2019 · Aspose最新资源整合】查找需要的教程资源。让人兴奋的是整合所有格式API处理套包Aspose.Total正在 火热销售中!联系客服立马1分钟了解全部咨询!
标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2020年1月27日
下一篇 2020年1月27日

相关推荐

发表回复

登录后才能评论