Browse our Products
Aspose.Words for Python via .NET 25.7 Release Notes
Major Features
There are 68 improvements and fixes in this regular monthly release. The most notable are:
- Table Management: Added the Row.Hidden public property, enabling the ability to programmatically show or hide specific rows within a table.
- Font Rendering: Implemented initial support for OpenType Font Variations, allowing for richer and more flexible typographic display.
Full List of Issues Covering all Changes in this Release
Expand to view the full list of issues.
- Add public API to mark row as hidden
- Support XLSX header/footers in XLSX export
- Content are rendered outside the page at right side in PDF
- Table left indent is incorrect after rendering
- Consider Dropping Client Profile Support for Aspose.Words .NET 3.5 and 4.0
- MS Word doesn’t write ‘w:space’ attribute for last ‘w:col’ element
- System.NullReferenceException when comparing documents
- StackOverflowException during DOCX to PDF conversion when PreserveFormFields is enabled
- StackOverflowException is thrown upon rendering document to PDF with PdfSaveOptions.PreserveFormFields enabled
- Stack overflow when converting DOCX to PDF
- List item formatting is changed after open/save ODT
- Setting TableStyle.Bidi makes the table LTR
- Unexpected Bookmark Creation When Mapping Identical Content Controls to the Same Custom XML Part
- Fix warnings during conversion
- Aspose.Words hangs during rendering to PDF
- Infinite loop upon conversion to PDF
- Rendering process hangs upon converting document
- Aspose.Words hangs upon rendering document with hyphenation
- Aspose.Words hangs upon rendering document when hyphenation dictionary is specified
- UpdatePageLayout hangs upon conversion
- Hangs upon rendering document
- Aspose.Words hangs upon rendering document
- Rendering hangs upon conversion
- Analyze the System.IO.Compression version inside Pdf2Word
- EmbeddedFontCache throws ArgumentNullException in AOT config
- Changing the “SelectedValue” on ListItems collection does not create a revision
- Incorrect date header rendering in PDF output
- Chart is rendered as not filled with data
- Text wrapped incorrectly due to inaccurate shrinking of Courier New spaces
- “Asian typography/Allow Latin text to wrap in the middle of a word” option is ignored upon rendering
- MS Excel raises an error when opening output XLSX
- Incorrect content area width for non-rectangular DML shapes
- Text misalignment upon SVG rendering
- Investigation: InsertHtml to SDT: Content not inserted
- Aspose.Words.LowCode.Merger throws an XmlException
- Track changes are lost in dropdown content controls mapped to Custom XML when saving DOCX
- Building document layout of document with batch of inline images is slow
- List levels formatting in the document produced by MS Word differs from what AW generates
- Formatting of list levels in the document produced by MS Word differs
- Import of MsoHtml columns differs from MS Word’s result
- Mismatch in Column Import from MsoHtml vs. MS Word
- Inconsistent Column Rendering: MsoHtml Import vs. Word
- MsoHtml Column Import Produces Different Results than Word
- Discrepancy in Column Layout Between MsoHtml and MS Word Import
- Line break between text and shape is lost after extracting page
- DOCX to EPUB: Image not rendered correctly
- DOCX to MD: Links not working in output
- Code example for WarningInfoCollection is incorrect
- Import of MsoHtml lists differs from MS Word’s result
- Discrepancy in Column Layout Between MsoHtml and MS Word Import
- MsoHtml Column Import Produces Different Results than Word
- Inconsistent Column Rendering: MsoHtml Import vs. Word
- Mismatch in Column Import from MsoHtml vs. MS Word
- Add support for loading of lists from headers/footers
- Shaped text isn’t rendered correctly if text has borders
- Table row on a different page on conversion to PDF
- Part of content is moved to next page
- Size of single line legend
- Exception when saving a document in another thread after ExtractPages
- Layout of legend entries
- Y-axis labels are shifter and partially cut off
- Table layout is broken after removing SDTs
- Aspose.Words converting vs and MS Word converting
- Image is inserted upside-down when setting fill image
- Duplicated table content upon DOCX to PDF conversion
- Paragraph alignment is changed after appending document
- LST to DOC: Incorrect indentation and Blank pages added
- Words count in the document with custom list labels is incorrect
Public API and Backward Incompatible Changes
This section lists public API changes that were introduced in Aspose.Words for Python via .NET 25.7. 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 for Python via .NET 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 the Row.hidden public property, enabling the ability to programmatically show or hide specific rows within a table.
A new public property hidden has been added in Row class:
This use case explains how to programmatically show or hide specific rows within a table:
doc = aw.Document(file_name=MY_DIR + 'Tables.docx')
row = doc.first_section.body.tables[0].first_row
row.hidden = True
doc.save(file_name=ARTIFACTS_DIR + 'Table.HiddenRow.docx')
doc = aw.Document(file_name=ARTIFACTS_DIR + 'Table.HiddenRow.docx')
row = doc.first_section.body.tables[0].first_row
self.assertTrue(row.hidden)
for cell in row.cells:
cell = cell.as_cell()
for para in cell.paragraphs:
para = para.as_paragraph()
for run in para.runs:
run = run.as_run()
self.assertTrue(run.font.hidden)
First version of OpenType Font Variation support.
First version of OpenType Font Variation support has been released. Now variable font named instances are correctly laid-out both with and without HarfBuzz shaping and correctly embedded into PDF and XPS.
Limitations:
- Limited support when rendering to fixed page formats other than PDF and XPS
- Not supported glyph outlines retrieval (used in cases like WordArt text effects and 3D text effects).
Also OpenType Font Variation support affects font search cache export/import. In order for font variations to work properly, the cache should be generated in the new Aspose.Words version.
Removed obsolete PdfSaveOptions.embed_attachments property.
Obsolete property PdfSaveOptions.embed_attachments has been removed. PdfSaveOptions.attachments_embedding_mode should be used instead.