GroupDocs.Conversion for Java 23.10 Release Notes

Major Features

There are 10+ features in this release:

  • Improved performance of PDF to Image conversions when converting by page.
  • Conversions to PostScript (PS) format.
  • Conversions to Printer Command Language (PCL) format.
  • Improved Diagram to Spreadsheet conversions.
  • Bypass unrecognized file types directly to the output stream without modification and exception
  • Improved conversions to SVG
  • Fixed EML to PDF conversions
  • Improved boot-up performance
  • Expose FluentConverter for explicit fluent syntax
  • Extended DocumentCompleted delegate with source fileName and target file type
  • Fixed conversions from XLSM to PNG

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONNET‑5961FeatureImplement conversion to PostScript (PS) format
CONVERSIONNET‑5962FeatureImplement conversion to Printer Command Language (PCL) format
CONVERSIONNET‑5729EnhancementImprove conversion and compression behavior
CONVERSIONNET‑5896EnhancementImprove performance of PDF to Image conversions when converting by page
CONVERSIONNET‑5902EnhancementImprove SVG to Spreadsheet conversion
CONVERSIONNET‑5864EnhancementImprove Fonts Embedding using FontSubsetStrategy
CONVERSIONNET‑5956EnhancementImprove Diagram to Spreadsheet conversion
CONVERSIONNET‑6068EnhancementBypass unrecognized filet ypes directly to the output stream without exception
CONVERSIONNET‑6037EnhancementImprove conversion to SVG
CONVERSIONNET‑6152EnhancementImprove boot-up performance
CONVERSIONNET‑6127EnhancementExpose the FluentConverter class explicitly and separate it from the main converter class
CONVERSIONNET‑6125EnhancementExtend the DocumentCompleted delegate with source filename and target file type
CONVERSIONNET‑4058EnhancementSet landscape mode when converting HTML to PDF
CONVERSIONNET‑5866FixPDF to PNG: Slow conversion
CONVERSIONNET‑5610FixText overlap on images in PDF to DOCX Conversion
CONVERSIONNET‑5885FixNullReferenceException when converting DXF files to PDF
CONVERSIONNET‑5865FixPDF to PNG: Conversion doesn’t finish
CONVERSIONNET‑6006FixIncorrect exception was thrown if the provided source document was missing
CONVERSIONNET‑3523FixConvert PDF to PDF/A - File size issue
CONVERSIONNET‑5952FixCannot view output PNG in Firefox
CONVERSIONNET‑5986FixThe IsPasswordProtected property for PDF document returned true for not protected document
CONVERSIONNET‑6078FixBroken layout when converting from project-management format to word-processing format
CONVERSIONNET‑6076FixCannot convert from a eBook format to spreadsheet format when specific pages were selected
CONVERSIONNET‑6047FixThe “Error! Bar code generator is not set.” was rendered instead of actual QR code while converting DOCX to PDF
CONVERSIONNET‑6033FixTrial badge was shown when applying image watermark
CONVERSIONNET‑5959FixIssue while converting Excel with unwrapped text to image
CONVERSIONNET‑6050FixWatermark was not shown when applied on WordProcessingDocument and converted to SVG
CONVERSIONNET‑5616FixMargin options did not take effect on HTML to PDF Conversion
CONVERSIONNET‑6041FixIssues while converting e-mails with attachments to PDF
CONVERSIONJAVA‑1597FixSVG to JPG conversion issue
CONVERSIONJAVA‑2010FixOnly 3 Excel sheets are converted to PDF

Conversions to PostScript (PS) and Printer Command Language (PCL) formats

It now became possible to save document to PostScript (PS) and Printer Command Language (PCL) formats when converting from PDF, word-processing, presentation, spreadsheet, web, e-mail, CAD, diagram, GIS, image, note, and project-management formats.

For example, the following code sample demonstrates how to convert a DOCX file to PS:

// Load the source DOCX file
try(Converter converter = new Converter("sample.docx")) {
   // Set the convert options
   PageDescriptionLanguageConvertOptions options = new PageDescriptionLanguageConvertOptions();
   options.setFormat(PageDescriptionLanguageFileType.Ps);
            
   // Convert to PS format
   converter.convert("converted.ps", options);
}

Public API and backward incompatible changes

  1. Removed obsolete file types that were marked for removal in v23.6.
  2. Changed ConvertedDocumentStream invoke method signature:
    Stream invoke(String sourceFileName, FileType fileType, Stream stream) throws Exception;
  1. Changed ConvertedPageStream invoke method signature:
    Stream invoke(String sourceFileName, FileType fileType, int pageNumber, Stream stream);