Support for TAR and GZIP Added With Aspose.ZIP for .NET 19.1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-zip-for-netWe are pleased to announce the release of Aspose.ZIP for .NET 19.1. This release introduces support for working with TAR and GZIP. For a detailed note on what is new and fixed, you may visit the release notes section of API.

Support For Unix Standard TAR Archive

Aspose.ZIP for .NET now supports USTAR archives as most modern TAR programs read and write archives in the UStar (Unix Standard TAR) format, introduced by the POSIX IEEE P1003.1 standard from 1988. It was introduced additional header fields and older TAR programs ignore the extra information (possibly extracting partially named files), while newer programs will test for the presence of the “ustar” string to determine if the new format is in use. The UStar format allows for longer file names and stores additional information about each file. The maximum filename size is 256, but it is split among a preceding path “filename prefix” and the filename itself, so can be much less.

Support For GZIP Archive


GZIP is a file format and a software application used for file compression and decompression which is not supported by Aspose.ZIP for .NET with this latest release.


API Resources

We have detailed information available online for getting started with the Aspose.ZIP for .NET API. These are:

Posted in Aspose.ZIP Product Family | Leave a comment

Create PST folder hierarchy with string notation in Aspose.Email for Java 18.12

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-email-for-javaWe are pleased to announce the release of Aspose.Email for Java 18.12. This release provides the ability to create a folder hierarchy in PST files using string notation and other bug fixes. For a detailed note on what is new and fixed, you may visit the release notes section of API.

Create folder hierarchy in PST file by using string notation

This release adds an overload to addSubFolder(string name, bool createHierarchy) and createPredefinedFolder(string name, StandardIpmFolder defaultFolder, bool createHierarchy) functions that enable you to create folder hierarchy using string notation as shown below in the code example.

PersonalStorage personalStorage = PersonalStorage
.create("CreateFolderHierarchyUsingStringNotation.pst",
FileFormatVersion.Unicode);

personalStorage.getRootFolder()
.addSubFolder("Inbox\\Folder1\\Folder2", true);


By setting the second parameter of addSubFolder() to true, you can create folder hierarchy using string notation. Backslash (“\”) is used as the path separator.

Other Improvements

This release includes several improvements in term of bug fixes. Following is the list of improvements in this month’s release.

  • Fetching messages with ImapClient
  • Converting email message to MHTML
  • Reading Distribution Lists
  • Working with MapiContact and VCF
  • VCF to MHT conversion
  • Working with ICS
  • Working with MapiMessage attachments
  • Working with EMLX files

API Resources

We have detailed information available online for getting started with the Aspose.Email for Java API. These are:

Posted in Aspose.Email Product Family | Leave a comment

Create PST folder hierarchy with string notation in Aspose.Email for .NET 18.12

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Email for .NET 18.12. This release provides the ability to create a folder hierarchy in PST files using string notation and other bug fixes. For a detailed note on what is fixed, please visit the release notes section of API.

Create folder hierarchy in PST file by using string notation

This release adds an overload to AddSubFolder(string name, bool createHierarchy) and CreatePredefinedFolder(string name, StandardIpmFolder defaultFolder, bool createHierarchy) functions that enable you to create folder hierarchy using string notation as shown below in the code example.

PersonalStorage personalStorage = PersonalStorage.Create(dataDir + 
"CreateFolderHierarchyUsingStringNotation.pst",
FileFormatVersion.Unicode);

personalStorage.RootFolder.AddSubFolder(@"Inbox\Folder1\Folder2",
true);


By setting the second parameter of AddSubFolder() to true, you can create folder hierarchy using string notation. Backslash (“\”) is used as the path separator.

Other Improvements

This release includes several improvements in term of bug fixes. Following is the list of improvements in this month’s release.

  • Fetching messages with ImapClient
  • Converting email message to MHTML
  • Reading Distribution Lists
  • Working with MapiContact and VCF
  • VCF to MHT conversion
  • Working with ICS
  • Working with MapiMessage attachments
  • Working with EMLX files

API Resources

The following API resources can be of help to you in getting started with Aspose.Email API.

Posted in Aspose.Email Product Family | Leave a comment

