Aspose.Words for SharePoint Upgraded to Aspose.Words for .NET 19.8

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are really delighted to announce the release of version 19.8 of the Aspose.Words for SharePoint API. This release inherits some very exciting features to enhance the usability of the API. This version sees the codebase better tweaked and the core functionality closer to Aspose.Words for .NET 19.8, which is the base product that Aspose.Words for SharePoint 19.8 is ported from.

We recommend you to download the latest release and check out all the features introduced in the base Aspose.Words for .NET API. You can download the latest release of Aspose.Words for SharePoint from the following link:

See Also Useful Links

The resources, you may need to accomplish your tasks:

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for SharePoint API by posting your suggestions and concerns in the Aspose.Words for SharePoint support forum.

Posted in Aspose.Words Product Family | Leave a comment

Enhanced PowerPoint shapes capabilities using Aspose.Slides

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here comes new release of Aspose.Slides 19.8 for .NET, Java and C++, which contains a lot of new features. In this blog, we will explore different enhanced features improving PowerPoint shapes capabilities. The shapes in a presentation could be distinguished by the Alternative Text or Shape Name property. The Alternative Text property can be read or set by using Aspose.Slides as well as Microsoft PowerPoint. By using this property, one can tag a shape and can perform different operations; such as removing a shape, hiding a shape or reordering shapes on a slide.

In following sections, I will give you walk through of new features included in API.

Hiding Shapes

In this new release, we have provided feature to hide any shape. First, one need to identify the desired shape using Alternative Text property. Then using following example code hiding of shapes is achieved in API.

The similar Java based example for this is:

The similar C++ based example for this is:

Get Effective Properties of Camera

Aspose.Slides provide feature to get effective properties of the camera. For this purpose, the Camera Effective Data class has been added in Aspose.Slides. Camera Effective Data class represents an immutable object which contains effective camera properties. The purpose of this property is to get camera properties from presentation file.

The similar Java based example for this is:

The similar C++ based example for this is:

Get Effective Font Height Value

In this new release, the support for getting effective font height value has also been made available. The following example demonstrates the portion’s effective font height value changing after setting local font height values on different presentation structure levels. 

The similar Java based example for this is:

The similar C++ based example for this is:

Setting Layout Mode of Chart Plot Area

Setting layout mode for chart plot area is one of frequently used feature and has now been introduced in API as well. For this purpose, a property LayoutTargetType has been added to ChartPlotArea class and IChartPlotArea interface. If the layout of the plot area is defined manually then this property specifies whether to layout the plot area by its inside (not including axis and axis labels) or outside (including axis and axis labels). There are two possible values which are defined in LayoutTargetType enum.

The following examples demonstrate how to Set Layout Mode of chart using API.

The similar Java based example for this is:

The similar C++ based example for this is:

Get Effective Fill Format for Table

Aspose.Slides provides feature to get effective fill formatting for different table logic parts. For this purpose, the IFillFormatEffectiveData interface has been added in Aspose.Slides, which contains effective fill formatting properties. One thing to note is that cell formatting always has higher priority than row formatting, a row has higher priority than column and column higher that whole table. The CellFormatEffectiveData properties are always used to draw the table.

The following code sample shows how to get effective fill formatting for different table logic parts.

The similar Java based example for this is:

The similar C++ based example for this is:

Set File Type for an Embedding Object

Now, API also provides feature to set file type of an embedded object. These feature allow to get OLE object as a parameter. So now OLE object contains its type and PowerPoint can open created OLE objects.

The following example shows how to set file type for an embedding object:

The similar Java based example for this is:

The similar C++ based example for this is:

Wait, there’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Slides Product Family | Leave a comment

Create Repeating Content Control and VBA Macro in Aspose.Words for .NET 19.9

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Words for .NET logo

It is our pleasure to announce September release of Aspose.Words for .NET. We have included quite exciting features and enhancements in this release. Now, you can generate reports using LINQ Reporting with data sources like XML, JSON, and CSV. Working with VBA macro code, programmatically create repeating section content control, link custom document property to bookmark and many other features have been included in this release. let’s check out what this release offers and how to use newly introduced features.

Create Repeating Section Content Control

MS Word allows you to insert the repeating content control with XML mapping in Word document. You can insert repeating content control around entire paragraphs or table rows. We have added this feature in the latest release of Aspose.Words. A new enumeration type RepeatingSectionItem has been added in this release. Please read the following article for more detail.

Working with Repeating Section Content Control

LINQ Reporting with XML, JSON, and CSV Data Sources

