Browse our Products

Aspose.Words for .NET 25.10 Release Notes

Major Features

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

  • Text Export: Enhanced plain text conversion by adding the ability to export Office Math objects as LaTeX expressions.
  • PDF Export: Introduced a new save option for more precise control over the tagging of floating shapes as either inline or block-level elements.
  • Markdown Export: Implemented a resource-saving callback, providing developers with greater flexibility in managing how images and other resources are exported.
  • PDF/UA Export & Accessibility: Improved compliance by correctly tagging horizontal rules as artifacts, enhancing the experience for users of assistive technologies.

Full List of Issues Covering all Changes in this Release

Expand to view the full list of issues.
KeySummaryCategory
WORDSNET-28682Consider preserving empty paragraphs in textboxes in PDF structureNew Feature
WORDSNET-28694Export oMath (OOXML Math) as LaTex based expressions upon converting to TextNew Feature
WORDSNET-28557Add support for IResourceSavingCallback to MarkdownSaveOptions classNew Feature
WORDSNET-28578Mark horizontal rules as decorative figures when saving to PDF/UAEnhancement
WORDSNET-24844Support MSO properties during import tablesEnhancement
WORDSNET-28643Add -aw-border-color CSS round-trip propertyEnhancement
WORDSNET-15552DOCX to Grayscale PDF rendering issueEnhancement
WORDSNET-12643Add support for EPS imagesEnhancement
WORDSNET-28695Add public API to get OfficeMath value in LaTeX formatEnhancement
WORDSNET-21386Saving DOCX as PCL loses bold and spacingBug
WORDSNET-28627Bounds are correct only after setting the width/height of the groupShapeBug
WORDSNET-28663Content vertical position is incorrect it table cell after renderingBug
WORDSNET-27588Content in document header overlaps after renderingBug
WORDSNET-28686Position of images in header is incorrect after renderingBug
WORDSNET-28690An exception is thrown for JsonDataSource and JsonSimpleValueParseMode.StrictBug
WORDSNET-28628Setting GroupShape Width and Height does not return the correct BoundInPoints for the shapeBug
WORDSNET-28577Compare result does not match MS Word outputBug
WORDSNET-28599Vertical hyphen orientation changed to horizontal upon rendering to image (.NET 8)Bug
WORDSNET-28432Axis title and legend positions moved upon DOCX to PDFBug
WORDSNET-26326Incorrect export barcode and unexpected union of paragraphs upon PDF importBug
WORDSNET-28609Image is tagged outside the tableBug
WORDSNET-28408Import of MsoHtml lists differs from MS Word’s resultBug
WORDSNET-28603Hyperlinks are lost after PDF to DOCX conversionBug
WORDSNET-28462QR code from HTML is rendered improperlyBug
WORDSNET-28540HTML conditional comments are parsed incorrectlyBug
WORDSNET-28377Incorrect MathML output with parentheses when converting ODT to HTMLBug
WORDSNET-28629StructureDocumentTag content is not exported properly to HTMLBug
WORDSNET-28650Exception is thrown while converting Docx to HtmlBug
WORDSNET-28666Track changes partially lost when saving DOCX with dropdown content controls mapped to Custom XMLBug
WORDSNET-28689Character is rendered as missed glyphBug
WORDSNET-28649PDF is improperly converted to DOCXBug
WORDSNET-28617Data labels are lost after rendering chartBug
WORDSNET-28634Chart rendering from customer generated DOCXBug
WORDSNET-28605MD to DOCX: HTML table is not rendered in output fileBug
WORDSNET-28670NullReferenceException when saving DOCX to PDFBug
WORDSNET-28624Shape becomes opaque and hides content after renderingBug
WORDSNET-28504List numbering is not retained after extracting pagesBug
WORDSNET-28635Equation is not rendered inside the tableBug
WORDSNET-28639DOCX to PDF: Content control export brakes layoutBug
WORDSNET-28668InvalidOperationException is thrown upon saving document after updating SDTBug
WORDSNET-26360Incorrect alignment of labels on X axis of chartsBug
WORDSNET-28638Checkboxes are not exported in the output fileBug
WORDSNET-28633ArgumentOutOfRangeException on DOCX to XLSX re-savingBug
WORDSNET-28612Compare result does not match MS Word outputBug
WORDSNET-28644Content is moved to the next page after open/save RTFBug
WORDSNET-25066Tables are recognized improperly upon loading PDF documentBug
WORDSNET-28620Cell background is imported from RTF improperlyBug
WORDSNET-28642Too small height of row in XLSX outputBug
WORDSNET-28640ArgumentOutOfRangeException upon rendering to PDFBug
WORDSNET-28647Arabic numbers changed to European after adding HarfBuzzTextShaperFactoryBug
WORDSNET-28637Document corruption after using XmlMapping.SetMappingBug
WORDSNET-28606Insert HTML works slowBug
WORDSNET-28334Reverse order of Arabic text characters in SVG exportBug
WORDSNET-28619Text direction in shape is incorrect after renderingBug
WORDSNET-28630FileCorruptedException is thrown upon loading DOCX documentBug
WORDSNET-28608Aspose.Words does not allow using DoubleStrikeThrough effect for insert and movedTo revisionsBug
WORDSNET-28636Font variation parameters are missing in TTFontBug
WORDSNET-28553Incorrect size of plot area with a manual layout if type of the manual layout is “Outer”.Bug
WORDSNET-28625Font is substituted even if it is availableBug
WORDSNET-25957Wrong table layout when converting PDF to DOCXBug
WORDSNET-28388Extra spaces appears in URLs after convertion PDF to MDBug
WORDSNET-28561HarfBuzz caching issue with variable fontsBug
WORDSNET-28671Page reference numbers issueBug
WORDSNET-28244Incorrect font is applied when converting DOCX to Fixed-HTMLBug
WORDSNET-28632Shared static state between different Document instances corrupts font substitutionBug
WORDSNET-28535Inconsistent behavior with UpdatePageLayout() when using tables with different column countsBug
WORDSNET-28621FontSubstitution adds an additional file to the generated outputBug
WORDSNET-27564Parentheses are not exported properly to MathMLBug
WORDSNET-23804Matrix brackets are not displayed when HtmlOfficeMathOutputMode.MathML is usedBug
WORDSNET-26374Vertical bars brackets in equation are lost after converting to HTML with HtmlOfficeMathOutputMode.MathMLBug

