Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Words for Python via .NET 23.11.0, macOS x86, x64

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 76.85MB
  • Date Added:
  • 14/11/2023

Description

It contains Aspose.Words for Python via .NET 23.11.0, macOS x86, x64 release.

File Details

Chart Legend Font Formatting

  • ChartLegend.font is the newly added property that allows customizing the font formatting of chart legend entries.

Control the appearance of the chart legends font using the ChartLegend.font property.

The following code example shows how to apply custom formatting to the font in the chart legend including size and style (bold, italic).

from aspose.words import Document, NodeType
doc = Document("Reporting engine template - Chart series.docx")
shape = doc.get_child(NodeType.SHAPE, 0, True).as_shape()
chart = shape.chart

chart_legend = chart.legend
# Set default font size all legend entries.
chart_legend.font.size = 14
# Change font for specific legend entry.
chart_legend.legend_entries[1].font.italic = True
chart_legend.legend_entries[1].font.size = 12

doc.save("Charts.LegendFont.docx")

Source*

Document Sections Export to XLSX

  • This release includes two new additions: the XlsxSectionMode enumeration type and the XlsxSaveOptions.section_mode property.

You can manage how different sections are handled when exporting documents to XLSX format. Easily create a separate worksheet for each document section or combine all sections into a single worksheet.

This Python code snippet illustrates how to save all document sections into a single worksheet:

from aspose.words import Document
from aspose.words.saving import XlsxSaveOptions, XlsxSectionMode

doc = Document("document.docx")

# Each section of a document will be created as a separate worksheet.
# Use 'SingleWorksheet' to display all document on one worksheet.

xlsx_save_options = XlsxSaveOptions()
xlsx_save_options.section_mode = XlsxSectionMode.MULTIPLE_WORKSHEETS

doc.save("XlsxSaveOptions.SelectionMode.xlsx", xlsx_save_options)

Source*

Structured Document Tag Handling

  • A new public property word_open_xml_minimal is added to StructuredDocumentTagRangeStart node in this release.

Developers can conveniently access stripped-down XML content within the StructuredDocumentTagRangeStart nodes using the new word_open_xml_minimal property.

The code snippet shared below highlights the usage of this property:

from aspose.words import Document, NodeType

doc = Document("Multi-section structured document tags.docx")

tag = doc.get_child(NodeType.STRUCTURED_DOCUMENT_TAG_RANGE_START, 0, True).as_structured_document_tag_range_start()

self.assertTrue(tag.word_open_xml_minimal.find(
    "<pkg:part pkg:name=\"/docProps/app.xml\" pkg:contentType=\"application/vnd.openxmlformats-officedocument.extended-properties+xml\">") > 0)
self.assertTrue(tag.word_open_xml_minimal.find(
    "xmlns:w16cid=\"http://schemas.microsoft.com/office/word/2016/wordml/cid\"") < 0)

Source*

Other Highlights

  • Python 3.5 support ends with version 23.12: Starting with the 23.12 version of Aspose.Words for Python via .NET, support for Python 3.5 will be dropped. Please refer to the full release notes for details.
  • HtmlSaveOptions.epub_navigation_map_level property removal: This obsolete property has been removed, and developers are requested to use the HtmlSaveOptions.navigation_map_level property in its place.

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Words for Python via .NET 23.11 Release Notes.

 English