Browse our Products

Aspose.Words for Java 26.6 Release Notes

Major Features

There are 65 improvements and fixes in this regular monthly release. The most notable are:

  • License: Updated the Java Metered License Billing Code.
  • Printing: Added Windows-specific target framework monickers (net6.0-windows and net8.0-windows) to the NuGet package. This enables the use of Document.Print() and related printing APIs in .NET Core applications running on Windows.
  • Document Customization: Added a new method to easily clear custom toolbars and keyboard shortcuts, helping you reset or secure document settings.
  • PDF Export: Enabled seamless export of datetime form fields to PDF, ensuring your date and time data transfers accurately.
  • PDF Export: Introduced JavaScript trigger support for date/time fields in PDF AcroForms, making your exported forms more interactive and responsive.
  • PDF Export: Enhanced hyphenation rendering; if a font lacks an optional hyphen (U+00AD), it now automatically falls back to a visual hyphen while keeping your text fully searchable.
  • PDF Export: Improved overall PDF output quality by fully preserving date picker content controls.
  • Tables: Improved the handling of repeated table header rows for cleaner, more predictable layouts in multi-page tables.

Full List of Issues Covering all Changes in this Release

Expand to view the full list of issues, reported by Java Users.
KeySummaryCategory
WORDSJAVA-3361Update Java Metered Billing CodeNew Feature
WORDSJAVA-3364isFontConfigAvailable() hangs process on linux with many fontsBug
WORDSJAVA-3363DOCX to PDF: Characters showing as boxesBug
WORDSJAVA-3271Regression: Font loses bold styleBug
WORDSJAVA-3246Text wrapping in SVG is incorrect after rendering.Bug
WORDSJAVA-3133Long time convertion docx to PDFBug
Expand to view the full list of issues, reported by .NET Users.
KeySummaryCategory
WORDSNET-29265Consider providing a method in LINQ Reporting Engine to export data source dumpNew Feature
WORDSNET-29239Add support for ‘mso-spacerun’ in MsoHtml documentsNew Feature
WORDSNET-24983Support date picker content control in PDFNew Feature
WORDSNET-17369Support Print method in NET Core app projectNew Feature
WORDSNET-11005TOC page numbers incorrectly calculatedNew Feature
WORDSNET-28675Provide public access to Document.AttachedToolbarsNew Feature
WORDSNET-19467Repeated table header row should not be rendered on pages where the row does not fit in 2013 modeEnhancement
WORDSNET-28237Investigate whether it is possible to preserve pick date form fields in PDFEnhancement
WORDSNET-28705Support for preserving date picker content control in PDF outputBug
WORDSNET-29128JPEG image color is changed after renderingBug
WORDSNET-29023Minor differences in VML shape sizesBug
WORDSNET-12843Printing a document through Aspose.Words shifts the text upwards when compared to printing through MS WordBug
WORDSNET-29327NullReferenceException when converting documents with “Symbol” font to raster formats (TIFF/PNG/JPG) under .NET 6.0-windowsBug
WORDSNET-29306Revisions are grouped improperly when there is footnoteBug
WORDSNET-29303Footer overlaps body content during DOC to PNG conversionBug
WORDSNET-29297Import of MsoHtml footnote options for second section differs from MS Word’s resultBug
WORDSNET-29296Import of MsoHtml headers differs from MS Word’s resultBug
WORDSNET-29295Import of MsoHtml lists differs from MS Word’s resultBug
WORDSNET-29286High memory usage upon comparing documentsBug
WORDSNET-29277InvalidOperationException is thrown upon building document layoutBug
WORDSNET-29273Font subsets lack GSUB table causing incorrect rendering of complex scripts (Arabic, Indic, etc.) in Html exportBug
WORDSNET-29271IndexOutOfRangeException upon saving document with OoxmlCompliance.Iso29500_2008_StrictBug
WORDSNET-29264Remove outdated pages from products.aspose.net/wordsBug
WORDSNET-29259Tick mark is rendered outside the axis lineBug
WORDSNET-29256Content is moved to the previous pages after renderingBug
WORDSNET-29253Rendering DOCX with Arabic chars to HTML format with HarfBuzz shaper enabled produces distorted HTMLBug
WORDSNET-29249MHT to PDF: MHT file corruptedBug
WORDSNET-29248Aspose.Words incorrectly imports consecutive bookmarks from MsoHtmlBug
WORDSNET-29244Hyphenation symbol is not renderedBug
WORDSNET-29235Enhance Asian text breaking logic to consider Unicode Script in addition to LocaleBug
WORDSNET-29232MD to MD: Content within < > is alteredBug
WORDSNET-29231Aspose.Words.xml for .net10 build have no membersBug
WORDSNET-29228MathML is incorrectly imported from HTMLBug
WORDSNET-29218Endnotes that MS Word removes present on rtf to docx conversionBug
WORDSNET-29196Repeated table header row is rendered improperlyBug
WORDSNET-29101DataLabel is rendered improperly after setting DataLabels.Format.Fill.ColorBug
WORDSNET-29099Table header row is repeated improperly after renderingBug
WORDSNET-29063Content position is incorrect in the rendered EQ fieldBug
WORDSNET-29039Headers and footers aren’t exported to Docling JSONBug
WORDSNET-28920PDF output differences when using Baskerville font subfamiliesBug
WORDSNET-28677Improve import of table styles from MsoHtmlBug
WORDSNET-28562Document comparison shows incorrect insertionBug
WORDSNET-28153Incorrect table header rendering in output PDFBug
WORDSNET-28142Part of content is moved to next pageBug
WORDSNET-28128Import symbols from MsoHtml like MS Word doesBug
WORDSNET-27954Table header should not be repeated above a tall rowBug
WORDSNET-27953New page not started after a table with a tall headerBug
WORDSNET-27648Additional Paragraph with list style added after SetMappingBug
WORDSNET-26435Part of content is moved to the next page upon rendering.Bug
WORDSNET-26057Incorrect handling of repeated table header rows in a broken table on conversion to PDFBug
WORDSNET-24766DOCX to PDF: Table header not rendered correctlyBug
WORDSNET-24255Table with tall header row is rendered improperlyBug
WORDSNET-21876Revisions.RejectAll does not work correctly and generates incorrect outputBug
WORDSNET-20753Content after not-fitting table row is in a wrong main text column in 2013 modeBug
WORDSNET-19618Assertion in debug code during layout buildBug
WORDSNET-18377Line break issue and Korean Font problem in PDF and ImagesBug
WORDSNET-12582In 2013 mode, table header row should not be present above the row with “allow to break across pages” OFF if the row is still brokenBug
WORDSNET-29133Conversion MHTML to PDF issueBug
WORDSNET-27794Default font substitution does not work when converting DOCX to PDFBug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 26.6. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in Aspose.Words which may affect existing code. Any behavior introduced that could be seen as regression and modifies the existing behavior is especially important and is documented here.

