GroupDocs.Editor for Java V24.9

Released: Sep 18, 2024

Updates in V24.9

Features

  • New public API for managing form fields within documents.
    • New public type for managing forms:
      • FormFieldManager: Manages forms with legacy form fields, which were available in earlier versions of word processing software.
    • New public namespace:
      • com.groupdocs.editor.words.fieldmanagement: Contains classes and interfaces related to the management and manipulation of form fields within documents. This namespace allows users to work with different types of form fields, such as text fields, checkboxes, dropdowns, etc.
    • New public types of form fields:
      • CheckBoxForm
      • CurrentDateFormField
      • CurrentTimeFormField
      • DateFormField
      • DropDownFormField
      • NumberFormField
      • TextFormField
    • New public type for form field collections:
      • FormFieldCollection
  • New constructors have been introduced for the Editor class to provide more flexibility and ease of use:
    • Editor(DocumentFormatBase): Initializes a new instance of the Editor class and creates a new empty document based on the specified format.
    • Editor(InputStream): Initializes a new Editor instance with the specified input document (as a InputStream).
    • Editor(InputStream, ILoadOptions): Initializes a new Editor instance with the specified input document (as a InputStream) along with its load options.
    • Editor(String, ILoadOptions): Initializes a new Editor instance with the specified input document (as a full file path) along with its load options.
  • New functionality allows the creation of new documents without the need for a callback function.
    • Provides enhanced capabilities for interacting with various form field types programmatically.
    • New public members:
      • com.groupdocs.editor.Editor.save(OutputStream outputDocument)
      • com.groupdocs.editor.Editor(IDocumentFormat format) parameterless constructor

Fixes

  • Fixed an issue with ArgumentNullException on Graphics.MeasureString.
  • Fixed an issue causing an exception when saving edited HTML with multiple stylesheets to a document.
  • Fixed an issue causing InvalidOperationException due to a DIV inside a li in WordProcessing - ShapeProcessor.
  • Fixed an issue where an exception was thrown when saving an edited HTML document that had a background color applied to the text.