GroupDocs.Conversion for Java 23.2 Release Notes

Major Features

There are 10+ features, improvements, and bug fixes in this release, the most notable are:

  • Conversion from Amazon Kindle AZW3 format
  • New load option to keep original date field value when converting from a word-processing document
  • Improved PDF to JPEG/TIFF conversions
  • Improved DOCX to MD conversions
  • Improved PDF to DOCX conversions
  • Improved conversions from PostScript files

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONNET‑5429FeatureConversion from Amazon Kindle AZW3 format
CONVERSIONNET‑5433EnhancementNew load option to keep original date field value when converting from a word-processing document
CONVERSIONNET‑5466EnhancementIncorrect detection of password protected spreadsheet document when loaded from stream
CONVERSIONNET‑5416FixComments still visible despite using HideComments when converting DOCX to PDF
CONVERSIONNET‑5419FixFile damaged or corrupt
CONVERSIONNET‑5394FixCannot convert from multi-page TIFF when the source filename extension is “tif”
CONVERSIONNET‑5393FixFor a presentation file the value of IsPasswordProtected property is not in PropertiesNames of IDocumentInfo
CONVERSIONNET‑5237FixPDF to JPEG/TIFF conversion problem
CONVERSIONNET‑5370FixHTML to PDF conversion issue
CONVERSIONNET‑5313FixDOCX to PDF conversion issue on Red Hat
CONVERSIONNET‑5406FixDOCX to MD to HTML: Missing formatting
CONVERSIONNET‑5455FixEvaluation tag when converting PDF to Image on Linux/MacOS
CONVERSIONNET‑5456FixDOCX to PDF conversion: bullets list converted to squares
CONVERSIONNET‑5494FixParticular Excel to PDF conversion - Blank output
CONVERSIONNET‑5405FixDOCX to MD: Unhandled exception
CONVERSIONNET‑5564FixConverting to image may produce larger file size than expected
CONVERSIONNET‑5470FixPDF to JPG - Large File Size of Converted Images
CONVERSIONNET‑5299FixPage orientation issue when converting from DWG to PDF
CONVERSIONNET‑4719FixException Parameter is not valid. when converting DOCX to PPT using license file
CONVERSIONNET‑4796FixPDF to DOCX - malformed output
CONVERSIONNET‑4122FixPostScript files are converted to a single blank page
CONVERSIONNET‑5518FixObject reference not set to an instance of an object exception when converting PDF to DOCX with fluent syntax
CONVERSIONJAVA‑1676FixIssue in ConverterSettings Cache implementations
CONVERSIONJAVA‑1861FixMD to PDF conversion issue
CONVERSIONJAVA‑1870FixFix conversion context input stream issue
CONVERSIONJAVA‑1882FixSaving complete multi page document to image is not supported

Conversion from AZW3 format

Now you can load e-books in Amazon Kindle AZW3 format and convert them to any other of the supported formats:

// Load the source AZW3 file
try (Converter converter = new Converter("sample.azw3")) {
    // Set the convert options for DOCX format
    WordProcessingConvertOptions options = new WordProcessingConvertOptions();
    // Convert to DOCX format
    converter.convert("converted.docx", options);
    }

Keep the original value of the date field

When converting word-processing documents, you can now specify whether to keep the original values of the date fields. To do this use the KeepDateFieldOriginalValue property of the WordProcessingLoadOptions class:

LoadOptionsProvider getLoadOptions = () -> {
  WordProcessingLoadOptions options = new WordProcessingLoadOptions();
  options.KeepDateFieldOriginalValue(true);
  return options;
};
try (Converter converter = new Converter("sample.docx", getLoadOptions)) {
  PdfConvertOptions options = new PdfConvertOptions();
  converter.convert("converted.pdf", options);
}

Public API and Backward Incompatible Changes

  1. Introduced new property in class WordProcessingLoadOptions

    /**
    * Keep original value of date field. Default: false
    */
    public boolean isKeepDateFieldOriginalValue();
    
    public void setKeepDateFieldOriginalValue(boolean keepDateFieldOriginalValue);