Renaming Aspose.Pdf for Android to Aspose.Pdf for Android via Java

Aspose.Pdf for Android logoMany of our customers have been using Aspose.Pdf for Android to create native Android applications which provide the capabilities to create as well as manipulate existing PDF documents. Since Aspose.Pdf for Android is subset of Aspose.Pdf for Java and contains most of the important features, so in order to streamline the naming conventions, we are changing its name from Aspose.Pdf for Android to Aspose.Pdf for Android via Java. Nevertheless, like every new release, we are always striving to introduce a more robust, stable and feature rich release version and we will continue to offer new releases with greater improvements.

Important consideration

Please note that the API structure still remains the same and we do not intend to make any changes at structure level and this change it will not disturb your existing code. Currently we have changed the API name on Aspose.Pdf for Android via Java product page and similar changes are also reflected on Aspose.Pdf product family pages. We have also renamed Aspose.Pdf for Android documentation wiki space to Aspose.Pdf for Android via Java wiki but in near future, we will be using one common JAVA Documentation both for Aspose.Pdf for Java and Aspose.Pdf for Android via Java and soon we will revamp the documentation section. Nevertheless, in order to cope with all this change, we have also renamed Aspose.Pdf for Android node to Aspose.Pdf for Android via Java in Downloads section. Please stay tuned for further updates.

Posted in Aspose.Pdf Product Family, Nayyer Shahbaz | Leave a comment

Apsose.Email for Android via Xamarin is Launched!

Aspose.Email for Android via XamarinAlmost a month ago, we shared with you guys about the upcoming launch of our new set of Aspose.Email APIs. Of these, we are pleased to announce the launch of Aspose.Email for Android via Xamarin. The addition of this new API to Aspose.Email product family further expands the list of platforms supported. It is one of the APIs that we were in process to launch for working with Android, iOS and Mac via Xamarin. This new API lets you develop native Android applications with Xamarin that are rich in emailing features. 

Where to get the API from?

Aspose.Email for Android via Xamarin is available for download as a zip package from the API’s download page. You can also install the API from Aspose.Email for Android via Xamarin Nuget package.

Getting Started with Aspose.Email for Android via Xamarin

Aspose.Email for Android via Xamarin  available in the form of DLL. After setting up with Xamarin environment in Microsoft Visual Studio, include reference to the API DLL in your project. That’s it. You are good to go with getting started with the API functionality.

API Features

 Aspose.Email for Android via Xamarin contains almost all the features as are supported by Aspose.Email for .NET with some differences. These features include:

  • Working with several popular message formats including EML, EMLx, and Outlook MSG file format
  • Work with and manipulate Outlook MSG properties
  • Inter conversion between message formats
  • Working with Outlook Calendar, Contacts, Notes and Tasks items
  • Support for Outlook PST and OST storage files
  • Complete support for SMTP, POP3 and IMAP protocols for sending and receiving emails
  • Support for Exchange server protocols including WebDav and EWS
  • Ability to work with MBox storage files

Documentation and API Reference Guide

Aspose.Email for Android via Xamarin exhibits the same features set as the Aspose.Email for .NET API. For this reason, we will use Aspose.Email for .NET documentation and API Reference guide for this API as well. The .NET API documentation can be referenced for code samples and guidelines other than exceptions listed in following section.

Limitations

As mentioned earlier, the API contains almost all the features offered by Aspose.Email for .NET. However, there are certain limitations a well. For example:

  • The API doesn’t have any printing features for exporting the messages to TIFF or XPS format
  • ActiveSync client is not available in the API
  • You cannot embed linked images into message body in both RTF as well as HTML format
  • It also has no functionality of Signing or Encrypting/Decrypting messages
  • All Aspose.Email methods taking System.Stream as a parameter require the stream to be seekable and has a length. This may not be the case for some Xamarin Streams. For example, Android Assets and raw Resources are available as streams, but if one will pass such a stream to the Aspose.Email API, it will result in NotSupportedException.

These limitations and work around methods (where applicable) are listed in API limitations page for Aspose.Email for Andoird via Xamarin.

Got Questions?

Feel free to reach us via Aspose.Email forum. We’ will be glad to address your concerns and assist you with any of your query.

Posted in Aspose.Email Product Family | Leave a comment

Improved API Error Messages in Aspose.Words for Cloud 17.6

We are pleased to announce the Release of Aspose.Words for Cloud 17.6.

The new release of Aspose.Words for Cloud improves API Error messages along with a couple of bug fix. Please check Aspose.Words for Cloud 17.6 Release notes for summarized information about all changes in this release.

