GroupDocs.Conversion for .NET 20.8 Release Notes

Major Features

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

  • Conversions from LOG file format
  • Extended meta data for word processing documents with TableOfContent
  • Extended meta data for pdf documents with TableOfContent

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
CONVERSIONNET‑4054FeatureLOG file format support
CONVERSIONNET‑4095ImprovementExtend WordprocessingDocumentInfo with TableOfContents property
CONVERSIONNET‑4096ImprovementExtend PdfDocumentInfo with TableOfContents property
CONVERSIONNET‑3772FixXLSB to XLS conversion - The column index should not be inside the pivottable report
CONVERSIONNET‑3826FixPDF to HTML conversion taking too long 
CONVERSIONNET‑3851FixPDF to HTML conversion issue, additional space in a word
CONVERSIONNET‑3936FixODG to PPT conversion issue
CONVERSIONNET‑3985FixCould not load the file 'Aspose.Slides'. exception when targeting Xamarin.Mac Full / .NET Framework 4.5
CONVERSIONNET‑3999FixXLSM to PDF - The row index should not be inside the pivottable report
CONVERSIONNET‑4124FixJPG to BMP conversion throws an exception

Public API and Backward Incompatible Changes

  1. Introduced new property in class WordprocessingDocumentInfo

    /// <summary>
    /// Table of contents
    /// </summary>
    public IEnumerable<TableOfContentsItem> TableOfContents { get; private set; } 
    
  2. Introduced new property in class PdfDocumentInfo

    /// <summary>
    /// Table of contents
    /// </summary>
    public IEnumerable<TableOfContentsItem> TableOfContents { get; private set; } 
    
  3. Introduced new class GroupDocs.Conversion.Contracts.TableOfContentsItem

    /// <summary>
    /// Contains Table of contents item metadata
    /// </summary>
    public class TableOfContentsItem
    {
        /// <summary>
        /// Bookmark title
        /// </summary>
        public string Title { get; }
        /// <summary>
        /// Bookmark page
        /// </summary>
        public int Page { get; }
    }
    

    Usage

    const string source = "sample-toc.docx";
    using (var converter = new Converter(source))
    {
        var documentInfo = (WordprocessingDocumentInfo) converter.GetDocumentInfo();
        foreach (var tocItem in documentInfo.TableOfContents)
        {
            Console.WriteLine($"{tocItem.Title}: {tocItem.Page}");
        }
    }