Aspose.Tasks.Cpp 20.7.0

Aspose.Tasks for C++ is a cross-platform 64-bit C++ library that enables your applications to perform a great range of document processing tasks. Aspose.Tasks supports MPP, MPT, XML, XLSX, HTML, PDF, XAML and other formats. With Aspose.Tasks you can generate, modify, convert, render and print documents without utilizing Microsoft Project®.

Aspose.Tasks for C++ is well documented to help you create your solutions on different platforms.

Rich Set of Features

Aspose.Tasks for C++ features can be divided into four main areas:
- Conversions: High quality conversions to and from MPP, MPT, XML, XLSX, HTML, PDF, Oracle Primavera, OpenProj and formats
- Document Object Model: Programmatic access through a rich API to all document elements allows to create, modify, extract, copy and replace the most of document content
- Rendering: Convert whole documents or pages to PDF, XPS or for server-side document generation. Also convert document pages to TIFF, PNG, BMP of JPEG images, print or render pages to .NET Graphics. All with high fidelity - exactly like Microsoft Project® would have done it.

Platform Independence

You can use Aspose.Tasks for C++ library can be assembled for different platforms using various modern compilers which support C++14, such as Microsoft Visual C++, GCC, Clang and MinGW.

Performance and Scalability

Aspose.Tasks for C++ is designed to perform great both on a server or client. Aspose.Tasks for C++ does not require any additional libraries. You do not have to worry about any other services or modules. You can literally generate thousands of documents in minutes with Aspose.Tasks and that involves opening a document, modifying content and formatting or populating it with data and saving it. Even most of the complex documents are opened and saved on a P4 2.4Ghz 1Gb RAM machine in fractions of a second.

Aspose.Tasks for C++ is multithread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on one document. Different threads can safely work on different documents at the same time.

Free support for Aspose.Tasks for C++ is provided on our support forum:
https://forum.aspose.com/
Aspose.Tasks for C++ API Reference:
https://apireference.aspose.com/cpp/tasks
Aspose.Tasks for C++ Examples:
https://github.com/aspose-tasks/Aspose.Tasks-for-C

Install-Package Aspose.Tasks.Cpp -Version 20.7.0
dotnet add package Aspose.Tasks.Cpp --version 20.7.0
<PackageReference Include="Aspose.Tasks.Cpp" Version="20.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Tasks.Cpp --version 20.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

C++ API to Process Project Files

A standalone C++ library that enables the C++ developers to generate, update, render, & convert project files from within C++ projects without Microsoft Project®.

Project File Processing Features

New Features & Enhancements in Version 20.7

  • Aspose.Tasks for C++ is based on the .NET version of the API and provides strictly the same functionality as Aspose.Tasks for .NET provides, excluding printing, database I/O operations, and EMF/WMF format support.
  • Added the ability to specify the non-default path for Project Server's PWA URL.

Breaking change in Project Server credential usage

In Aspose.Tasks for .NET 20.7 the requirements to a site URL for Project Server credentials have been changed.

Users now should specify the full URL of PWA endpoint when using ProjectServerCredentials:

Before Aspose.Tasks for .NET 20.7:

var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local", windowsCredentials);

Since Aspose.Tasks for .NET 20.7:

var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local/sites/pwa", windowsCredentials);

Read & Write Project Files

Microsoft Project®: MPP, MPT, MPX, XML

Save Project Data As

Primavera: P6 XML, PM XER
Microsoft Excel®: XLSX
Fixed Layout: PDF
Images: JPEG, PNG, TIF, SVG
Text: TXT
Others: HTML

Getting Started with Aspose.Tasks for C++

Are you ready to give Aspose.Tasks for C++ a try? Simply execute Install-Package Aspose.Tasks.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Tasks for C++ and want to upgrade the version, please execute Update-Package Aspose.Tasks.Cpp to get the latest version.

Convert Microsoft Project MPP Data to HTML

Try executing the below code to see how Aspose.Tasks for C++ performs in your environment. You may also check the GitHub Repository for other common usage scenarios.