Export print area range to HTML, update smart art text and create HTML with scalable column width using Aspose.Cells for Android via Java 18.12

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Cells for Android via Java 18.12. This release includes some new features, enhancements and other bug fixes that further improve the overall stability and usability of the API. For an easy access and utilization, Aspose.Cells for Android via Java APIs can be directly installed from Maven repository, see the document for your reference. Please check the release notes in order to get an idea about what is new and what has been fixed with this revision of Aspose.Cells for Android via Java. While you are downloading the latest build, here is a quick look at the most worth mentioning features in this release.

Scalable column width

Depiction of data through HTML page is very common, however this page can be opened in variety of devices including mobiles, tabs and other hand held devices which contain small screens. The size of the columns is defined in “pt” which works in many cases. However there can be case where this fixed size may not be required. For example if container panel width is 600px where this HTML page is being displayed. In this case you may get horizontal scrollbar if the generated table width is bigger. This requirement is addressed by providing scalable units like em or percent for a better presentation.

For a working example refer to the following article:

Support to handle self closing tags in HTML

Empty tags are very common while working with HTML like we can face <td></td> or simply <td/>. Earlier self closing tags were not supported however now this support is provided. Now you can load any HTML with self closing tags and convert it to Excel file.

For a working example refer to the following article:

Support for German Locale in Named Range Formulae

Named regions can have English formulae and this file can be used in environments where  systems are configured to German Locale. There is need to translate these English formulae completely to German language for correct usage in Excel configured for German language. This feature is fully functional and can be used without any extra coding.

For a working example along with a template file refer to the following article:

Custom filter with BeginsWith and EndsWith

Excel provides custom filters like filter rows which begins with and ends with some specific string. This feature is available in Aspose.Cells and demonstrated by providing working examples.

For a working example refer to the following article:

Get connection points from shapes 

Aspose.Cells provide rich features to manage shapes in the spreadsheet. Sometimes there is need to get the connection points of a shape for aligning or placing the shapes at appropriate place. For this purpose all the connection points are required. Following code can be used to get the list of connection points of a shape where Shape.GetConnectionPoints() function is used.

For a working example refer to the following article:

Pivot table refresh date/time and Refreshed by who

Pivot tables are very common reports which are present in the workbooks. These reports are updated time by time and it is important to know the last time when report was updated for better decision making. Aspose.Cells has provided this feature by introducing property RefreshDate. Similarly name of the person who updated the pivot table is also provided as property RefreshedByWho. 

For a working example refer to the following article:

Update smart art text

Smart art is used for better representation of information however earlier the text in the smart art shapes was fixed. This limitation is gone now as now smart art text can be updated. For this purpose shape.setText() function is introduced which sets new text in the smart art shape.

For a working example refer to the following article:

Data validation for huge numbers

Data validation is done in variety of ways to control the input in the Excel file. Like limit can be defined for a cell within which some number can be entered, otherwise error message is raised. Issues were faced for validation of large numbers like 12345678901 etc. in the past but now this much large numbers are supported by Aspose.Cells.

For a working example along with a template file refer to the following article:

Rendering Active Worksheet in a Workbook to SVG

Aspose.Cells has introduced rendering active worksheet in a workbook to SVG. For this purpose load an Excel file into workbook object and set the active sheet index like for Sheet2, set index to 1. Then save the Workbook as SVG which will render active worksheet to SVG:

For a working example refer to the following article:

Export single sheet workbook to HTML

Workbook can have multiple sheets which are rendered as multiple tab pages when converted to HTML using Excel. Similarly if a workbook contains single sheet, it shows one tab page when converted to HTML using Excel. This conversion was working fine for multiple sheets while using Aspose.Cells. However for single sheet workbook, there was no tab page and only HTML file was created without creating the separate folder containing CSS. Now Aspose.Cells has enhanced its library to create similar output for single sheet workbooks as compared to output created by Excel.

For a working example refer to the following article:

Load workbook efficiently without loading VBA project