Added method to remove toolbar and keyboard command customizations from the document

Related issue: WORDSNET-28675

A public method RemoveCustomizations has been added to the Document class:

/// <summary>
/// Removes toolbar and keyboard command customizations from the document.
/// </summary>
public void Document.RemoveCustomizations();

This use case explains how to remove toolbar and keyboard command customizations from the document:

Added support for datetime form fields export to PDF

Related issue:WORDSNET-28705

Implemented support for exporting date/time fields to PDF AcroForms using JavaScript trigger events. The feature is controlled by the PdfSaveOptions.GenerateFormFieldScripts public option and is disabled by default because JavaScript support is limited in PDF viewers other than Acrobat.

/// <summary>
/// Specifies whether to generate scripts that emulate specific Microsoft Word form field behavior in PDF.
/// Default is <c>false</c>.
/// </summary>
/// <remarks>
/// <para>When this option is enabled, the exporter generates PDF JavaScript actions to emulate Microsoft Word
/// form field behavior, such as date and time form fields with formatting and validation rules.</para>
/// <para>When set to <c>true</c>, supported behavior will be exported as PDF JavaScript actions.
/// When set to <c>false</c>, no form field scripts will be generated.</para>
/// <para>Script execution depends on the PDF viewer. Some PDF viewers might ignore scripts, restrict script execution,
/// or require the user to enable JavaScript.</para>
/// <para>JavaScript actions are prohibited by PDF/A-1, PDF/A-2 and PDF/A-3 compliance.
/// The <c>false</c> value will be used automatically in this case.</para>
/// </remarks>
public bool GenerateFormFieldScripts { get; set; }

This use case explains how to export datetime form fields to PDF: