What's new in Aspose.Words for Java

Contents
[ ]

This page describes the most interesting new Aspose.Words features introduced in recent releases.

Aspose.Words for Java 26.1

Aspose.Words 26.1 introduces Docling JSON export, enhances AI and document merging capabilities, and significantly improves PDF compliance, accessibility, and rendering accuracy for fields and mathematical equations.

AI-powered Features

Direct Instantiation of Google AI Models 26.1

The ability to work directly with Google AI models has been introduced by enabling direct instantiation of the GoogleAiModel class in the Aspose.Words.AI namespace.

Supported Formats

New Docling JSON Export Format 26.1

The ability to export documents to the Docling JSON format has been introduced.

Converting, Loading, and Saving Documents

PDF AcroForm Tagging 26.1

The ability to improve PDF accessibility has been introduced by adding support for tagging PDF AcroForms, making exported documents more accessible to assistive technologies.

Rendering

Extended PDF Conformance Standards 26.1

The PdfSaveOptions functionality has been extended by the PreserveFormFields property to be compatible with all PDF compliance standards (including PDF/A and PDF/UA).

Rendering MathML using an East Asian Font 26.1

The ability to correctly render MathML content with East Asian characters has been introduced, while preserving Latin and Hebrew text when an East Asian font is specified.

Aspose.Words for Java 25.9, 25.10, 25.11, 25.12

Aspose.Words 25.9 enhances document loading reliability, expands shape and text formatting, improves Markdown export with math support, and strengthens font handling diagnostics.

Aspose.Words 25.10 introduces enhancements to text and PDF exports, improves accessibility compliance, and adds new options for resource management during Markdown export.

Aspose.Words 25.11 expands AI integration capabilities, enhances Markdown export, and introduces advanced control over print operations.

Aspose.Words 25.12 improves rendering accuracy across PDF, HTML-Fixed, and SVG formats, adds support for Variable Fonts and Funnel charts, and enhances text orientation handling in field rendering.

AI-powered Features

Сonfigure AI Model Service Endpoints 25.11

The ability to configure AI model service endpoints has been introduced by adding support for specifying custom URLs and request timeouts, allowing greater flexibility in AI-powered integrations.

Converting, Loading, and Saving Documents

Control How Corrupted Documents Are Opened 25.9

The ability to control how corrupted documents are opened has been introduced by adding a new RecoveryMode option.

Export Mathematical Equations to LaTeX Expression

The ability to export mathematical equations (Office Math) to LaTeX expressions has been introduced:

Improved Document Conversion Fidelity to Markdown 25.11

The fidelity of document conversion to Markdown has been improved by enabling the export of OfficeMath objects into LaTeX format, ensuring compatibility with MarkItDown renderers.

Control Floating Shape Tagging When Exporting to PDF 25.10

A new save option ExportFloatingShapesAsInlineTag has been added to provide precise control over the tagging of floating shapes as either inline or block-level elements, improving layout accuracy and accessibility.

Control How Images and Other External Resources are Exported to Markdown 25.10

A new resource-saving callback has been implemented to give developers greater flexibility in controlling how images and other external resources are exported.

PDF/UA Export & Accessibility 25.10

Compliance with PDF/UA standards has been improved by correctly tagging horizontal rules as artifacts, enhancing a better experience for users of assistive technologies.

The ability to correctly resolve and handle relative hyperlinks when exporting to PDF has been introduced by adding Base URI processing during document export.

Rendering

Fine-tune Shadow Effects 25.9

The ability to fine-tune shadow effects has been enhanced by introducing new public properties.

Improve Diagnostics for Font Substitution 25.9

The ability to improve diagnostics and error handling for font substitution has been implemented by adding typed warnings.

Support for Variable Fonts When Saving Documents to SVG and Html-Fixed 25.12

Robust support for Variable Fonts when saving documents to SVG and Html-Fixed formats has been added, ensuring that different font variations (including weight, width, and other parameters) defined within a single font file render correctly.