In complex Excel files (XLSM/XSLB) there can be large amount of macros which can be very very long. Many times there is a need to load the workbooks without loading these VBA projects like just extracting the sheet names from loaded workbook. In this case we need a filter which can load VBA projects in when they are actually required. This time Aspose.Cells has introduced a filter option LoadDataFilterOptions.VBA which can be used for this purpose.

For a working example refer to the following article:

Replacing tags in Textbox within a worksheet

Textbox is very common control which can be used in a worksheet. This is not necessary that text in the textbox is fixed. It may have tags which can be replaced with some text at runtime. It helps users to configure the controls as per the data on the sheet or from some other source. Worksheet.replace can be used for this purpose and textbox can be set with the desired text.

For a working example refer to the following article:

Export print area range to HTML

We can convert worksheet to HTML but rendering entire sheet at once may not be required always. You may require just a selected area of the sheet to be rendered to HTML. Worksheets contain page setup where print area can be set. There was a need that only  this print area shall be rendered to HTML if required. HtmlSaveOptions is extended by adding a new enumerator ExportPrintAreaOnly which enables users to render only print area in the HTML.

For a working example refer to the following article:

Identification of validation as dropdown

A worksheet can have different types of validations including dropdown. There can be a need where user may want to detect the type of validation and take some decision  based on this information. Validation object can be obtained from a cell and a new function is defined for this validation which returns if validation is a dropdown or not. Use this function as Validation.getInCellDropDown() which returns a boolean value i.e. true or false.

For a working example refer to the following article:

Aspose.Cells for Android via Java Resources

The resources, you may need to accomplish your tasks:

Posted in Aspose.Cells Product Family | Leave a comment

Support of JDK 10 and 11 available in Aspose.PDF for Java 18.12

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We at Aspose are gratified to announce that latest version i.e. Aspose.PDF for Java 18.12 has been rolled out. As per regular monthly update process, attractive features and enhancement have been introduced in the latest release of the API to improve its usability and make it more user friendly. Release notes page of Aspose.PDF for Java 18.12 contains detailed information about what has been changed and introduced new in the API. It is strongly recommended to have a look into release notes section of the API before using it in your environment.

JDK 10 and 11 Support Available

We are honored to add support for JDK 10 and 11. Now the API is compatible with latest JDKs and environment friendly. The API has been completely optimized to be compatible with both Java Versions and all maintenance tests were executed fine.

JDK 11 Compatibility and Usage Guidelines

Since the API is fully optimized to be used with Java 11 however, for some classes you should add external dependency to add classpath of the Class: javax.xml.bind.annotation.adapters.HexBinaryAdapter, which was deleted from JRE. Furthermore, some API Classes are using JDK internal API i.e. java.base and java.desktop but, removal of such dependencies has been scheduled already and we will be modifying API code accordingly to make it more efficient.

Miscellaneous Fixes

Along with the features mentioned above, following are some useful fixes which have been included in latest release of the API:

  • License Setting mechanism has been improved
  • Text Extraction Scenarios have been made better
  • PCL to PDF Conversion Engine has been improved
  • Font handling and rendering has been improved further

As it is always recommended to use latest release of our API’s because they include latest features/improvements and fixes related to issues reported in earlier released versions. Therefore, please download the latest release of Aspose.PDF for Java 18.12.

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

Print PDF Documents using PrintController and Add FlateDecode Images in XImageCollection of a Document

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We at Aspose are honored announcing December Release i.e. Aspose.PDF for .NET 18.12 which is available for download and to be used in .NET Applications. This new release of API contains number of new features, enhancements and bug fixes for the issues reported in previous version(s) of the API. In order to have an insight into what has been introduced new and changed in latest release, it is recommended to go through the detailed release notes page in API documentation. Release notes page contains complete information about public API Changes in this release of the API.

Following sections provides insights into worth mentioning and useful features/enhancements in December revision of Aspose.PDF for .NET.

Print PDF Documents using PrintController of Aspose.PDF

Latest release of the API offers PrintController Class which helps saving a System.Drawing.Printing.PrintDocument as PDF format. Following is a simple example to use PrintController Class and its functionality:

