Create and manipulate MS Excel Charts and Shapes using Aspose.Cells for C++ 18.4

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

Aspose Team is pleased to announce the release of Aspose.Cells for C++ 18.4.0. This release supports to create and manipulate charts and shapes in XLS, XLSX, XLSM and XLSB file formats. These were the long-awaited features for the users. It also includes other enhancements and fixes that further improve the overall stability of the API. Please check the detailed release notes in order to get an idea about what is new and what has been enhanced with this revision of Aspose.Cells for C++.

While you are downloading the API build to give it a try, here is a list of added features along with a few code snippets for quick testing.

Create and Customize MS Excel Charts

A chart is a visual display of information. Aspose.Cells for C++ now allows developers to visualize information in charts just as Microsoft Excel does. Creating charts at runtime, based on the data in a spreadsheet, is one of Aspose.Cells’ demanding feature. Aspose.Cells supports to create both Standard and Customized charts. Below, we will show a few examples with sample files on how to create some common MS Excel chart types using Aspose.Cells API.

The following code demonstrates the use of Aspose.Cells for C++ API to create Line chart in the spreadsheet.

// Output directory path
StringPtr outDir = new String("..\\Data\\02_OutputDirectory\\");
 
// Path of output excel file
StringPtr outputChartTypeLine = outDir->StringAppend(new String("outputChartTypeLine.xlsx"));
 
// Create a new workbook
intrusive_ptr workbook = Factory::CreateIWorkbook();
 
// Get first worksheet which is created by default
intrusive_ptr worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
 
// Adding sample values to cells
worksheet->GetICells()->GetObjectByIndex(new String("A1"))->PutValue(50);
worksheet->GetICells()->GetObjectByIndex(new String("A2"))->PutValue(100);
worksheet->GetICells()->GetObjectByIndex(new String("A3"))->PutValue(150);
worksheet->GetICells()->GetObjectByIndex(new String("B1"))->PutValue(4);
worksheet->GetICells()->GetObjectByIndex(new String("B2"))->PutValue(20);
worksheet->GetICells()->GetObjectByIndex(new String("B3"))->PutValue(50);
 
// Adding a chart to the worksheet
int chartIndex = worksheet->GetICharts()->Add(Aspose::Cells::Charts::ChartType::ChartType_Line, 5, 0, 20, 8);
 
// Accessing the instance of the newly added chart
intrusive_ptr chart = worksheet->GetICharts()->GetObjectByIndex(chartIndex);
 
// Adding SeriesCollection (chart data source) to the chart ranging from "A1" cell to "B3"
chart->GetNISeries()->Add(new String("A1:B3"), true);
 
// Saving the Excel file
workbook->Save(outputChartTypeLine);

See the document on how to create standard and custom charts for your reference.

Insert/Extract OLE Objects into/from the Worksheet

Aspose.Cells allows you to insert OLE object inside the worksheet. Please use Worksheet->GetIOleObjects()->Add() method for this purpose. You will need image in bytes that will be used to display OLE object inside the worksheet and Ole object data bytes that will be your actual object.
See the document on how to insert OLE Objects into the Worksheets for your reference.
Moreover you can extract the OLE Object from the spreadsheet, see the document on how to extract Ole Objects from Excel workbook for your reference.

Read and Manipulate MS Excel 2016 Charts

Aspose.Cells also supports reading and manipulating Microsoft Excel 2016 charts which are not present in Microsoft Excel 2013 or earlier versions. See the document on how to read and manipulate MS Excel 2016 charts for your reference.

Aspose.Cells for C++ Resources

The resources, you may need to accomplish your tasks:

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

Posted in Aspose.Cells Product Family | Leave a comment

Improvements in Internal Code and System Classes of Aspose.PDF for C++

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

aspose-pdf-for-cppWe at Aspose are pleased to announce the new version of Aspose.PDF for C++. Aspose.PDF for C++ 18.4 has been released and available on NuGet Gallery for download. You can now use latest version of Aspose.PDF for C++ in you C++ Applications. However, we recommend you to go through the release notes of Aspose.PDF for C++ 18.4, before downloading and using it in your applications. An overview of improvements and Public API Changes have been given over the release notes section of the API.

