Aspose.Words.Cpp 20.10.0

Aspose.Words for C++ is a cross-platform C++ library that enables your applications to perform a great range of document processing tasks. With Aspose.Words you can load, save and convert documents between the following formats: DOC, DOT, DOCX, DOCM, DOTX, DOTM, XML (including Word 2003 XML), RTF, HTML, MHTML, MOBI, ODT, OTT, TXT – also you can convert them to: PDF, XPS, SVG, EPUB, XAML, PS, PCL, BMP, PNG, EMF, JPEG, GIF and other formats. With Aspose.Words you can generate, modify, convert documents without utilizing Microsoft Word®.

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

Rich Set of Features

Aspose.Words for C++ features can be divided into four main areas:
- Conversions: High quality conversions to and from DOC, OOXML, RTF, WordprocessingML, HTML, MHTML, TXT and OpenDocument formats
- Document Object Model: Programmatic access through a rich API to all document elements and formatting allows to create, modify, extract, copy, split, join, and replace document content
- Rendering: Convert whole documents or pages to PDF or for server-side document generation. Also convert document pages to PNG, BMP or EMF images. All with high fidelity - exactly like Microsoft Word® would have done it.

Performance and Scalability

Aspose.Words for C++ is designed to perform great both on a server or client. Aspose.Words for C++ does not require any additional libraries. You do not have to worry about any other services, libraries or other dependencies. You can literally generate thousands of documents in minutes with Aspose.Words for C++ 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.Words 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.Words for C++ is provided on our support forum:
https://forum.aspose.com/
Aspose.Words for C++ API Reference:
https://apireference.aspose.com/cpp/words
Aspose.Words for C++ Examples:
https://github.com/aspose-words/Aspose.Words-for-C

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

C++ API for Word Document Processing

Nuget

A standalone C++ class library to load, save, format & convert Microsoft Word® documents without Office Automation.

Aspose.Words for C++ is a powerful on-premise API that can be used for a great range of document processing tasks such as; working with documents, sections, tables, bookmarks, fields, form fields, DocumentBuilder, ranges, comments, content control SDT, images, styles, charts, watermarks, lists, shapes, mail merge, rendering, printing and much more.

Word File Processing Features

  • Call the Document constructor without parameters to programmatically create a new blank document.
  • Detect the file format and check file format compatibility.
  • Convert Word Documents to other supported formats.
  • Serialize a document object to fetch a byte array and vice versa.
  • Supports conversion compliance with various PDF standards.
  • Export fonts to HTML in Base64 encoding.
  • Save any password encrypted word document.
  • Specify the OOXML specification.
  • Apply a password to encrypted documents and ignore RoutingSlip data while saving.
  • Compress all the metafiles, be it small or large.
  • Enable bi-directional marks to add support for the right to left languages.
  • Access the VBA Project to extend functionality.
  • Read, write, or modify VBA Macros.
  • Clone VBA Project or VBA Module.

New Features & Enhancements in Version 20.10

  • Added support for loading CHM documents.
  • Document.ExtractPages() feature has been introduced.
  • Implemented a new API for exporting specific pages to fixed page formats.
  • Released the first version of SmartArt Cold Rendering.

Please visit Aspose.Words for C++ 20.10 Release Notes for the detailed notes.

Read & Write Word Processing Files

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF, FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
WordprocessingML: WordML
Web: HTML, MHTML
OpenOffice: ODT
Other: TXT, MOBI

Save Word Documents As

Fixed Layout: PDF, XPS, OpenXPS
Graphics: SVG, EMF
Web: HtmlFixed
Other: PS, PCL, XamlFlow, XamlFixed, EPUB

Getting Started with Aspose.Words for C++

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

Create DOCX with HelloWorld Text via C++

Try executing the following snippet to see how Aspose.Words for C++ performs in your own environment or check the GitHub Repository for other common usage scenarios.

// create a blank document.
System::SharedPtr<Document> doc = System::MakeObject<Document>();
// the DocumentBuilder class provides members to easily add content to a document.
System::SharedPtr<DocumentBuilder> builder = System::MakeObject<DocumentBuilder>(doc);
// write a new paragraph in the document with the text "Hello World!"
builder->Writeln(u"Hello World!");
// save the document. 
// the format to save as is inferred from the extension of the file name.
doc->Save(u"output.docx");

Convert DOC to EPUB Format

Aspose.Words for C++ allows you to convert Microsoft Word® formats into bytes, EPUB, HTML, and other file formats. The following code sample displays how to convert a DOC file into an EPUB format using C++:

// load the document from disk.
System::SharedPtr<Document> doc = System::MakeObject<Document>(u"template.doc");
// Save the document in EPUB format.
doc->Save(u"output.epub");

Limitations

  • No support for encrypted documents.
  • No support for downloading remote resources from the Internet.
  • Limited and unstable support for rendering features.
  • No support for reporting features.

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

C++ API for Word Document Processing

Nuget

A standalone C++ class library to load, save, format & convert Microsoft Word® documents without Office Automation.

Aspose.Words for C++ is a powerful on-premise API that can be used for a great range of document processing tasks such as; working with documents, sections, tables, bookmarks, fields, form fields, DocumentBuilder, ranges, comments, content control SDT, images, styles, charts, watermarks, lists, shapes, mail merge, rendering, printing and much more.

Word File Processing Features

  • Call the Document constructor without parameters to programmatically create a new blank document.
  • Detect the file format and check file format compatibility.
  • Convert Word Documents to other supported formats.
  • Serialize a document object to fetch a byte array and vice versa.
  • Supports conversion compliance with various PDF standards.
  • Export fonts to HTML in Base64 encoding.
  • Save any password encrypted word document.
  • Specify the OOXML specification.
  • Apply a password to encrypted documents and ignore RoutingSlip data while saving.
  • Compress all the metafiles, be it small or large.
  • Enable bi-directional marks to add support for the right to left languages.
  • Access the VBA Project to extend functionality.
  • Read, write, or modify VBA Macros.
  • Clone VBA Project or VBA Module.

New Features & Enhancements in Version 20.10

  • Added support for loading CHM documents.
  • Document.ExtractPages() feature has been introduced.
  • Implemented a new API for exporting specific pages to fixed page formats.
  • Released the first version of SmartArt Cold Rendering.

Please visit Aspose.Words for C++ 20.10 Release Notes for the detailed notes.

Read & Write Word Processing Files

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF, FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled
WordprocessingML: WordML
Web: HTML, MHTML
OpenOffice: ODT
Other: TXT, MOBI

Save Word Documents As

Fixed Layout: PDF, XPS, OpenXPS
Graphics: SVG, EMF
Web: HtmlFixed
Other: PS, PCL, XamlFlow, XamlFixed, EPUB

Getting Started with Aspose.Words for C++

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

Create DOCX with HelloWorld Text via C++

Try executing the following snippet to see how Aspose.Words for C++ performs in your own environment or check the GitHub Repository for other common usage scenarios.

// create a blank document.
System::SharedPtr<Document> doc = System::MakeObject<Document>();
// the DocumentBuilder class provides members to easily add content to a document.
System::SharedPtr<DocumentBuilder> builder = System::MakeObject<DocumentBuilder>(doc);
// write a new paragraph in the document with the text "Hello World!"
builder->Writeln(u"Hello World!");
// save the document. 
// the format to save as is inferred from the extension of the file name.
doc->Save(u"output.docx");

Convert DOC to EPUB Format

Aspose.Words for C++ allows you to convert Microsoft Word® formats into bytes, EPUB, HTML, and other file formats. The following code sample displays how to convert a DOC file into an EPUB format using C++:

// load the document from disk.
System::SharedPtr<Document> doc = System::MakeObject<Document>(u"template.doc");
// Save the document in EPUB format.
doc->Save(u"output.epub");

Limitations

  • No support for encrypted documents.
  • No support for downloading remote resources from the Internet.
  • Limited and unstable support for rendering features.
  • No support for reporting features.

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

Release Notes

https://docs.aspose.com/words/cpp/aspose-words-for-cpp-20-10-release-notes/

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Words.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.10.0 71 10/19/2020
20.9.0 116 9/18/2020
20.8.0 143 8/14/2020
20.7.1 94 8/7/2020
20.7.0 102 7/16/2020
20.6.0 1,398 6/16/2020
20.5.0 175 5/19/2020
20.4.0 252 4/20/2020
20.3.0 246 3/16/2020
20.2.0 410 2/14/2020
20.1.0 1,470 1/20/2020
19.12.0 268 12/10/2019
19.11.1 280 11/19/2019
19.11.0 497 11/8/2019
19.10.0 199 10/3/2019
19.9.0 209 9/5/2019
19.8.1 215 8/28/2019
19.8.0 251 8/12/2019
19.7.0 307 7/13/2019
19.6.0 274 6/14/2019
19.5.0 410 4/25/2019
19.4.0 277 4/1/2019
18.11.0 677 11/9/2018
18.8.0 815 7/30/2018