Render Funnel Charts 25.12

The ability to render Funnel charts in documents has been added.

Render VerticalFarEast and HorizontalRotatedFarEast Text Orientations in EQ-field 25.12

The ability to render VerticalFarEast and HorizontalRotatedFarEast text orientations in EQ-field elements has been introduced.

Other

  • new advanced print control options have been added: 25.11

    • A new callback interface, similar to IWarningCallback, has been introduced to allow programmatic control over page skipping during print operations.
    • A new public property has been added to accurately retrieve the actual number of pages rendered by a print job.
    • The ability to specify distinct target printers for color and monochrome (black & white) pages within a single print job has also been introduced.

Aspose.Words for Java 25.5, 25.6, 25.7, 25.8

Aspose.Words 25.5 enhances chart customization with new styling options and improves Markdown export by offering control over how empty paragraphs are handled.

Aspose.Words 25.6 enhances rendering precision and visualization features by introducing advanced image export options, improved MathML handling, and better chart representation.

Aspose.Words 25.7 introduces AI enhancements with support for self-hosted LLMs, more precise control during text replacement, flexible table row visibility, and richer typography with OpenType Font Variations.

Aspose.Words 25.8 expands capabilities for Markdown import/export, enhances Find and Replace with an option to ignore Office Math objects, introduces print job page tracking, and provides greater control over page extraction.

AI-powered Features

Integrating a Self-Hosted LLM 25.7

The ability to integrate and use self-hosted LLM (Large Language Model) has been introduced, providing greater privacy and control over AI-powered document features.

Converting, Loading, and Saving Documents

Export Empty Paragraphs to Markdown 25.5

The ability to control how empty paragraphs are exported to Markdown has been introduced by adding the MarkdownEmptyParagraphExportMode enumeration and the EmptyParagraphExportMode property.

Export Multi-page Documents to Raster Image Formats 25.6

The ability to export multi-page documents to raster image formats (such as PNG and JPEG) with customizable layouts – Horizontal, Vertical, or Grid – has been introduced by extending image export functionality.

Export Non-compatible Tables to Raw HTML 25.8

The ability to control how non-compatible tables are rendered when exporting to raw HTML has been introduced by adding the new MarkdownExportAsHtml enumeration.

Specify Character for Soft Line Breaks When Importing to Markdown 25.8

The ability to specify a character for soft line breaks when importing to Markdown has been introduced by adding the new SoftLineBreakCharacter property.

Rendering

Setting the Chart Style 25.5

The ability to set the chart style has been introduced by adding the ChartStyle enumeration and the Style property.

Rendering Connector Lines in MathML Expressions 25.6

The rendering of connector lines in MathML expressions has been implemented to ensure more accurate and visually consistent display of mathematical formulas.

Rendering Legends for Waterfall Charts 25.6

The rendering of legends for “Waterfall” charts has been introduced, increasing data transparency and improving the interpretability of these charts.

Support for OpenType Font Variations 25.7

Initial support for OpenType Font Variations has been implemented, allowing for more flexible and expressive typographic rendering.

Other

  • The ability to wrap mathematical formulas containing multiple slashes has been enhanced, improving layout clarity and formula legibility. 25.6
  • A new ReplacingArgs.MatchEndNode property has been added to enable more precise control during text replacement operations across document content. 25.7
  • The ability to programmatically show or hide specific table rows has been introduced by adding the Row.Hidden property. 25.7
  • A new IgnoreOfficeMath property has been added to ignore Office Math objects when searching and replacing. 25.8
  • A new PagesRemaining property has been added to check the number of pages remaining in a print job. 25.8
  • New options have been added to the PageExtractOptions class to provide more control over the page extraction process. 25.8

Aspose.Words for Java 25.1, 25.2, 25.3, 25.4

Aspose.Words 25.1 introduces AI-powered grammar checking and enhances document saving with advanced options for HTML, SVG, and Markdown formats.

