GroupDocs.Editor for .NET 19.12 Release Notes

Major Features

GroupDocs.Editor for .NET version 19.12 contains two main features:

  • Expanded features in the Format-representing structs, which includes parsing from file extension and enumerating over all formats within given format family.
  • New static factory in EditableDocument class, that allows to open EditableDocument from inner content of HTML->BODY element and corresponding resource folder.

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
EDITORNET-1448Implement extension parsing for all formatsFeature
EDITORNET-1449Implement possibility to enumerate over all formatsFeature
EDITORNET-1422Implement parsing of inner content from HTML BODY elementFeature
EDITORNET-1423Implement resource fetching and parsing for HTML BODY contentFeature
EDITORNET-1420Improve formats-representing typesImprovement
EDITORNET-1421Implement better support of truncated markupImprovement
EDITORNET-1419Bug with duplicated images in EditableDocumentBug
EDITORNET-1418Internal error in Bookmark processorBug
EDITORNET-1414Fix bug with locked HTML resourcesBug
EDITORNET-1380Exception while getting DOCX document HTMLBug

Public API and Backward Incompatible Changes

  • Two main features of GroupDocs.Editor for .NET version 19.12 are extended formats support and ability to create an EditableDocument instance from inner content of HTML->BODY element and corresponding resource folder.

    First feature is represented in public API by the next new public types and methods.

    Type nameMember nameResponsibility
    WordProcessingFormats.AllEnumerableN/AInternal class, that enables enumeration over all formats within WordProcessingFormats 
    SpreadsheetFormats.AllEnumerableN/AInternal class, that enables enumeration over all formats within SpreadsheetFormats
    PresentationFormats.AllEnumerableN/AInternal class, that enables enumeration over all formats within PresentationFormats
    TextualFormats.AllEnumerableN/AInternal class, that enables enumeration over all formats within TextualFormats
    WordProcessingFormats AllStatic readonly field, that returns an WordProcessingFormats.AllEnumerable instance
    SpreadsheetFormats AllStatic readonly field, that returns an SpreadsheetFormats .AllEnumerable instance
    PresentationFormats AllStatic readonly field, that returns an PresentationFormats .AllEnumerable instance
    TextualFormats AllStatic readonly field, that returns an TextualFormats .AllEnumerable instance
    WordProcessingFormatsFromExtensionStatic method, that parses a string and returns appropriate WordProcessing format
    SpreadsheetFormatsFromExtensionStatic method, that parses a string and returns appropriate Spreadsheet format
    PresentationFormatsFromExtensionStatic method, that parses a string and returns appropriate Presentation format
    TextualFormatsFromExtensionStatic method, that parses a string and returns appropriate Textual format

    Second feature is representing by only one new method in the EditableDocument class:

    /// <summary>
    /// Static factory, that creates an instance of EditableDocument from a specified HTML markup,
    /// that doesn't contain an HTML header, but only inner markup of HTML BODY element, and from resources, located in the folder, specified by the full path
    /// </summary>
    /// <param name="htmlBodyContent">String, that contains raw HTML markup, which is located inside HTML->BODY element (without BODY itself),
    /// that should be parsed. Cannot be NULL, empty or invalid.</param>
    /// <param name="resourceFolderPath">Mandatory path to the folder with resources. All stylesheets, which are located in this folder, will be used.</param>
    /// <returns>New non-null instance of EditableDocument</returns>
    public static EditableDocument FromBodyMarkupAndResourceFolder(string htmlBodyContent, string resourceFolderPath)