As you know, LINQ Reporting Engine enables you to build reports using an extended set of reporting features. The engine enables you to reference business objects of your application in report templates. We have added XmlDataSource, JsonDataSource, and CsvDataSource classes in this release to use XML, JSON, and CSV as data sources to generate reports using LINQ Reporting. Please read the following articles for complete detail of this feature.

Accessing XML Data
Accessing JSON Data
Accessing CSV Data

Create and Modify VBA Macros

A new property VbaModule.SourceCode has been added in this release to get or set VBA project module source code. Following code example demonstrates how to modify VBA Macros using the VbaModule.SourceCode property.

Link Custom Document Property to Bookmark

MS Word allows you to link custom document property to a bookmark. In MS Word, you can check this option under document properties dialog. In this release, we have added LinkSource and IsLinkToContent properties in DocumentProperty class and a method AddLinkToContent in CustomDocumentProperties class. Following code example shows how to link custom document property to a bookmark.

Remove License.IsLicensed property

The License.IsLicensed obsolete property has been removed in order to increase anti-hacking resistance. Moreover, this property was useless because of the License.SetLicense method. This method throws an exception in case of a wrong license key.

Introduced SavePictureBullet option for MS Word 97 Document

We have added DocSaveOptions.SavePictureBullet property in this release to work with PictureBullet data. This option is provided for MS Word 97 which cannot work correctly with PictureBullet data. Please set this option to "false" to remove PictureBullet data.

We recommend you please check the release notes of Aspose.Words for .NET 19.9 for complete detail of API changes.

When time allows you can check Aspose.Words' API reference guide, examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Words Product Family | Leave a comment

Zimbra and IBM Notes support included in Aspose.Email

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello firends! in today’s blog, I am going to introduce you to what new features have been included in Aspose.Email 19.8. The API has been published for both .NET and Java and having same features sets. This way, the users of both API’s can make use of new features irrespective of application and platform type. In following sections, I will shed some light on new features available in API and how to use them.

Working with Zimbra

Zimbra is an email, calendar and collaboration suite built for the cloud. Zimbra includes complete email, contacts, calendar, file sharing, tasks and messaging/videoconferencing, all accessed from the Zimbra Web Client from any device.

Aspose.Email provides the TgzReader class to read Zimbra TGZ storage files. The following example demonstrates the use of the TgzReader class to read all messages from the file.

The similar Java based example for this is:

One can also save all the message with directory structure from the Zimbra TGZ storage file. For this, the TgzReader class provides a method ExportTo which takes the output path as a parameter. The following example demonstrates the use of the TgzReader.ExportTo method to save all messages from the Zimbra TGZ storage file.

The similar Java based example for this is:

Working with IBM Notes

IBM Notes is the client and IBM Domino is the server of a collaborative client-server software platform. IBM Notes provides collaboration features like email, calendars, to-do lists, contacts management, etc. The database file used by IBM Notes is saved in the Notes Storage Facility (NSF) format.

Aspose.Email provides the NotesStorageFacility class to read NSF storage files. The NotesStorageFacility class provides the EnumerateMessages method which iterates over the messages in the NSF storage file. The following sample code demonstrates the use of the NotesStorageFacility class and the EnumerateMessages method to read messages from the NSF storage file.

The similar Java based example for this is:

There’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Email Product Family | Leave a comment

Support for Deskewing Image in Aspose.Imaging

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello readers, in this blog I would like to introduce you with new features included in Aspose.Imaging 19.9. Best thing about Aspose team is that it releases both .NET and Java based APIs simultaneously every month. This way both API user remain recurrent with changes being made in APIs every month.

In following sections, I am going to give you a walk through of what new features have been included in API.

Deskew a Scanned Image

Skew is an artifact that might appear during document scanning process and it consists of getting the document’s text/images be rotated at a slight angle. It can have various causes but the most common are paper getting misplaced during a scan. Therefore, deskew is the process of detecting and fixing this issue on scanned files (ie, bitmap) so deskewed images will have the text/images correctly and horizontally aligned.

The following examples demonstrate use of de-skewing an image using API.

The similar Java based implementation is like as under:

Performance improvements in API

As against previous API versions, we have tend to improve the API performance in many areas when performing different operations including:

  • Raster Images filtering operations
  • Dithering operations in Raster Images
  • Image resize operations

Wait, there’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Imaging Product Family | Leave a comment

Track conversion progress for Excel to PDF with Aspose.Cells for Node.js via Java 19.8

Share on FacebookTweet about this on TwitterShare on LinkedIn

Do you want a feedback mechanism while huge Excel files are converted to PDF? Great! Get the latest enhanced version of Aspose.Cells for Node.js via Java 19.8 to use this exciting feature by adding just a few lines of codes.