System::SharedPtr<Project> project = System::MakeObject<Project>(u"template.mpp");
System::SharedPtr<HtmlSaveOptions> option = System::MakeObject<HtmlSaveOptions>();
project->Save(u"output.html", option);

Create Project from Scratch using C++

Following code sample shows how to create a project file using C++ and then create a task and a sub-task within that project:

// Create project instance
System::SharedPtr<Project> project = System::MakeObject<Project>();

// Add task, sub task and save project
System::SharedPtr<Task> task = project->get_RootTask()->get_Children()->Add(u"Summary1");
System::SharedPtr<Task> subtask = task->get_Children()->Add(u"Subtask1");
project->Save(u"output.xml", Aspose::Tasks::Saving::SaveFileFormat::XML);

Limitations

  • No support for printing of any kind.
  • No support for Project Online (PWA).
  • No support for the database I/O access of any kind.
  • No support for EMF/WMF format, neither itself nor as Project file inclusions.

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

C++ API to Process Project Files

A standalone C++ library that enables the C++ developers to generate, update, render, & convert project files from within C++ projects without Microsoft Project®.

Project File Processing Features

New Features & Enhancements in Version 20.7

  • Aspose.Tasks for C++ is based on the .NET version of the API and provides strictly the same functionality as Aspose.Tasks for .NET provides, excluding printing, database I/O operations, and EMF/WMF format support.
  • Added the ability to specify the non-default path for Project Server's PWA URL.

Breaking change in Project Server credential usage

In Aspose.Tasks for .NET 20.7 the requirements to a site URL for Project Server credentials have been changed.

Users now should specify the full URL of PWA endpoint when using ProjectServerCredentials:

Before Aspose.Tasks for .NET 20.7:

var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local", windowsCredentials);

Since Aspose.Tasks for .NET 20.7:

var windowsCredentials = ...
var projectServerCredentials = new ProjectServerCredentials("http://project_server_instance.local/sites/pwa", windowsCredentials);

Read & Write Project Files

Microsoft Project®: MPP, MPT, MPX, XML

Save Project Data As

Primavera: P6 XML, PM XER
Microsoft Excel®: XLSX
Fixed Layout: PDF
Images: JPEG, PNG, TIF, SVG
Text: TXT
Others: HTML

Getting Started with Aspose.Tasks for C++

Are you ready to give Aspose.Tasks for C++ a try? Simply execute Install-Package Aspose.Tasks.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Tasks for C++ and want to upgrade the version, please execute Update-Package Aspose.Tasks.Cpp to get the latest version.

Convert Microsoft Project MPP Data to HTML

Try executing the below code to see how Aspose.Tasks for C++ performs in your environment. You may also check the GitHub Repository for other common usage scenarios.

System::SharedPtr<Project> project = System::MakeObject<Project>(u"template.mpp");
System::SharedPtr<HtmlSaveOptions> option = System::MakeObject<HtmlSaveOptions>();
project->Save(u"output.html", option);

Create Project from Scratch using C++

Following code sample shows how to create a project file using C++ and then create a task and a sub-task within that project:

// Create project instance
System::SharedPtr<Project> project = System::MakeObject<Project>();

// Add task, sub task and save project
System::SharedPtr<Task> task = project->get_RootTask()->get_Children()->Add(u"Summary1");
System::SharedPtr<Task> subtask = task->get_Children()->Add(u"Subtask1");
project->Save(u"output.xml", Aspose::Tasks::Saving::SaveFileFormat::XML);

Limitations

  • No support for printing of any kind.
  • No support for Project Online (PWA).
  • No support for the database I/O access of any kind.
  • No support for EMF/WMF format, neither itself nor as Project file inclusions.

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/display/taskscpp/Aspose.Tasks+for+CPP+20.7+Release+Notes

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Tasks.Cpp:

Package Downloads
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.7.0 68 7/24/2020
20.6.0 61 6/30/2020
20.5.0 158 5/23/2020
20.4.0 102 4/27/2020
20.3.0 151 3/26/2020
20.2.0 86 2/29/2020
20.1.0 209 1/24/2020
19.12.0 104 12/19/2019
19.9.0 124 10/21/2019