Aspose.Words 25.2 introduces text summarization with Anthropic AI models, adds MsWorks format support, enhances typographic control, and improves PDF structure and list handling.

Aspose.Words 25.3 enhances an AI-powered grammar checker and font selection with the UpdateAmbiguousTextFont property, as well as improves PDF attachments export.

Aspose.Words 25.4 introduces support for new paper sizes, enables advanced HTML export control, improves watermark handling, and enhances the usability of the LowCode API.

AI-powered Features

Document AI Grammar Checking

  • The ability to check the grammar of the provided document using OpenAI generative models has been introduced by adding a new CheckGrammar method. 25.1
  • The AI-powered Grammar Checking feature has been updated to support all models available in the AiModelType enumeration. 25.3

Summarization Using Anthropic Generative Language Models 25.2

Text summarization using Anthropic generative language models has been enabled by introducing a new public class AnthropicAiModel.

Low Code

Low Code API Usability 25.4

Significant improvements to the usability of the LowCode API have been introduced, simplifying document processing and reducing the need for repetitive code.

Supported Formats 25.2

Starting from version 25.2, compatibility with the new MsWorks load format for Microsoft Works documents has been added.

Converting, Loading, and Saving Documents

Improved Saving to HTML and SVG Formats 25.1

Saving to HTML and SVG formats has been enhanced by adding IdPrefix and RemoveJavaScriptFromLinks properties to both the HtmlFixedSaveOptions and SvgSaveOptions classes.

Set Image Resolution and OfficeMath Output Mode When Saving to Markdown 25.1

Rendering

Improved Typographic Control 25.2

The NumberSpacing property has been added for improved typographic control.

Controlling Font Selection for Ambiguous Characters 25.3

A new public property UpdateAmbiguousTextFont has been added to the SaveOptions class to control the font selection according to the character code used.

Paper Size Options 25.4

The ability to use JIS B4 and JIS B5 paper sizes has been introduced by adding new values to the PaperSize enumeration.

HTML Output Control 25.4

The ability to remove JavaScript from hyperlink URLs during HTML export has been introduced by adding the RemoveJavaScriptFromLinks property.

Other

  • PDF logical structure has been improved with support for TOA, BIBLIOGRAPHY, and INDEX fields. 25.2
  • The AddSingleLevelList method has been introduced for improved list handling. 25.2
  • A new property AttachmentsEmbeddingMode has been added to replace EmbedAttachments to improve PDF attachments' export. Also, new values have been added to the PdfCompliance enumeration to support PDF/A version attachments. Additionally, attachments are now supported with encryption. 25.3

Aspose.Words for Java 24.9, 24.10, 24.11, 24.12

Aspose.Words 24.9 introduces group shape insertion and StructuredDocumentTag insertion via DocumentBuilder, enhances radial chart rendering with graduations, improves digital signatures with XAdES-EPES support, adds Markdown underline recognition, and provides access to footnote/endnote separators.

Aspose.Words 24.10 introduces enhanced ActiveX control support with CommandButton creation, new shape visibility control, the ability to group shapes, improved Markdown export for tables, chart formatting for Pie and Doughnut charts, better Big5 encoding handling, and support for outdated Taiwanese fonts.

Aspose.Words 24.11 introduces AI-powered document summarization, enhanced rendering options, improved access to document properties and ActiveX control captioning.

Aspose.Words 24.12 introduces customizable data label placement, Google AI-powered text translation, enhanced Mail Merge cleanup options, and new LowCode processing classes.

AI-powered Features

Document Summarization Using OpenAI and Google 24.11

Support for document summarization using OpenAI and Google generative language models has been integrated.

Text translation using Google’s generative language models 24.12

The ability to translate text using Google’s generative language models has been implemented in Aspose.Words by adding the Translate method and the Language enumeration.

Low Code 24.12

New LowCode classes like Comparer, MailMerger, Replacer, Splitter etc. has been introduced, offering a set of methods that strike the perfect balance between simplicity and flexibility for document processing.