We are happy that once again we got the chance to present an updated and enhanced version of Aspose.Cells for Node.js via Java v19.8. This time we have added new features for processing the ODS file background to create more user-friendly output files having color and image in the background. We have also enhanced our rendering features to HTML, PDF and improvements in many functions of common use. Well, I think rather than writing a lot about these features one by one, better to have a brief overview of the new version from the release notes and then start exploring this release. What do you say?

Track Conversion Progress

You are converting a huge Excel file to PDF, watching the loading screen and waiting for the program to finish the task. A lot of patience is required for this and it seems that there should be something which shows the document conversion progress. That’s it. We have achieved this functionality by providing the IPageSavingCallBack interface. Using this interface you will be able to get the total number of pages which are to be rendered to PDF along with the methods PageStartSaving and PageEndSaving. These methods should be implemented in some custom class which will continuously provide the current page number which is being rendered and the total number of pages. Using this custom class you can use a variety of graphical controls or simply display text in a console application to show the document conversion progress page by page.

Here is a ready to run example along with a custom class sample where these methods implementation is demonstrated. Just copy this code and enjoy the new progress monitoring feature.

The following is the code for the TestPageSavingCallback custom class.

Here is the sample output of the program:

Start saving page index 0 of pages 11
End saving page index 0 of pages 11
Start saving page index 1 of pages 11
End saving page index 1 of pages 11
Start saving page index 2 of pages 11
End saving page index 2 of pages 11
Start saving page index 3 of pages 11
End saving page index 3 of pages 11
Start saving page index 4 of pages 11
End saving page index 4 of pages 11
Start saving page index 5 of pages 11
End saving page index 5 of pages 11
Start saving page index 6 of pages 11
End saving page index 6 of pages 11
Start saving page index 7 of pages 11
End saving page index 7 of pages 11
Start saving page index 8 of pages 11
End saving page index 8 of pages 11

Following is the summary of this new feature:

  • Get total number of pages which can be rendered
  • Get trigger when a page rendering is started with page index
  • Get trigger when a page rendering is finished with page index
  • Cancel or abort an operation at a particular page as per your requirement

Convert XLS to XLSX with Combo Chart

Older versions of Aspose.Cells were not converting the XSL to XLSX with Combo charts properly as these charts were being flattened. The good news is that this shortcoming is no more there with the release of this new version as this issue is addressed and the charts can be rendered correctly.

Following comparisons show the results before and after this update.

The result before the update

The result after the update


Important To Know

As we already announced that Aspose.Cells for JavaScript via Java has been renamed to Aspose.Cells for Node.js via Java now. Aspose.Cells for Node.js via Java is a subset component that includes all the important and useful features present in its native Aspose.Cells for Java. Aspose.Cells for Node.js via Java presents all the useful features of Aspose.Cells for Java using Node.js. It is a class library that enables you to perform a great range of spreadsheet processing tasks. Aspose.Cells for Node.js via Java is a scalable and feature rich API that offers spreadsheet format conversion, styling of worksheets at every level, chart management & rendering, and our reliable Formula Calculation Engine.

Please note, The APIs structure still remains the same, so it won’t disturb our existing clients who can still use the APIs without any changes in the code. We have revamped the Wiki Conf. Docs accordingly. We have also changed Aspose.Cells for JavaScript via Java node to Aspose.Cells for Node.js via Java in Downloads section. Moreover, the product pages are now updated. Similarly API Reference section for the product and other important areas are already accommodated accordingly.

So what are you waiting for? Open your IDE and start testing these new features using this latest release Aspose.Cells for Node.js via Java 19.8. You may also consult the Developer’s Guide for all the details of Aspose.Cells and if need a ready to run project with all the examples, just click here and download the project from GitHub. Forums are there for assisting you and answering all your queries about this product.

Posted in Aspose.Cells Product Family | Leave a comment

Tag Tables in PDF Document for Accessibility using Aspose.PDF for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.PDF for .NET has been maintaining its usability since the beginning by offering exciting and most appealing features consistently. Speaking of which, a new monthly release of the API has already been rolled out and it does not disappoint you because of useful enhancements and productive features. You are going to have a quick tour to what’s new in the API and why you should not be holding yourself from upgrading your recent version. Let’s have insights into what Aspose.PDF for .NET 19.6 has brought and how you can consume it for better productivity and impeccable PDF Documents generation.

Create Accessible PDFs with Tagged Tables

Tagging tables inside PDF is quite important as it helps ensure that the data listed is listed out in clear and concise manner. A tagged table makes it easier for users to read content in very long tables with repetitive data and also makes it accessible for any viewers who interact with your content that may be using accessible programs.