We have been putting our efforts to provide a robust an API with improved performance and like previous release of the API we have made further improvements in this version of Aspose.PDF for C++. We have improved internal code of the API. We have also improved AsposeCppLib in reference to System.Xml and System.Drawing Classes. Since you can access documentation of the API after downloading it and checking classes inside the *lib folder, we have documented some cleasses in System namespace as well.

Miscellaneous Resources

Please visit the following links for information regarding latest release Aspose.PDF for C++ 18.4 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

Determine Line Break Scenario and Performance Improvements during PDF to HTML Conversion

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

As per regular monthly update process, we are pleased to announce Aspose.PDF for Java 18.4. New version of Aspose.PDF for Java API has been released and available on Aspose Artifactory for download and to be used in Java Projects. Like every release of Java API, we have ported features from .NET library of Aspose.PDF as well as made several bug fixes in Aspose.PDF for Java 18.4. Public API Changes are given in release notes page of Aspose.PDF for Java 18.4 and we recommend you to go through release notes of the API before using it.

Process Line Breaking

Some of our customers have requirements to determine the points/positions where an Enter/Line Break was added to create new line or contents of a line were moved to subsequent line, after content reaching to the edge of the page. We have implemented tracking background processing of multi-line text fragments in text adding scenarios. You can use getNotifications() method of Page Class, in order to log the line breaks. You may please check respective example in API documentation on following link, where code snippet for such functionality has been showcased:

We already have been planning to add features in our API regarding such scenarios, and we are working over providing support for these features in scenarios of manipulating existing PDF documents as well. We hope to provide more enhancements in API regarding this feature in upcoming versions. For now, only notifications about paragraph events in text adding scenarios are supported.

PDF to HTML Conversion Performance

Regarding performance of the API during PDF to HTML conversion, there were some issues reported for earlier versions of Aspose.PDF for Java. For some particular PDF documents (i.e. containing images and annotations), API was taking more time than expected in order to render them as HTML. However, we have improved API for such type of conversions and processing time is much reduced in Aspose.PDF for Java 18.4.

Along with the improvements and enhancements mentioned above, we have made following bug fixes in this release of API:

  • Cannot retrieve the watermark text of PDF
  • Security error on setting custom font directory
  • PDF to HTML: Header text is not been rendered correctly
  • PDF to HTML: Text rendered incorrectly
  • RedactArea corrupts the PDF if with setLicense method

Miscellaneous Fixes

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.4.

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

Supported Null-Conditional Operators in LINQ Reporting Change Color of Content Control

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

Aspose.Words for .NET logoWe are pleased to announce our next version Aspose.Words for .NET 18.5. This month’s release contains over 68 useful new features, enhancements and bug fixes. Please see the release notes for more detail. If you are planning to upgrade from older version of Aspose.Words to the current version, we would strongly suggest you to check the Public API and Backward Incompatible Changes section to know what APIs are changed so far.

 

Here is a look at just a few of the biggest features and API changes in this month’s release.

  • Added public property StructuredDocumentTag.Color
  • Fixed line wrapping with trailing spaces at the end
  • Fixed issue with paragraph after spacing in headers/footers
  • Fixed issue with table width when widthAfter is specified for a jagged table
  • Fixed issue with table width with complex column layout and default widths
  • Fixed breaking of floating table row in compatibility mode
  • Fixed issue with floating frame pushed from the page because of invalid wrap point
  • Implemented support for “distribute space” and “distribute letter” types of alignment when rendering Ruby objects
  • Improved rendering of a Doughnut DrawingML Chart with multiple series
  • Improved rendering of DrawingML Charts data labels with the direct layout and a layout specified in the extension properties
  • Fixed a problem with metafile rendering when glyph offsets were wrongly read for EMF_EXTTEXTOUT record with glyph indices
  • Fixed a problem with processing of control character (U+0019) in the text when rendering
  • Fixed a problem with Adobe “Fast Find” function (words searching) in rendered PDF documents
  • Fixed a bug with inaccurate processing of EMR_ALPHABLEND record while rendering metafiles. This bug caused a loss of fill in some figures
  • Fixed a bug with rendering of PieChart data label separator when it is set directly
  • Fixed rendering of a dashed line shapes with a shadow
  • LINQ Reporting Engine supports ?. and ?[] null-conditional operators in template expressions