Rendering and Printing

Graduations on Radial Charts 24.9

Rendering of graduations on radial charts has been implemented.

CommandButton ActiveX Controls 24.10

The ability to create CommandButton ActiveX controls has been introduced by adding a new public method InsertForms2OleControl and a new public class Forms2OleControl.

Control Shape Visibility 24.10

A new public property Hidden has been added to control the visibility of shapes.

Changes in Pie and Doughnut Charts 24.10

Several new public properties have been added to format Pie and Doughnut charts.

Control the Rendering of PDF Choice Form Field Borders 24.11

A new option to control the rendering of PDF choice form field borders has been implemented by adding a new public option RenderChoiceFormFieldBorder.

Get and Set Format Codes for Chart Data 24.11

The ability to get and set format codes for chart data has been added by implementing the FormatCode property in the ChartXValueCollection, ChartYValueCollection, and BubbleSizeCollection classes.

Render Histogram Charts with Bins and Labels 24.11

Histogram chart rendering has been improved by allowing for a specified number of bins and labels.

Converting, Loading and Saving Documents

Underline Formatting when Loading Markdown Files 24.9

The option to recognize underline formatting when loading Markdown documents has been incorporated by adding a new public property ImportUnderlineFormatting.

Exporting tables as HTML when saving to Markdown 24.10

An option to export tables as HTML when saving documents to Markdown format has been implemented by adding a new public property ExportAsHtml and an enumeration MarkdownExportAsHtml.

Export PDF with Updated Logical Structure 24.11

PDF export has been enhanced by including table title properties as PDF logical structure element titles.

Mail Merge and Reporting

Remove Empty Tables during Mail Merge 24.12

A new RemoveEmptyTables option has been added to the MailMergeCleanupOptions enumeration to refine Mail Merge output.

Digital Signatures

Sign Documents with XAdES-EPES 24.9

The ability to sign documents with XAdES-EPES level XML-DSig signatures has been introdused by adding a new public property XmlDsigLevel and a new public enumeration XmlDsigLevel

Other

  • A new public method InsertGroupShape has been added to group shapes. 24.9
  • A new public method InsertStructuredDocumentTag has been added to insert StructuredDocumentTags into a document. 24.9
  • Public access to footnote/endnote separators has been provided by adding a few public classes and properties. 24.9
  • The ability to group individual shapes, group shapes together, and directly group both shapes and group shapes has been introduced by adding the InsertGroupShape method. 24.10
  • Big5 encoding handling for TrueType cmap tables has been improved. 24.10
  • Support for outdated Taiwanese fonts has been enhanced. 24.10
  • To access extended document properties, read-only properties have been added to the BuiltInDocumentProperties class. 24.11
  • Setting captions for ActiveX controls has been enabled by adding a new public setter to the Forms2OleControl.Caption property. 24.11

Aspose.Words for Java 24.5, 24.6, 24.7, 24.8

Aspose.Words 24.5 expands options for assemblies, improves rendering capabilities, and expands some other options.

Aspose.Words 24.6 improves rendering options, enhances search and compare functionality, and expands several other features.

Aspose.Words 24.7 changes how you work with ActiveX, expands rendering capabilities, as well as exporting to Markdown and XLSX formats.

Aspose.Words 24.8 enhances chart customization with precise control over axis labels, expands font management, improves document structure handling, and adds new capabilities for HTML/XAML export, PDF functionality, document conversion, and digital signatures.

Supported Formats

Starting from version 24.7, export to PDF/UA-2 is supported to ensure accessibility for users with disabilities.

Rendering and Printing

Changes in Charts, Shapes and DrawingML 24.5

  • DrawingML effects rendering for SVG graphics, extending previous functionality limited to images, has been implemented.
  • Support for creating combo charts and adjusting properties such as gap width, overlap, and bubble scale within series groups has been introduced by adding the ChartSeriesGroup and ChartSeriesGroupCollection classes and the SeriesGroups property.
  • Functionality to manipulate the SoftEdge effect of shapes has been implemented by adding the SoftEdgeFormat class.
  • The ability to modify adjust values of shapes has been implemented by adding the AdjustmentCollection and Adjustment public classes and Adjustments property.