You can now tag tables in PDF Document for Accessibility using Aspose.PDF for .NET. For the purpose, it provides TableElement Class. In order to create table, you can use CreateTableElement() Method of ITaggedContent Interface. Following is complete code example which can be followed in order to achieve full functionality:

Styling Table Elements

Styling table elements is as much important and demanding as creating them. It gives a better and professional look to your content inside PDF document and helps users during reading it. Aspose.PDF for .NET allows you to apply styling to table elements i.e. Table Content, Table Row and Table Cells. Properties like following can be specified using offered classes by the API in order to apply styling:

  • BackgroundColor
  • Border
  • Alignment
  • CornerStyle
  • Broken
  • ColumnAdjustment
  • ColumnWidths
  • DefaultCellBorder
  • DefaultCellPadding
  • DefaultCellTextState
  • DefaultColumnWidth
  • IsBroken
  • IsBordersIncluded
  • Left
  • Top

Complete and fully functional examples are give in API documentation which will show you how to style tagged table content in PDF documents. You can find these examples over following links:

More Enhancements and Features

We are not over yet as this release of the API has very much to offer. Along with the functionalities discussed above, Aspose.PDF for .NET offers following useful enhancements and new features:

Convert Markdown to PDF

You can now convert a Markdown data file into PDF using the API. In order to do that, you simply have to utilize API with few lines of code as follows:


Set Default Font while Generating Images from PDF Pages

Sometimes due to an absent font, you are unable to get correct output while converting PDF Pages into Images. You can now set Default Font Name during rendering PDF Pages to Images if a font is not available in the document. Following code snippet shows you how:


Useful Fixes

Following are useful fixes which API includes in this revision:

  • Font colors rendering is improved during PDF to HTML Conversion
  • HtmlFragment functionality has been rectified
  • PDF to JPG Conversion has been improvised
  • Memory consumption and usage has been optimized
  • HTML to PDF Conversion is further improved
  • Text Searching Algorithms have been improved further
  • Document Flattening functionality has been rectified for better performance

You can view detailed information in release notes page of the API in documentation. Feel free to reach us in case of any inquiry or required assistance. Keep yourself in touch with us so that you won’t miss another update about future revision of the API.

Posted in Aspose.PDF Product Family, Asad Ali | Leave a comment

Improved HTML Formatting in Aspose.Words for Reporting Services 19.8

Share on FacebookTweet about this on TwitterShare on LinkedIn
Aspose.Words for SSRS icon

Hi guys! We are pleased to announce new release of Aspose.Words for Reporting Services i.e. 19.8. We have upgraded it to Aspose.Words for .NET 19.8 and improved HTML formatting for output documents. Please check the release notes for more detail.

You can download the latest release of Aspose.Words for Reporting Services 19.8 from the following link:

Download Aspose.Words for Reporting Services 19.8

When time allows you can check documentation of Aspose.Words for Reporting Services and talk about this release and other related issues in our forum.



Posted in Aspose.Words Product Family | Leave a comment

Detect Hyperlink Type with Aspose.Cells for Java 19.8

Share on FacebookTweet about this on TwitterShare on LinkedIn

You get a list of hyperlinks from an Excel file and now thinking about how to categorise them into different types in order to select the appropriate method for processing each of them. Don’t panic! Aspose.Cells for Java 19.8 is released containing the solution for this problem. This is not the only feature introduced in this release but there are many more to explore like extracting embedded MOL file, getting total page count before converting to PDF/Image, inserting SVG file into a worksheet and supporting Java 12 are just a few to list here. You may have a look at the release notes to get the complete list of features and bug fixes which are part of this new release. Let us see in detail what are these features and how to use them.

Detect Hyperlink Type

There can be different types of hyperlinks which can be used in an Excel file like external, cell reference, file path and email. Our new release has introduced an enumerator TargetModeType which represents the type of hyperlink. A new property LinkType is introduced in Hyperlink class which return the hyperlink type using above mentioned enumerator. Following are the enumerator members:

Here is an example which can be used to exercise this new feature. Also for more details visit here.

Program output vs template Excel file

Get total page count before PDF/image creation

Well, the title is explaining this new feature. When a file has too many pages, the process of converting to pdf/image may use too much memory and CPU, and OOM exception may be thrown. Getting total page count before converting can indicate this risk, and do some actions(e.g. skip this file) or print the selected pages to avoid the undesired results. For example one of my sample Excel file (870 KB) was showing about 38 million pages. Just imagine, what will happen if you come across a conversion containing such a huge number of pages!!! Following is an example to show the usage of new classes SheetPrintingPreview and WorkbookPrintingPreview. Both of these classes contain a property EvaluatedPageCount which returns the page count of the printout or PDF file. Here is an article which provides more details in this regard.