public void PDFNEWNET_45624()
{
 string outFile = GetOutputPath("45624.pdf");
 PrintDocument doc = new PrintDocument();
 doc.PrintPage += new PrintPageEventHandler(mPrintDoc_PrintPage);
 Aspose.Pdf.PrintController printController = new Aspose.Pdf.PrintController();
 printController.FileName = outFile;
 doc.PrintController = printController;
 doc.Print();
}
private void mPrintDoc_PrintPage(object sender
, System.Drawing.Printing.PrintPageEventArgs e)

{
e.Graphics.DrawRectangle(new Pen(System.Drawing.Color.Red), 0, 0, 100, 100);
e.Graphics.FillEllipse(new SolidBrush(System.Drawing.Color.Blue), 100, 100, 200, 200);
}

Store FlateDecode Images in XImageCollection

With latest release of the API, the FlateDecode filter is supported for adding images into PDF Pages. You can consider following code snippet in order to achieve this functionality:

Aspose.Pdf.Document document = new Document();
document.Pages.Add();
Page page = document.Pages[1];
FileStream imageStream = new FileStream(@"c:\1.jpg", FileMode.Open);
page.Resources.Images.Add(imageStream, ImageFilterType.Flate); // New FilterType
XImage ximage = page.Resources.Images[page.Resources.Images.Count];
page.Contents.Add(new Operators.GSave());

For internal usage, you can pass ImageFilterType parameter Flate:

// XImageCollection
internal IPdfObject add(Stream stream, int quality
, bool isBlackWhite, ImageFilterType filterType, bool isMasked
, Stream predefinedStream = null)

{
stream = IsMetafile(stream);
return AddOrReplace(-1, stream, quality, isBlackWhite, filterType, isMasked
, predefinedStream);

}

Miscellaneous Fixes

As mentioned above that December release of the API has come with quite exciting features and enhancements. However, following are some useful fixes and improvements which have been included in this release to improve its performance and usability:

  • PDF/UA functionality has been enhanced in terms of:
    • Validating Text
    • Creating ITaggedContent Interface
    • Creating Factory of Structure Elements
    • Managing Logical Tree of Elements
    • Setting up Title and Language of Tagged PDF Documents
  • Enhanced PDF Optimization
  • Descriptive Exception is added for non-existing fonts in PDF to HTML Conversion Scenario
  • Performance has been improved for PDF to PNG Conversion
  • Various fixes have been made for text adding/editing scenarios
  • Following Conversion Engines have been improved further:
    • JPG to PDF
    • PDF to TIFF
    • PDF to JPEG
    • PDF to PNG
    • PDF to PDF/A-1B
    • PDF to PDF/UA
  • Improvements regarding Table data extraction have been made

Aspose.PDF for .NET Resources

As it is always recommended to use latest releases of our API’s, so we suggest you to please download the latest release Aspose.PDF for .NET 18.12 and check following resources which will help you working with API:

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

Use Latest Version of Aspose.PDF for C++ with new Codebase Changes

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-pdf-for-cppIt is our honor to announce latest revision of Aspose.PDF for C++ 18.12 which is available over NuGet Gallery for download. This update of the API includes codebase changes which means entire collection of source code from Aspose.PDF for .NET 18.12 has been ported in this revision of C++ API. Therefore, the latest release of this API offers more exciting and appealing feature along with improved performance and stability. Furthermore, new Aspose.Pdf.Engine.Presentation.Graphics namespace is introduced. Full API reference has been made available on API Reference Page of Aspose.PDF for C++. Before using latest version of the API, it is also beneficial to have look upon its release notes page to determine what has been changed and introduced new in it.

Miscellaneous Resources

Please visit the following links for information regarding latest release Aspose.PDF for C++ 18.12 and Release Notes section. In case you have any question about Aspose.PDF for C++, you can post your inquiry in Aspose.PDF forums. We will be more than happy to assist you there.

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

Convert VISIO Diagrams into other file formats using Aspose.Diagram

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We at Aspose are excited to announce December Release of Aspose.Diagram API which has been rolled out for download and to be used in .NET and Java Applications. In this revision of the API, several enhancements have been incorporated as well as various fixes to earlier reported bugs have been included. In case you are planning to update to latest version of the API, you can please download it using the links below:

