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 24.5.0 Linux x86_64

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 76.17MB
  • Date Added:
  • 7/6/2024

Description

This wheel contains Aspose.Words for Python via .NET version 24.5.0, built for Linux and targeting the x86_64 architecture.

File Details

Linux developers, rejoice! Aspose.Words for Python via .NET 24.5.0 is here, and it empowers your document manipulation applications with new and exciting features. Organize your documents and work with an advanced feature set on the Linux platform.

Smooth Removal of Empty Doc Pages

Remove empty document pages with the new remove_blank_pages method in this Python word-processing API version and enhance the document management capabilities of your apps.

Catchy Combo Charts for Your Documents

Add good-looking combo charts to your documents using Aspose.Words for Python via .NET API v24.5.0. Combine various chart types into a single series group and manage gap width, overlap, and bubble scale properties for a rich user experience. The following code examples showcase a combo chart created with the secondary Y axis and removing the secondary axis, respectively.

Combo chart with secondary Y axis:


doc = aw.Document()
builder = aw.DocumentBuilder(doc)
shape = builder.insert_chart(chart_type=aw.drawing.charts.ChartType.LINE, width=450, height=250)
chart = shape.chart
series = chart.series
# Delete default generated series.
series.clear()
categories = ['Category 1', 'Category 2', 'Category 3']
series.add(series_name='Series 1 of primary series group', categories=categories, values=[2, 3, 4])
series.add(series_name='Series 2 of primary series group', categories=categories, values=[5, 2, 3])
# Create an additional series group, also of the line type.
new_series_group = chart.series_groups.add(aw.drawing.charts.ChartSeriesType.LINE)
# Specify the use of secondary axes for the new series group.
new_series_group.axis_group = aw.drawing.charts.AxisGroup.SECONDARY
# Hide the secondary X axis.
new_series_group.axis_x.hidden = True
# Define title of the secondary Y axis.
new_series_group.axis_y.title.show = True
new_series_group.axis_y.title.text = 'Secondary Y axis'
# Add a series to the new series group.
series3 = new_series_group.series.add(series_name='Series of secondary series group', categories=categories, values=[13, 11, 16])
series3.format.stroke.weight = 3.5
doc.save(file_name=ARTIFACTS_DIR + 'Charts.SecondaryAxis.docx')

Source*

Removing secondary axis:


doc = aw.Document(file_name=MY_DIR + 'Combo chart.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
chart = shape.chart
series_groups = chart.series_groups
# Find secondary axis and remove from the collection.
i = 0
while i < series_groups.count:
    if series_groups[i].axis_group == aw.drawing.charts.AxisGroup.SECONDARY:
        series_groups.remove_at(i)
    i += 1

Source*

Work with SoftEdge Effects

Boost the aesthetic appeal of your shapes with the new SoftEdge property in this Python Word document manipulation API release. Modify the radius of the soft edges to enable elegant effects. Here is how to use this feature in your Python applications running on Linux.


builder = aw.DocumentBuilder()
shape = builder.insert_shape(shape_type=aw.drawing.ShapeType.RECTANGLE, width=200, height=200)
# Apply soft edge to the shape.
shape.soft_edge.radius = 30
builder.document.save(file_name=ARTIFACTS_DIR + 'Shape.SoftEdge.docx')
# Load document with rectangle shape with soft edge.
doc = aw.Document(file_name=ARTIFACTS_DIR + 'Shape.SoftEdge.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
# Check soft edge radius.
self.assertEqual(30, shape.soft_edge.radius)
# Remove soft edge from the shape.
shape.soft_edge.remove()
# Check radius of the removed soft edge.
self.assertEqual(0, shape.soft_edge.radius)

Source*

High-resolution SVG Exports

We have added a new property, max_image_resolution, in SvgSaveOptions to ascertain high-quality SVG exports. Select the desired resolution in pixels per inch for optimized results. Check out the code snippet given below to learn about the feature usage.


doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
save_options = aw.saving.SvgSaveOptions()
save_options.max_image_resolution = 72
doc.save(file_name=ARTIFACTS_DIR + 'SvgSaveOptions.MaxImageResolution.svg', save_options=save_options)

Source*

Adjustment for The Shape Values

The AdjustmentCollection and Adjustment classes let to enjoy greater control over shape adjustments and obtain/edit raw adjustment values programmatically. This code sample highlights feature usage.


doc = aw.Document(file_name=MY_DIR + 'Rounded rectangle shape.docx')
shape = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape()
adjustments = shape.adjustments
self.assertEqual(1, adjustments.count)
adjustment = adjustments[0]
self.assertEqual('adj', adjustment.name)
self.assertEqual(16667, adjustment.value)
adjustment.value = 30000
doc.save(file_name=ARTIFACTS_DIR + 'Shape.Adjustments.docx')

Source*

Effortless Macro Detection

Developers can use the has_macros property in FileFormatInfo to upgrade document processing workflows on Linux machines. This feature allows you to identify the presence of VBA macros without needing to load the document completely, as shown in this Python code snippet.


file_format_info = aw.FileFormatUtil.detect_file_format(file_name=MY_DIR + 'Macro.docm')
self.assertTrue(file_format_info.has_macros)

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 24.5.0 Release Notes.

 English