Added Support to Change the Color of Content Control

We have added StructuredDocumentTag.Color property in this version of Aspose.Words. This property gets or sets the color of the structured document tag. Please read the following article for more detail.

Change the Color of Content Control

/// <summary>
/// Gets or sets the color of the structured document tag.
/// </summary>
public System.Drawing.Color Color

Supported Null-Conditional Operators in Template Expressions for LINQ Reporting Engine

We have added new feature in LINQ Reporting Engine to support null-conditional (A?.B) and null-coalescing (A ?? B) operators. Please read the following article for more detail.

Using Operators

Obsolete Property HtmlSaveOptions.ExportMetafileAsRaster Removed

We have removed obsolete property ExportMetafileAsRaster from the HtmlSaveOptions class in Aspose.Words 18.5. Please use the HtmlSaveOptions.MetafileFormat property instead.

Aspose.Words for .NET Resources

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

    • Home page of .NET API.
    • Install using NuGet Package
    • Documentation – up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
    • API Reference Guide – detailing the publicly exposed classes, methods, properties, constants & interfaces.
    • Aspose.Words Product Family Forum – post your technical questions and queries, or any other problem you are facing while working with Aspose.Words APIs.
    • Enable Blog Subscription – do not limit yourself, you can keep yourself updated with the latest news on Aspose.Words APIs, new features, fixes and other API related topics by subscribing to Aspose.Words blog.
    • Examples – we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
Posted in Aspose.Words Product Family | Leave a comment

Support for Tree Map, Box and Whisker chart in Aspose.Slides

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

aspose-slides-for-cppWe are pleased to share release announcement for Aspose.Slides for C++ 18.4.

We are pleased to announce the release of Aspose.Slides for .NET 18.4. This is one of important releases where we have included MSO 2016 charts support in API along with resolution of issues incurring in product.

Features

Following features have been included in this release.

  • Introduce new SmartPtr implementation.

  • Improve TextureBrush rendering quality.

  • Improve performance and reduce binaries size in Debug configuration.

  • Introduce embedded resources mechanism.

  • Improve CMYK color model processing when working with JPEG file format.

  • Make Aspose.Slides library interruptible.

  • Support for Picture Organization Chart SmartArt Layout.

  • Support for loading and using MS office theme file (*.thmx).

  • The support of new PowerPoint 2016 chart types.

  • Tree map chart in PP 2016.

  • Export shape to SVG.

  • Support for managing Header/Footer in handout and notes slides.

  • Support for Box and Whisker chart.

  • Support for rendering emoji characters.

Please refer to the release notes of Aspose.Slides for C++ 18.4 for a full view of improvements along with sample code snippets for newly added features. If you are planning to upgrade the API to the latest revision, we strongly suggest you to check the Public API Changes section to know what has been changed in the public API since your current version.

Aspose.Slides for C++ Resources

The resources, you may need to accomplish your tasks:

As always, we appreciate your feedback so if you ever have anything to share with us about this release or anything else, please feel free to contact us in Aspose.Slides forum.

Posted in Aspose.Slides Product Family | Leave a comment

Upgraded Exception Handling Process With Aspose.BarCode for JasperReports 18.4

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

Aspose.BarCode for JasperReports We are pleased to announce new Aspose.BarCode for JasperReports 18.4 release.

This release has been developed based on Aspose.BarCode for Java 18.4, whereby we have fixed the issue related to exception handling in Aspose.BarCode API. It was observed that API generates barcode successfully even if invalid text is supplied. The exception handling process has been improved in such way that ThrowExceptionWhenCodeTextIncorrect property is set and an incorrect text is supplied for encode types SwissPostParcel, SingaporePost and Databars, it will throw codetext is invalid exception.

To view a complete list of fixes, please visit Aspose.Barcode for JasperReport 18.4 release notes page.

You can download the latest release of Aspose.BarCode for JasperReports from the following link: Download Aspose.BarCode for JasperReports 18.4

Aspose.BarCode for JasperReports Resources