New Features and Enhancements

  1. Improved API Error Messages
  2. Error messages for the following API calls have been made more readable

    • Storage does not exist error
    • File or folder do not exist
    • Index out of bounds error
    • Required parameters are not specified (e.g. in request body).

  3. Bug Fixes and improvements
  4. Aspose.Words for Cloud 17.6 also contains the following bug fixes:

    • Fix for a meaningless error if folder does not exist
    • Bug fix for incorrect word count been returned for a document
    • The Aspose.Words for Cloud library is built on top of Aspose.Words for .NET Library. Along with the mentioned changes above, you can view changes to the underlying library in the Aspose.Words for .NET 17.6 Release Notes.

    Aspose for Cloud Resources

    Following are the links to some useful resources you may need to accomplish your tasks.

Posted in Aspose.Words Product Family | Leave a comment

Microsoft Office SharePoint Server 2016 (MOSS) supported in Aspose.Cells for SharePoint 17.7

Aspose.Cells for SharePoint logoWe are happy to announce Aspose.Cells for SharePoint 17.7. In this release, we have added support for Microsoft Office SharePoint Server 2016 (MOSS) (Standard and Enterprise), see the document on supported file formats and SharePoint servers for your reference. We have also enhanced the following features and fixed a few bugs regarding these features in this release:

Add Watermark to an Excel document
Add Footer to an Excel document

To see a complete list of features and fixes, please see the Release Notes page.

Posted in Aspose.Cells Product Family | Leave a comment

First public release of Aspose.Html for .NET

We are very much excited to announce the first public release of Aspose.Html for .NET. Prior to the release of this API, we already have Aspose.Words for .NET API which primarily offers the capabilities to create as well as manipulate existing MS Word files. It also provides the capabilities to Convert HTML to PDF while loading External Resources and it also offers the feature to Convert MS Word document to HTML with Roundtrip Information. Furthermore, we also have an API named Aspose.Pdf for .NET which is capable of creating as well as manipulating existing PDF documents and it also supports the feature to Convert HTML to PDF – Resource Loading Callback or you can even Convert PDF file to HTML format but both of these APIs do not support the feature to manipulate HTML file and its contents. Therefore in order to cater the requirement to Insert, Remove, Replace HTML nodes, extract CSS style information, Navigate through HTML document either by NodeIterator, TreeWalker that are provided by Traversal Specifications, XPath or CSS selector queries, we have introduced this new API. Apart from earlier mentioned features, this API also offers the scripting which allows to manipulate HTML DOM via JavaScript. Along with HTML, this API also provides the capabilities to load EPUB and MHTML files.

As mentioned earlier, Aspsoe.Words and Aspose.Pdf provide the capabilities to render HTML files to PDF format, we have natively provided HTML to PDF rendering support in Aspose.Html for .NET, so that our customers do not have to use multiple APIs when dealing with HTML files and rendering them to PDF format. Please note that Aspose APIs are famous for their inter file format conversion features and this API also provides the capabilities to load HTML file and render the output in XPS and raster image formats including JPEG, PNG, BMP and TIFF. When generating the output in PDF format, you can also encrypt the document, specify the page setup information for resultant output and we can also specify the compression value for JPEG images inside the output document.

Miscellaneous Resources

Please visit the following links for information regarding latest release of Aspose.Html for .NET 17.7 and Release Notes section.

Posted in Nayyer Shahbaz, Aspose.Html Product Family | Leave a comment

Changed Importing Behavior of Lists, and Improved Removing unused Resources from Document in Aspose.Words for Java 17.7

We have released new version of Aspose.Words for Java, 17.7. It includes new features, enhancements and fixes of Java platform along with auto porting of its corresponding .NET version functionality i.e. Aspose.Words for .NET 17.7. Some of the new improvements are to display document title in window title bar of PDF document, removing unused resources from document and improved logic of lists import in document joining/appending. Please check the detailed release notes of this version to get an idea about 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 these newly added features/enhancements.

Display document title in Window title bar of PDF

We have introduced a new feature in Aspose.Words for .NET 17.7 to control behavior of how document title is presented in output PDF document. A new property DisplayDocTitle is included in PdfSaveOptions class. This property is used to specify whether windows title bar should display the document title, taken from the Title entry of the document information dictionary.

// Load the document.
Document doc = new Document("input.docx");

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setDisplayDocTitle(true);

// Save the document in PDF format.
doc.save("output.Pdf",saveOptions)

Improved Removing of unused Resources from Document

We have added a new cleanup method in Document class in Aspose.Words for .NET 17.7 to remove unused styles and lists from the document. Now you can remove only lists or styles or both from document. Please note Document.RemoveUnusedResources method is now obsolete.