Changes in Charts, Shapes and Drawing 24.6

  • Charting capabilities have been enhanced. You can now create a wider variety of charts, including Treemaps, Sunbursts, Histograms, Pareto charts, Box & Whisker charts, Waterfalls, and Funnels. This allows you to visualize your data in a more diverse and informative way.
  • Color control for shadow formatting has been improved. You can gain more precise control over the appearance of your documents by accessing shadow colors.
  • Performance boost for background rendering has been improved. You can significantly speed up the rendering of backgrounds containing small elements thanks to native tiling technology.
  • Realistic gradients for shapes have been added. You can now create DML shapes with non-linear gradients, mimicking the visual style of Microsoft Word for a more polished look.

Chart Data Label Customization 24.7

The ability to customize chart data labels such as Orientation and Rotation has been added.

Custom Number Styling for List Levels 24.7

A setter for the public property CustomNumberStyleFormat has been added. You can now define a custom number styling for list levels.

Changes in working with ActiveX 24.7

  • The properties of ActiveX objects can now be modified, giving you more control over their behavior.
  • The ability to modify the value of the radio button ActiveX control to enable dynamic interaction has been added.
  • The ability to toggle an ActiveX checkbox to “checked” or “unchecked” has been added.

Control Over the Chart Axis Tick Labels Orientation and Rotation 24.8

Precise control over the orientation and rotation of chart axis tick labels has been added for more convenient chart customization – the AxisTickLabels class has been extended with new Orientation and Rotation properties.

Replacing the Backslash with the Yen Sign 24.8

The backwards compatible HTML and XAML export for replacing the backslash character with the Yen sign has been improved. To achieve this, the ReplaceBackslashWithYenSign property has been added to the HtmlSaveOptions and XamlFlowSaveOptions classes.

Using SDT Tags as Form Field Names when Exporting to PDF 24.8

PDF export with support for using SDT tags as form field names has been enhanced by adding a new UseSdtTagAsFormFieldName property to the PdfSaveOptions class.

Converting, Loading and Saving Documents

The ability to control the export of links in Markdown format has been added through the implementation of the LinkExportMode property.

LowCode 24.8 24.8

A new LowCode.Converter class, designed to provide a set of methods for converting various document types with a single line of code, has been introduced.

Search and Compare

Advanced Comparison Options 24.6

The ability to streamline data analysis workflows with improved comparison functionality has been added. This includes a new IgnoreStoreItemId option and a redesigned interface for advanced comparisons.

Other

  • The function to eliminate empty pages from a document has been implemented by adding the RemoveBlankPages method. 24.5
  • The ability to check for the presence of VBA macros without loading a document has been provided by adding the HasMacros property. 24.5
  • Keeping source numbering while inserting a document using the LINQ Reporting Engine is now supported. 24.5
  • A new DateTimeUtc property has been added – this provides a more precise timestamp for comments, improving organization and traceability. 24.6
  • The LINQ Reporting Engine has been improved. Selective removal of empty paragraphs and definition of custom messages for missing object members have been made, leading to cleaner and more informative reports. 24.6
  • The datetime format is now automatically detected for seamless export to XLSX format. 24.7
  • The public property IsProtected, which allows you to verify whether a VBA project is protected, has been added. 24.7
  • Font information has been expanded with the EmbeddingLicensingRights property added to the FontInfo and PhysicalFontInfo classes. 24.8
  • A way to efficiently clear section headers and footers while preserving watermarks has been added to more accurately work with document structure. To clear section headers and footers, use the new public method ClearHeadersFooters. 24.8
  • Digital signing of XPS documents using XpsSaveOptions has been enabled – a new property DigitalSignatureDetails has been added for this purpose. 24.8

See Also