Aspose.Tasks.Cpp
20.10.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
See the version list below for details.
Install-Package Aspose.Tasks.Cpp -Version 20.10.0
dotnet add package Aspose.Tasks.Cpp --version 20.10.0
<PackageReference Include="Aspose.Tasks.Cpp" Version="20.10.0" />
paket add Aspose.Tasks.Cpp --version 20.10.0
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
- Create an empty project file and save it as XML, to stream or to Microsoft MPP file.
- Supports the encoding of the
MPX
files. - Read and write default properties of projects to speed up the project setup.
- Set the project calculation mode to be manual, automatic, or none.
- Read and write project calendar properties, such as fiscal year and weekday properties.
- Read and write project currency properties.
- Perform project rescheduling from start, finish date, or reschedule only the incomplete tasks.
- Offers various project utility features, such as, calculate the critical path, read filter data, extract embedded objects, etc.
- Use Task, Resource, and Project fields as a formula in expressions.
- Identify Cross Project Tasks, get predecessor tasks and cross project predecessor tasks.
- Supports working with task links, baselines, project resources, and VBA.
- Convert project data to other supported file formats.
New Features & Enhancements 
- Added the support for reading \ writing of cost time-phased data for resource assignments.
- Added
Aspose.Tasks.Project.Save(System.String)
that saves the project data to the file in theMPP
format.
Please visit Aspose.Tasks for C++ 20.10 Release Notes for the detailed notes.
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 a 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
- Create an empty project file and save it as XML, to stream or to Microsoft MPP file.
- Supports the encoding of the
MPX
files. - Read and write default properties of projects to speed up the project setup.
- Set the project calculation mode to be manual, automatic, or none.
- Read and write project calendar properties, such as fiscal year and weekday properties.
- Read and write project currency properties.
- Perform project rescheduling from start, finish date, or reschedule only the incomplete tasks.
- Offers various project utility features, such as, calculate the critical path, read filter data, extract embedded objects, etc.
- Use Task, Resource, and Project fields as a formula in expressions.
- Identify Cross Project Tasks, get predecessor tasks and cross project predecessor tasks.
- Supports working with task links, baselines, project resources, and VBA.
- Convert project data to other supported file formats.
New Features & Enhancements 
- Added the support for reading \ writing of cost time-phased data for resource assignments.
- Added
Aspose.Tasks.Project.Save(System.String)
that saves the project data to the file in theMPP
format.
Please visit Aspose.Tasks for C++ 20.10 Release Notes for the detailed notes.
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 a 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.10+Release+Notes
Dependencies
-
- CodePorting.Native.Cs2Cpp.API (>= 20.10.0)
Used By
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.12.0 | 41 | 12/29/2020 |
20.11.0 | 82 | 12/1/2020 |
20.10.0 | 104 | 10/29/2020 |
20.9.0 | 139 | 9/19/2020 |
20.7.0 | 248 | 7/24/2020 |
20.6.0 | 183 | 6/30/2020 |
20.5.0 | 304 | 5/23/2020 |
20.4.0 | 222 | 4/27/2020 |
20.3.0 | 303 | 3/26/2020 |
20.2.0 | 174 | 2/29/2020 |
20.1.0 | 384 | 1/24/2020 |
19.12.0 | 172 | 12/19/2019 |
19.9.0 | 194 | 10/21/2019 |