// Open the document.
Document doc = new Document("Input.doc");

CleanupOptions cleanupoptions = new CleanupOptions();
cleanupoptions.setUnusedLists(false);
cleanupoptions.setUnusedStyles(true);

// cleans unused styles and lists from the document depending on given CleanupOptions.
doc.cleanup(cleanupoptions);
doc.save("Output.docx");

Improved behavior of List import in Document Joining/Appending

We have improved the List import behavior in this release. Previously, list definitions were copied with a new identifier while importing. Now Aspose.Words reuses identical list definitions in the destination. Equality of list definitions in the source and destination is determined by their identifiers. Also Aspose.Words preserves list definition identifiers from the source when equal list definition cannot be found in the destination. This is how MS Word behaves.

Change in AspectRatioLock default value of Image

We have changed Shape.AspectRatioLocked default value of ShapeType.Image to mimic MS Word behavior. Now AspectRatioLocked default value for ShapeType.Image is “true” and false for other types of Shapes.


// Open the document.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

Shape shape = builder.insertImage("Test.png");
shape.setAspectRatioLocked(false);

doc.save("output.doc");

Other Improvements

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

  • Performance of saving to PDF is improved.
  • The proper algorithm for rendering of shapes with automatic size textboxes (i.e. closest to MS Word output) implemented.
  • The rendered PDF documents can now show the document title in the title bar of the viewer. This is controlled by “PdfSaveOptions.DisplayDocTitle” property.
  • Improved font rendering in PDF documents for Adobe Illustrator limitations.
  • Improved rendering of fonts with simulated bold style.
  • Vertical text rendering in DrawingML textboxes improved.
  • Problem with rendering of numbers on horizontal axis in DrawingML Charts fixed.
  • Implemented support for “Wrap trailing spaces to next line” option.
  • Implemented support for footnote continuation notices.
  • Improved text wrapping logic for “2013 and later” documents.
  • Improved non-breaking space width calculation.
  • Improved Asian text justification logic.

Aspose.Words for Java Resources

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

Posted in Aspose.Words Product Family | Leave a comment

Calculate Cell’s Formula, Sort Table’s Data, Update Chart Properties and apply Rich Text Formatting to a Cell Using Aspose.Cells for Cloud 17.7

Aspose Cells for CloudIt gives us immense pleasure to announce the release of version 17.7 of Aspose.Cells for Cloud API. Aspose.Cells for Cloud is a platform independent REST API that allows developers to process their Excel files on Cloud. This new release comes up with a couple of new features. Developers can calculate cell’s formula using Calculate API, apply rich text formatting to a cell using characters API, sort table’s data using ListObjects API and update chart properties using charts API. Please check Release Notes for summarized information about all the changes in this release.

New Features and Enhancements

Update Chart Properties

We can customize the appearance of charts by setting their properties e.g. Setting the chart area, Setting chart lines, Applying themes, Setting titles to charts and axes and Working with gridlines. Please check this help topic it explains how to update properties of a chart.

Sort Table’s Data

To manage and analyze a group of related data, it is possible to turn a range of cells into a list object (also known as an Excel table). A table is a series of rows and columns that contain related data managed independently from the data in other rows and columns. By default, every column in the table has filtering enabled in the header row so that you can filter or sort your list object data quickly. Please check this help topic it shows how to sort table’s data.

Calculate Cell’s Formula

Aspose.Cells has an embedded formula calculation engine. It can not only recalculate formulas imported from designer templates but also supports calculating the results of formulas added at runtime. Aspose.Cells supports most of the formulas or functions that are the part of Microsoft Excel. They can be used through the API or using designer spreadsheets. Aspose.Cells supports a huge set of mathematical, string, Boolean, date/time, statistical, database, lookup, and reference formulas. Please check this help topic it shows how to calculate cells’s formula.

Apply Rich Text Formatting to a Cell

Apply different kinds of formatting styles on cells to set background or foreground colors, fonts, horizontal and vertical alignments, indentation level, text direction, rotation angle and much more. This help topic shows how rich text formatting can be applied to a cell.

Aspose.Cells for Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the Aspose for Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose for Cloud.

Posted in Aspose.Total Product Family | Leave a comment

Generate Barcode Having A Logo/Image/Picture In Place of Codetext And Identify Type of Code128 Barcode with Aspose.BarCode for Java 17.6

Aspose.BarCode for Java logo We are pleased to announce the release of Aspose.Barcode for Java 17.6. The major development in this release is the support to generate the barcode with a logo/image inside the barcode image in place of codetext. This release also supports to identify the type of Code128 coded barcode while performing barcode recognition.

