Its time to augment your document conversion experience. You will be pleased to hear the new features, improvements and bug fixes that we’r going to elaborate in this blog post. Did you ever think of converting and rotating a document at the same time? We make your wish come true with this month’s release of GroupDocs.Conversion for Java 19.4.
You can now set page rotation angle when converting to a PDF or Image format. And it only takes a single line of code.
We implemented following new properties:
- setRotate(PdfSaveOptions.Rotation.On90)
- setRotateAngle(45)
Rotation Feature when Converting to Image Format
We enriched ImageSaveOptions class with a new property that takes rotation angle value as parameter.
Rotation when Converting to PDF
PdfSaveOptions class covers a new property that takes PdfSaveOptions.Rotation enumeration.
More File Formats and Font Substitution Options
Some new document formats are also introduced. Like you can do conversion from EPS, TSV, PCL. API also permits to set default font and font substitution option when converting from .one file.
Measure Conversion Time
Can we measure or track time for a document conversion? You might be thinking of such a feature. Because its appealing. Therefore, we’ve introduced this in current release. Let’s have a look at its implementation.
Include Hidden Slides in Converted Document
Yes, this is absolutely right. We’ve implemented a property setShowHiddenSlides using that you can decide either to convert or skip hidden slides when converting a Slide document.
Improvements
We always introduce improvements for better usability. This release covers following improvements.
- HideWordTrackedChanges option to WordsLoadOptions class
- HidePdfAnnotations option to PdfLoadOptions class
- HideComments option to CellsLoadOptions, SlidesLoadOptions and WordsLoadOptions class
Bug Fixes
We listen your feedback carefully and make sure to fix the disruptions that you face. Spreadsheets are one of the best way to represent data. Most of the time you add graphs in it. Previously, API was not converting spreadsheets with graphs properly. It was not showing complete data. However, this issue is now fixed.
Width and Height not Working
Furthermore, there was no impact of width and height in the output that you set in ImageSaveOptions. This issue is also now resolved.
Will we get PasswordProtectedException?
Yes, we fixed obfuscation config for com.groupdocs.conversion.exceptions package. You will now get proper exception on processing a password protected document without applying password. Eventually, this exception could be then handled.
To learn more about API integration and usage check out the docs here. To see the implementation and functionalities, check out the GitHub repository.