Extracting Embedded MOL File

As you know that molecular data file created in the MDL Molfile format, a chemical file format; contains plain text information and stores information about atoms and bonds; often used as a standard exchange format for molecular information. This type of file can be embedded in the Excel file. In this latest release, support is provided to extract object of such an uncommon type i.e. MOL. The following code snippet demonstrates extracting embedded MOL file and saving it to disk. For more details and sample file please visit here.

Other features and enhancements

  • Support for Java 12 is available now
  • Enhancements to avoid high CPU and memory usage during Excel to PDF conversion
  • Copying waterfall chart style while copying the workbook
  • Proper refreshing of PivotTable and PivotCharts
  • Avoid differences during conversion to HTML
  • Remove unwanted extended borderline in Excel to PDF rendering
  • Calculate appropriate image position while rendering to PDF
  • Ensure copying table properties while using copyColumns() function
  • Keep the image transparent instead of opaque during picture copy

The wait is over and you may get ready to test the new features. Following resources may help you to achieve your targets using Aspose.Cells.

Posted in Aspose.Cells Product Family | Leave a comment

Detect Hyperlink Type with Aspose.Cells for .NET 19.8

Share on FacebookTweet about this on TwitterShare on LinkedIn
Aspose.Cells for .NET logo Guys, in the blog you will learn how to categorize hyperlinks in order to select the appropriate method for processing each of these links. You may also explore and extract embedded MOL file. Moreover, we now provide a solution when rendering bigger files (having millions of pages in the sheet(s)). You may get total pages count before converting to PDF/Image, This is a good thing to know to decide whether to render or not to render. You may have a look at the release notes to get the complete list of features and bug fixes which are part of this new release. So let’s not wait another moment to review the release notes.  To get essence of the public release (Aspose.Cells for .NET v19.8), I am giving you preview of the new features and other enhancements available in it.

Detect Hyperlink Type

There can be different types of hyperlinks which can be used in an Excel file like external, cell reference, file path and email. Our new release has introduced an enumerator TargetModeType which represents the type of hyperlink. A new property LinkType is introduced in Hyperlink class which return the hyperlink type using above mentioned enumerator. See the document on how to detect different types of hyperlinks for your complete reference. Here is an example which can be used to exercise this new feature.
Program output vs template Excel file

Get total page count before PDF/image creation

Well, the title is explaining this new feature. When a file has too many pages, the process of converting to pdf/image may use too much memory and CPU, and OOM exception may be thrown. Getting total pages count before converting can indicate this risk, and do some actions (e.g. skip this file) or print the selected pages to avoid the undesired results. For example one of my sample Excel file (870 KB) was showing about 38 million pages. Just imagine, what will happen if you come across a conversion containing such a huge number of pages. Following is an example to show the usage of new classes SheetPrintingPreview and WorkbookPrintingPreview. Both of these classes contain a property EvaluatedPageCount which returns the page count of the printout or PDF file.
See the document on printing preview workbook and worksheet for your complete reference.

Extracting Embedded MOL File

As you know that molecular data file created in the MDL Molfile format, a chemical file format; contains plain text information and stores information about atoms and bonds; often used as a standard exchange format for molecular information. This type of file can be embedded in the Excel file. In this latest release, support is provided to extract object of such an uncommon type i.e. MOL. The following code snippet demonstrates extracting embedded MOL file and saving it to disk.
See the document on extract embedded MOL file for your reference.

Other enhancements and fixes

  • An enhancement is made to Aspose.Cells.GridWeb for compatibility with MVC.
  • Improved performance for calculating large matrix with double values.
  • The document fails to save when saved more than 10 times.
  • Handled an exception when getting image from SheetRender for encrypted ODS file.
  • Handled an excetion when calculating charts on an excel with a number > int.MaxValue.
  • Fixed the error "IndexOutOfRangeException" when using smart marker with a pivot table and saving the workbook.
  • Fixed an error "Index was outside the bounds of the array" while converting XLSX to PDF.
  • Fixed an error "Invalid MsoLineDashStyle string val" when loading an XLSX file format.
To use these features and avail other enhancements and fixes, I recommend you to try the release Aspose.Cells for .NET v19.8. Moreover, I recommend you to browse Developers’ Guide for your complete reference on what you can deliver using the APIs. Also, you are always welcome to share your review, concerns or feedback on forums.
Posted in Aspose.Cells Product Family | Leave a comment