Create Barcode with Image Inside It Instead of Codetext

Aspose.BarCode now supports generating barcode with logo/other image inside it in place of codetext. How a logo/image/picture can be embed inside the barcode image in place of codetext is very simple and is demonstrated in the code snippet given below.



// Create an instance of BarCodeBuilder class
// Set the barcode text
// Set the barcode symbology 
com.aspose.barcode.BarCodeBuilder builder = new com.aspose.barcode.BarCodeBuilder("123456789012", com.aspose.barcode.EncodeTypes.EAN_13);

// Generate Barcode image and store it
java.awt.image.BufferedImage barcode = builder.generateBarCodeImage();

// Load the logo/other image from disk
java.awt.image.BufferedImage picture = javax.imageio.ImageIO.read(new java.io.File("path_to_your_picture.png"));

// Create a new empty image with new Calculated height & width
java.awt.image.BufferedImage output = new java.awt.image.BufferedImage(
        Math.max(barcode.getWidth(), picture.getWidth()), barcode.getHeight() + picture.getHeight(), 
        java.awt.image.BufferedImage.TYPE_INT_ARGB);

// Get the Graphics object
java.awt.Graphics g = output.getGraphics();

// Set the canvas color
g.setColor(java.awt.Color.WHITE);

// Draw the primary image (barcode image) on the canvas
g.drawImage(picture, 0, 0, null);

// Draw the second image (logo image) on the canvas inside the barcode image
g.drawImage(barcode, 0, picture.getHeight(), null);

// Save the final barcode image
java.io.File imageFile = new java.io.File("output.png");
javax.imageio.ImageIO.write(output, "PNG", imageFile);

Identify Type of Code128 Barcode

Aspose.BarCode for Java provides the functionality to identify the type of Code128 coded barcode while performing barcode recognition operation. How to identify the type is very simple and is demonstrated in code snippet below.


// Create an instance of BarCodeReader class
// Set file path
// Set the recognition type
com.aspose.barcode.barcoderecognition.BarCodeReader reader = 
        new com.aspose.barcode.barcoderecognition.BarCodeReader("1bc.png", com.aspose.barcode.barcoderecognition.DecodeType.CODE_128);

// Perform read operation
reader.read();

// Create an array of Code128DataPortion class
// Call the GetCode128DataPortions method
com.aspose.barcode.barcoderecognition.Code128DataPortion[] code128DataPortions = reader.getCode128DataPortions();

// Execute Loop for each Code128DataPortion instance
for (com.aspose.barcode.barcoderecognition.Code128DataPortion code128DataPortion : code128DataPortions)
{
    // Display the subtype and data
    System.out.println("Code128SubType: " + code128DataPortion.getCode128SubType());
    System.out.println("Data:" + code128DataPortion.getData());
}

Enhancements

Complete list of enhancements and fixes in this release is as follows.

  • Functionality to read the supplement code text from EAN13 coded barcode has been improved.
  • Functionality to recognize EAN13 barcode has been improved. Recognition process was recognizing EAN13 coded barcode as UPC-A. Recognition algorithm has been improved in much a way that it is now capable of correctly recognizing EAN13 coded barcode.

To view a complete list of new features, fixes and to download the latest release, please visit Aspose.Barcode for Java 17.6 page in downloads section.

Aspose.BarCode for Java Resources

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

Posted in Aspose.BarCode Product Family | Leave a comment

Better PDF to PPTX, PDF to TIFF, PDF to PDF/A conversion and Text replacement features with Aspose.Pdf for .NET 17.7

A new release of Aspose.Pdf for .NET 17.7 providing better inter file format conversion is released. In this release, we have specifically focused on the improvement of PDF to PDF/A conversion, PDF to TIFF, PDF to PPTX, Form fields flattening, Text replacement and much more.

This release majorly contains fixes related to inter file format conversion as some of the customers encountered incorrect characters rendering when performing PDF to HTML or Image conversion. Aspose.Pdf is capable of handling various PDF file formats but there have been some cases where PDF files with certain complexity and structure encountered errors while flattening form fields inside them. Most of the errors have been related to form fields calculations but in this new release, the API has been improved to cater all such scenarios.

Aspose.Pdf for .NET is quite robust when rendering Image elements or Stamp objects but recently in some particular scenarios, the Alignment of Stamp objects encountered some issues. However we have made great improvements in image and stamp rendering algorithms and reported issues have been resolved. Furthermore, the PDF to PPTX conversion is one of the salient features and in this new release, we have made significant improvements related to font rendering, performance, notes rendering, and text alignment while generating resultant PPTX file.