It is always recommended to go through the release notes of the API before using it in your environment. Following release notes pages contain complete information about what has been changed and implemented new in the API:

Miscellaneous Fixes

Following are some useful fixes which have been included in December release of the API:

  • VISIO Diagram to Image conversion method has been improved
  • Following Conversion Engines have been further improved:
    • VISIO to PDF
    • VISIO to PNG
    • VISIO to GIF
  • Rendering of Shapes in diagram has been taken care for better results
  • Loading of Visio Diagrams has been improved

Aspose.Diagram for .NET and Java Resources

The following resources will help you work with Aspose.Diagram for .NET and Java APIs:

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

Improved Reading MS Project with Aspose.Tasks for .Net 19.1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-tasks-for-netWe are pleased to announce the release of Aspose.Tasks for .NET 19.1. This release includes various improvements in reading project from MS Project 2016 and fixes few issues reported with the API that further enhance the stability of the API. For a detailed note on what is new and fixed, please visit the release notes section of API documentation.

Improvements in Aspose.Tasks for .NET 19.1

This release of Aspose.Tasks for .NET API enhanced reading and writing of BackgroundColor in TextStyles. Most importantly, the project reading functionality while reading project file of MS Project 2016 has improved with this release.  Moreover, the resource assignment is also enhanced by removing a set of actual fields while assigning the resources.

API Resources

You may visit the following API resources for getting started and working with the API.

  • Product Documentation – Detailed API documentation with code examples and details about API functional areas
  • Aspose.Tasks Forum – Our online support forum where we address your queries and inquiries
Posted in Aspose.Tasks Product Family | Leave a comment

Control Threshold to Determine TIFF Binarization Error Value in the Floyd-Steinberg Method using Aspose.Words for Java 19.1

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Words for Java

We are pleased to announce the new monthly release of Aspose.Words for Java 19.1. The release of this month contains number of new features, enhancements and bug fixes of the issues reported by our users in previous versions. Please check the detailed release notes of Aspose.Words for Java 19.1 to get an idea about all the new features/enhancements and fixes made in this release. Furthermore, if you are planning to upgrade the API from any previous version, we strongly recommend you to check the Public API Changes section of current release and other intermediate releases from release notes folder, to know what has been changed since your current revision of the API.

The following sections describe some details regarding the newly added features/enhancements.

Control Threshold to Determine TIFF Binarization Error Value in the Floyd-Steinberg Method

We have added new property ThresholdForFloydSteinbergDithering in ImageSaveOptions class to control threshold for TIFF binarization. Please read the following article for more details.
Control Threshold For TIFF Binarizations

Other Improvements

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

    • Implemented the directed line caps rendering for Bezier curves in metafiles.
    • Implemented processing of the stroke properties while rendering custom line caps in metafiles.
    • Implemented support of Unicode font names while rendering to PDF.
    • Implemented Tiff binarization threshold control via ImageSaveOptions.ThresholdForFloydSteinbergDithering property.
    • Fixed a bug that prevents rendering of horizontal lines with gradient fill in DrawingML.
    • Fixed a bug when gradient fill is not rotated with DrawingML shapes by default.
    • Fixed a bug that caused an incorrect rendering of DrawingML shapes inside groups when 3D rotation was applied.
    • Fixed a bug with the calculation of the point coordinates if the date axis is replaced by the string axis.
    • Fixed a bug with vertical alignment of Ruby objects while rendering.
    • Fixed a bug that caused the creation of extra link tags in output PDF when rendering documents with footnotes.
    • Supported dynamic table cell merging for LINQ Reporting Engine.
    • Supported textual comments within LINQ Reporting Engine template syntax tags.
    • Improved computation of wrap bounds of floating objects which affects position of text nearby.
    • Improved positioning of line when it cannot fit next to floating object and has to be pushed below.
    • Implemented navigation from footnote reference to footnote for PDF output.
    • Fixed exception which may happen when spans are merged in paragraphs with different directionality.
    • Fixed exception which may happen when span has null shading inside text box

    The following resources will help you work with Aspose.Words for Java:

    Posted in Aspose.Words Product Family | Leave a comment