Aspose.Words.Cpp 21.4.0

Aspose.Words for C++ is a Document Processing library that allows developers to work with documents in many popular formats without needing Office Automation. Users can perform a wide variety of document tasks, ranging from simply converting documents from one supported format to another and modifying these documents during the conversion process, to business-oriented tasks, such as creating structured and visually appealing documents or automating reporting with complex templates and data-bound fields.

Install-Package Aspose.Words.Cpp -Version 21.4.0
dotnet add package Aspose.Words.Cpp --version 21.4.0
<PackageReference Include="Aspose.Words.Cpp" Version="21.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Words.Cpp --version 21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Words.Cpp, 21.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Words.Cpp as a Cake Addin
#addin nuget:?package=Aspose.Words.Cpp&version=21.4.0

// Install Aspose.Words.Cpp as a Cake Tool
#tool nuget:?package=Aspose.Words.Cpp&version=21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

C++ API for Word Document Processing

Version 21.4 Nuget

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

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.

Read & Write Document Formats

Microsoft Word: DOC, DOT, DOCX, DOTX, DOTM, FlatOpc, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled, RTF, WordML
OpenDocument: ODT, OTT
Web: HTML, MHTML
Markdown: MD
Fixed Layout: PDF
Text: TXT

Read Document Formats

Microsoft Word: DocPreWord60
eBook: MOBI, CHM

Save Document As

Fixed Layout: XPS, OpenXps
PostScript: PS
Printer: PCL
eBook: EPUB
Markup: XamlFixed, HtmlFixed, XamlFlow (Beta), XamlFlowPack (Beta)
Image: SVG, TIFF, PNG, BMP, JPEG, GIF
Metafile: EMF

Get 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");

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

C++ API for Word Document Processing

Version 21.4 Nuget

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

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.

Read & Write Document Formats

Microsoft Word: DOC, DOT, DOCX, DOTX, DOTM, FlatOpc, FlatOpcMacroEnabled, FlatOpcTemplate, FlatOpcTemplateMacroEnabled, RTF, WordML
OpenDocument: ODT, OTT
Web: HTML, MHTML
Markdown: MD
Fixed Layout: PDF
Text: TXT

Read Document Formats

Microsoft Word: DocPreWord60
eBook: MOBI, CHM

Save Document As

Fixed Layout: XPS, OpenXps
PostScript: PS
Printer: PCL
eBook: EPUB
Markup: XamlFixed, HtmlFixed, XamlFlow (Beta), XamlFlowPack (Beta)
Image: SVG, TIFF, PNG, BMP, JPEG, GIF
Metafile: EMF

Get 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");

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-21-4-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
21.4.0 108 4/14/2021
21.3.0 104 3/15/2021
21.2.0 5,003 2/15/2021
21.1.0 171 1/22/2021
20.12.0 227 12/18/2020
20.11.0 192 11/17/2020
20.10.0 262 10/19/2020
20.9.0 264 9/18/2020
20.8.0 331 8/14/2020
20.7.1 206 8/7/2020
20.7.0 288 7/16/2020
20.6.0 1,632 6/16/2020
20.5.0 355 5/19/2020
20.4.0 460 4/20/2020
20.3.0 420 3/16/2020
20.2.0 653 2/14/2020
20.1.0 1,611 1/20/2020
19.12.0 396 12/10/2019
19.11.1 396 11/19/2019
19.11.0 621 11/8/2019
19.10.0 4,441 10/3/2019
19.9.0 335 9/5/2019
19.8.1 380 8/28/2019
19.8.0 403 8/12/2019
19.7.0 440 7/13/2019
19.6.0 390 6/14/2019
19.5.0 553 4/25/2019
19.4.0 403 4/1/2019
18.11.0 903 11/9/2018
18.8.0 1,069 7/30/2018