Miscellaneous fixes

Apart from above mentioned improvements, there also have been some miscellaneous fixes which make this new release more stable and workable as compared to earlier release versions. As it is always recommended to use latest release of our API’s, so we suggest you to please download the latest release of Aspose.Pdf for .NET 17.7 and check Release Notes section for list of issues fixed in Aspose.Pdf for .NET 17.7

Posted in Aspose.Pdf Product Family, Nayyer Shahbaz | Leave a comment

Identify Type of Code128 Barcode And Generate Barcode Having A Logo/Image/Picture Inside The Barcode Image Instead of Codetext with Aspose.BarCode for .NET 17.6

Aspose.Barcode for .NET 17.5 We are pleased to announce the release of Aspose.Barcode for .NET 17.6. The major development in this release is the support to generate the QR barcode with a logo/image inside the barcode image. Functionality to identify the type of Code128 coded barcode while performing barcode recognition has also been incorporated in this release.

Create Barcode with Image In Place of Codetext

Aspose.BarCode now supports generating barcode with logo/other image inside it instead of codetext. How a developer can embed a logo/image/picture inside the barcode is very simple and is demonstrated in the code snippet given below. The code snippet contains comments that makes it self explanatory.


// Create an instance of BarCodeBuilder class
// Set the barcode text
// Set the barcode symbology 
using (Aspose.BarCode.BarCodeBuilder builder = new Aspose.BarCode.BarCodeBuilder("123456789012", Aspose.BarCode.Generation.EncodeTypes.EAN13))
{
    // Generate Barcode image and store it in a Bitmap
    using (System.Drawing.Bitmap barcode = builder.GenerateBarCodeImage())
    {
        // Load the logo/other image as Bitmap
        using (System.Drawing.Bitmap picture = (System.Drawing.Bitmap)System.Drawing.Image.FromFile(@"path_to_your_picture.png"))
        {
            // Create a new empty image with new Calculated height & width
            using (System.Drawing.Bitmap output = new System.Drawing.Bitmap(System.Math.Max(barcode.Width, picture.Width), barcode.Height + picture.Height))
            {
                // Get the Graphics object
                using (System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(output))
                {
                    // Clear the canvas 
                    g.Clear(System.Drawing.Color.White);

                    // Draw the primary image (barcode image) on the canvas
                    g.DrawImage(picture, new System.Drawing.PointF(0, 0));

                    // Draw the second image (logo image) on the canvas inside the barcode image
                    g.DrawImage(barcode, new System.Drawing.PointF(0, picture.Height));
                }
                output.Save("output.jpg");
            }
        }
    }
}

Identify The Type of Code128 Coded Barcode

Aspose.BarCode for .NET provides the functionality to identify the type of Code128 barcode while performing barcode recognition operation. Following code snippet demonstrates how to achieve the functionality.


// Create an instance of BarCodeReader class
// Set file path
// Set the recognition type
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader = new Aspose.BarCode.BarCodeRecognition.BarCodeReader("1bc.png", Aspose.BarCode.BarCodeRecognition.DecodeType.Code128))
{
    // Perform read operation
    if (reader.Read())
    {
        // Create an array of Code128DataPortion class
        // Call the GetCode128DataPortions method
        Aspose.BarCode.BarCodeRecognition.Code128DataPortion[] code128DataPortions = reader.GetCode128DataPortions();

        // Execute Loop for each Code128DataPortion instance
        foreach (Aspose.BarCode.BarCodeRecognition.Code128DataPortion code128DataPortion in code128DataPortions)
        {
            // Display the subtype and data
            Console.WriteLine("Code128SubType {0}", code128DataPortion.Code128SubType);
            Console.WriteLine("Data {0}", code128DataPortion.Data);
        }
    }
}

Enhancements

This month’s release also includes few bug fixes that were reported by our customers in the previous release and enhancements. Details about the fixes and enhancements are listed below.

  • Functionality to read the supplement code text from EAN13 coded barcode has been improved.
  • Recognition process was recognizing EAN13 coded barcode as UPC-A. An enhancemnet has been made in the algorithm to correctly recognizing EAN13 coded barcode.

To view a complete list of new features and fixes, please visit the release notes page. You can download the latest version by visiting the Aspose.Barcode for .NET 17.6 page in downloads section.

Aspose.BarCode for .NET Resources

You can get started with Aspose.BarCode for .NET by making use of information available in the following:

Posted in Aspose.BarCode Product Family | Leave a comment