Public API and Backward Incompatible Changes

This section lists public API changes that were introduced in Aspose.Words 25.10. 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 ability to export oMath (OOXML Math) as LaTex based expressions upon converting to Text.

Related issue: WORDSNET-28694

A new public property has been added to Aspose.Words.Saving.TxtSaveOptions class:

/// <summary>
/// Specifies how OfficeMath will be written to the output file.
/// Default value is <see cref="TxtOfficeMathExportMode.Text"/>.
/// </summary>
public TxtOfficeMathExportMode OfficeMathExportMode { get; set; }

and a corresponding enumeration into Aspose.Words.Saving namespace:

/// <summary>
/// Specifies how Aspose.Words exports OfficeMath to <see cref="SaveFormat.Text"/>.
/// </summary>
public enum TxtOfficeMathExportMode
{
    /// <summary>
    /// Export OfficeMath as plain text.
    /// </summary>
    Text = 0,

    /// <summary>
    /// Export OfficeMath as LaTeX.
    /// </summary>
    Latex = 3
}

This use case explains how to export OfficeMath equations as Latex while saving document to Text:

Added new public option PdfSaveOptions.ExportFloatingShapesAsInlineTag.

Related issue: WORDSNET-28609

A new public option ExportFloatingShapesAsInlineTag has been added to PdfSaveOptions class:

/// <summary>
/// Gets or sets a value determining whether floating shapes are exported as inline tags in the document structure.
/// </summary>
/// <remarks>
/// <para> Default value is <c>false</c> and floating shapes will be exported as block-level tags,
/// placed after the paragraph in which they are anchored.</para>
/// <para> When the value is <c>true</c> floating shapes will be exported as inline tags,
/// placed within the paragraph where they are anchored.</para>
/// <para> This value is ignored when <see cref="ExportDocumentStructure"/> is <c>false</c>. </para>
/// </remarks>
public bool ExportFloatingShapesAsInlineTag { get; set; }

This use case explains how to select between inline and block-level tag export for floating shapes:

Added support for IResourceSavingCallback to MarkdownSaveOptions class.

Related issue: WORDSNET-28557

A new public property has been added to Aspose.Words.Saving.MarkdownSaveOptions class:

/// <summary>
/// Allows to control how resources are saved when a document is exported to
/// <see cref="Aspose.Words.SaveFormat.Markdown"/> format.
/// </summary>
/// <remarks>
/// Note, there is only one type of resources in Markdown. These are images.
/// When you specify both <see cref="ImageSavingCallback"/> and <see cref="ResourceSavingCallback"/>,
/// then first is called <see cref="ResourceSavingCallback"/>. However, note it is not necessary to have both
/// implementations, as <see cref="ImageSavingArgs"/> is actually a subset of <see cref="ResourceSavingArgs"/>.
/// </remarks>
public IResourceSavingCallback ResourceSavingCallback { get; set; }

This use case explains how change file URI while saving document to Markdown: