GroupDocs.Conversion for .NET 23.10 Release Notes

There are 5+ improvements, and bug fixes in this release.

Full list of changes in this release

KeyCategorySummary
CONVERSIONNET-6315EnhancementDifferentiate with the Sheet Names when converted excel to html
CONVERSIONNET-6403BugTIF to PDF conversion issue in .NET Core
CONVERSIONNET-6257BugWord table is not converted properly
CONVERSIONNET-6335BugCSV to PDF conversion issue
CONVERSIONNET-5602BugFormular not evaluated on certain XLSM when converting to PDF in .NET
CONVERSIONNET-6394BugCould not load file or assembly error when converting pptx to jpg
CONVERSIONNET-5967BugPDF to CSV conversion cells issue
CONVERSIONNET-6384BugTIFF to PDF conversion issue in .NET 6.0
CONVERSIONNET-6266BugProblem Converting Files to PDF and getting Stream Using GroupDocs.Conversion in .NET 6

Major features

  • Retrieving sheets names from a spreadsheet
  • Converting sheets by name from a spreadsheet
  • Improved TIFF to PDF conversions

Public API and backward incompatible changes

  1. The following methods of the Converter class are removed

    public void Convert(Func<Stream> document, Action<Stream, string> documentCompleted, ConvertOptions convertOptions)
    
    public void Convert(Func<Stream> document, Action<Stream, string> documentCompleted, Func<string, FileType, ConvertOptions> convertOptionsProvider)
    
    public void Convert(Func<FileType, Stream> document, Action<Stream, string> documentCompleted, ConvertOptions convertOptions)
    
    public void Convert(Func<FileType, Stream> document, Action<Stream, string> documentCompleted, Func<string, FileType, ConvertOptions> convertOptionsProvider)
    

    Use the methods with documentCompleted delegate Action<string, FileType, Stream>. The parameters are respectively source file name, target file type, and converted stream.

  2. The following methods of the Converter class are removed

    public void Convert(Func<int, Stream> document, Action<int, Stream, string> documentCompleted, ConvertOptions convertOptions)
    
    public void Convert(Func<int, Stream> document, Action<int, Stream, string> documentCompleted, Func<string, FileType, ConvertOptions> convertOptionsProvider)
    
    public void Convert(Func<int, FileType, Stream> document, Action<int, Stream, string> documentCompleted, ConvertOptions convertOptions)
    
    public void Convert(Func<int, FileType, Stream> document, Action<int, Stream, string> documentCompleted, Func<string, FileType, ConvertOptions> convertOptionsProvider)
    

    Use the methods with documentCompleted delegate Action<string, FileType, int, Stream>. The parameters are respectively source file name, target file type, page number that is converted, and converted stream.

  3. Introduced new property Worksheets in SpreadsheetDocumentInfo class.

  4. How to retrieve a spreadsheet sheets names

    const string source = "sample.xlsx";
    
    var sheets = Array.Empty<string>();
    
    using (var converter = new Converter(source))
    {
        var documentInfo = (SpreadsheetDocumentInfo) converter.GetDocumentInfo();
        sheets = documentInfo.Worksheets;
    }
    
  5. Convert a spreadsheet by specifying names of the sheets to be converted

    const string source = "sample.xlsx";
    
    using (var converter = new Converter(source, () => new SpreadsheetLoadOptions
       {
           Sheets = new [] { 'Sheet1', 'Sheet3' }
       }))
    {
        var options = new WebConvertOptions();
        converter.Convert("converted.html", options);
    }