The following API resources can be of help to you in getting started:

Posted in Aspose.BarCode Product Family | Leave a comment

Improved Project Recalculations with Aspose.Tasks for Java 18.4

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

Aspose.Tasks for JavaWe are pleased to announce the release of Aspose.Tasks for Java 18.4. This release brings several improvements to the API functionality in terms of enhancements. It also fixes issues reported with the earlier version 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 Java 18.4

This month’s release includes improvements that further enhance the API functionality. These include:

  • Support for Conholdate license in the API
  • Extended Aspose.Tasks collections to support BCL collection interfaces
  • Ignoring milliseconds part of time while setting task times
  • Issues with tasks start date and durations
  • Task duration issues with loading Primavera data
  • Wrong output with updated PercentComplete of a task

API Resources

  • Product Documentation – Provides complete information about system requirements, installation, Programmer’s Guide, Technical articles and API Changes
  • API Reference Guide – Provides information about the product namespaces, classes and methods
  • GitHub Examples – Ready to download and execute examples of the API
  • Forum Support – Post your queries/inquiries on Aspose.Tasks forum to get support from our technical support team.
Posted in Aspose.Tasks Product Family | Leave a comment

Enhanced Exception Handling Process With Aspose.BarCode for Java 18.4

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

Aspose.BarCode for Java Aspose.BarCode for Java 18.4 is available for download now. The major development in this release is the improved exception handling process.

Enhancements

It was noticed that ThrowExceptionWhenCodeTextIncorrect property was not working properly. API was generating barcode successfully even if invalid text is supplied. The exception handling process has been improved in such way that ThrowExceptionWhenCodeTextIncorrect property is set and incorrect/invalid text is supplied for encode types SwissPostParcel, SingaporePost and Databars, it will throw codetext is invalid exception.

To view a complete list of enhancements and fixes, please visit the release notes page.

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

Support for .NET Standard 2.0 in Aspose.HTML for .NET 18.5

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

We are glad to announce new release Aspose.HTML for .NET 18.5 which is available on NuGet Gallery for download and to be used in .NET Applications. This release includes amazing feature of Support for .NET Standard 2.0 (.NET Core) Framework. Several other enhancements and bug fixes have also been included in this version of Aspose.HTML for .NET. An overview of these improvements and changes is given in the release notes of Aspose.HTML for .NET 18.5.

Rendering HTML Canvas

W3C HTML Canvas is a part of Aspose.HTML for .NET API now, it supports rendering of HTML Canvas elements as a part of HTML document as well as direct access and manipulation of HTML Canvas 2D Context. You can manipulate as well as render an HTML Canvas to other file formats including, but not limited to, XPS and PDF.  You can use the Rendering device as follows:

C#

using (var document = new HTMLDocument(dataDir + "canvas.html"))
{
// Create an instance of HTML renderer and XPS output device
using (var renderer = new Rendering.HtmlRenderer())
using (var device = new Aspose.Html.Rendering.Pdf.PdfDevice("canvas.pdf"))
{
// Render the document to the specified device
renderer.Render(device, document);
}
}


We have also improved CSS engine that has contributed to improve the performance of parsing CSS documents up to 20 percent. ParameterIsNotValid exception as well as few problems with rendering of HTML to PNG format have also been rectified in latest version of Aspose.HTML for .NET API.

Miscellaneous Resources

Please visit the following links for information regarding Aspose.HTML for .NET 18.5 and Release Notes section.

Posted in Aspose.HTML Product Family | Leave a comment

Improved SVG export support available in Aspose.Slides

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

Aspose.Slides icon

We are pleased to share the release announcement for Aspose.Slides for JasperReports 18.4.

This release has been built on the basis of latest Aspose.Slides for Java 18.4 API, whereby we have included support for MSO 2016 charts along with improved SVG rendering support that allows exporting individual slide shapes to SVG. We have also addressed the licensing related issues incurring in API as well.

We have made several enhancements to the new API. Please refer to Aspose.Slides for JasperReports 18.4 Release Notes for further reference.

To download Aspose.Slides for Jasper Reports 18.4, please visit the download page.

Posted in Aspose.Slides Product Family | Leave a comment