We are pleased to announce Aspose.PDF for Java 16.11.0 release. This version of Aspose.Pdf for Java includes all the features and enhancements introduced it its corresponding .NET version i.e. Aspose.Pdf for .NET 16.11.0 along with additional features. Some of the new features of this release are support of Concatenation progress status, get text width dynamically and support to add encoding of non-default languages in PDF to Latex conversion.. In addition to above enhancement, we have some important improvements regarding PDF to DOCX/DOC, Printing issue on Linux, PDF to PPTX along with many other fixes that makes it more stable and reliable version. Please check release notes of Aspose.PDF for Java 16.11.0 for complete list of bug fixed.
Please note if you are planning to upgrade the API from any previous version, we strongly suggest you to check the Public API Changes section of current release and other intermediate releases, to know what has been changed since your current revision of the API.
The following sections describe some details regarding these newly added enhancements.
Support of Concatenation Progress Status
We have received a requirement to know the progress status of PDF files Concatenation process, that how much process is completed and is the file generation/concatenation completed or not?. We have implemented ConcatenationProgressHandler to check the status of concatenation. Please check the documentation link for details and sample code snippet.
Add Encoding for Non-Default Languages in PDF to Latex
While converting PDF to Latex, we need to use non-default languages specific font encoding for the conversion. We have introduced a property addFontEncs in LateXSaveOptions class for the purpose. Here is an example of adding Cyrillic encoding in PDF to Latex conversion.
Document doc2 = new com.aspose.pdf.Document("Test.pdf"); com.aspose.pdf.LaTeXSaveOptions opt = new com.aspose.pdf.LaTeXSaveOptions(); opt.addFontEncs("T2A", "T2B"); doc2.save("Test.tex", opt);
Get text width dynamically
Some of the customers need features to calculate text width dynamically. Now with this release, we can get text width dynamically with use of measureString() method. We can invoke measureString() method of com.aspose.pdf.Font or com.aspose.pdf.TextState classes (or both)
Aspose.PDF for Java Resources
The following resources will help you work with Aspose.Pdf for Java:
- Home page for Aspose.PDF for Java
- Download Aspose.PDF for Java
- Aspose.PDF product family forum – Post your technical questions and queries, or any other problem you faced while running Aspose.PDF APIs.
- Aspose.PDF for Java online documentation – Help documentation and API reference documents.
- Enable Blog Subscription – Do not limit yourself, you can keep yourself updated with the latest news on Aspose.Pdf APIs, new features, fixes and other API related topics by subscribing to Aspose.PDF blog.
- Aspose.PDF for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.