Aspose.Words.Cpp
25.6.0
dotnet add package Aspose.Words.Cpp --version 25.6.0
NuGet\Install-Package Aspose.Words.Cpp -Version 25.6.0
<PackageReference Include="Aspose.Words.Cpp" Version="25.6.0" />
<PackageVersion Include="Aspose.Words.Cpp" Version="25.6.0" />
<PackageReference Include="Aspose.Words.Cpp" />
paket add Aspose.Words.Cpp --version 25.6.0
#r "nuget: Aspose.Words.Cpp, 25.6.0"
#addin nuget:?package=Aspose.Words.Cpp&version=25.6.0
#tool nuget:?package=Aspose.Words.Cpp&version=25.6.0
C++ API for Word Document Processing
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.Words for C++ is a powerful on-premise class library that can be used to perform a wide range of document-processing tasks, including document generation, editing, conversion, and rendering. The library is fully self-contained and does not require any third-party software like Microsoft Word or OpenOffice. With the addition of our new AI-powered features—such as document summarization, translation, and grammar checking—you can now bring intelligent automation into your document workflows using your preferred AI model.
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.
- Provides AI-powered features to summarize documents, translate content, and check grammar, enhancing document intelligence and productivity.
- 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 bidirectional 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.
Supported Platforms
Microsoft Windows Server | Microsoft Windows |
---|---|
Windows 2008 Server (x64, x86) | Windows XP (x64, x86) |
Windows 2012 Server (x64, x86) | Windows Vista (x64, x86) |
Windows 2012 R2 Server (x64, x86) | Windows 7 (x64, x86) |
Windows 2016 Server (x64, x86) | Windows 8, 8.1 (x64, x86) |
Windows 2019 Server (x64, x86) | Windows 10 (x64, x86) |
Supported Formats
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-Only Formats
Microsoft Word: DocPreWord60
eBook: MOBI, CHM
Write-Only Formats
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
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.
auto doc = System::MakeObject<Document>();
// the DocumentBuilder class provides members to easily add content to a document.
auto 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.
auto doc = System::MakeObject<Document>(u"Template.doc");
// Save the document in EPUB format.
doc->Save(u"Output.epub");
Translate a Word document using your preferred AI model, such as OpenAI or Google models.
auto doc = MakeObject<Document>(MyDir + u"Document.docx");
// use OpenAI or Google generative language models.
auto model = System::ExplicitCast<GoogleAiModel>(MakeObject<AiModel>()->Create(AiModelType::Gpt4OMini)->WithApiKey(u"API_KEY"));
auto translatedDoc = model->Translate(doc, Language::Arabic);
translatedDoc->Save(ArtifactsDir + u"AI.AiTranslate.docx");
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
-
- CodePorting.Translator.Cs2Cpp.Framework (>= 25.6.0)
NuGet packages (2)
Showing the top 2 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. |
|
Aspose.Words.Shaping.HarfBuzz.Cpp
Aspose.Words.Shaping.HarfBuzz.Cpp is a C++ wrapper around HarfBuzz shaping engine for use in Aspose.Words.Cpp. Free support for Aspose.Words for C++ is provided on our support forum: https://forum.aspose.com/ and on StackOverflow: https://stackoverflow.com/questions/tagged/aspose.words |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
25.6.0 | 11 | 6/23/2025 |
25.5.0 | 236 | 5/23/2025 |
25.4.0 | 511 | 4/27/2025 |
25.3.0 | 638 | 4/2/2025 |
25.2.0 | 1,088 | 2/19/2025 |
25.1.0 | 1,007 | 1/26/2025 |
24.12.0 | 1,113 | 12/30/2024 |
24.11.0 | 876 | 12/12/2024 |
24.10.0 | 2,084 | 10/25/2024 |
24.9.0 | 1,639 | 9/20/2024 |
24.8.0 | 551 | 9/13/2024 |
24.7.0 | 721 | 8/2/2024 |
24.6.0 | 2,987 | 7/2/2024 |
24.5.0 | 3,758 | 5/28/2024 |
24.4.0 | 3,974 | 4/27/2024 |
24.3.0 | 3,423 | 3/28/2024 |
24.2.0 | 1,701 | 3/5/2024 |
24.1.0 | 5,282 | 2/2/2024 |
23.12.0 | 4,020 | 12/28/2023 |
23.11.0 | 930 | 12/21/2023 |
23.10.0 | 5,329 | 11/27/2023 |
23.9.0 | 8,312 | 9/22/2023 |
23.8.0 | 5,716 | 8/23/2023 |
23.7.0 | 5,679 | 7/26/2023 |
23.6.0 | 6,189 | 6/19/2023 |
23.5.0 | 4,568 | 5/22/2023 |
23.4.0 | 5,442 | 4/17/2023 |
23.3.0 | 5,770 | 3/20/2023 |
23.2.0 | 6,608 | 2/16/2023 |
23.1.0 | 8,142 | 1/26/2023 |
22.12.0 | 7,870 | 12/20/2022 |
22.11.0 | 8,658 | 11/23/2022 |
22.10.0 | 8,473 | 10/20/2022 |
22.9.0 | 2,870 | 10/3/2022 |
22.8.0 | 8,831 | 9/2/2022 |
22.7.1 | 14,808 | 7/21/2022 |
22.7.0 | 3,170 | 7/21/2022 |
22.6.0 | 14,021 | 6/24/2022 |
22.5.0 | 8,715 | 5/17/2022 |
22.4.0 | 9,729 | 4/13/2022 |
22.3.0 | 9,797 | 3/22/2022 |
22.2.0 | 11,159 | 2/16/2022 |
22.1.0 | 3,452 | 1/19/2022 |
21.12.0 | 7,704 | 12/17/2021 |
21.11.0 | 14,255 | 11/13/2021 |
21.10.0 | 10,564 | 10/15/2021 |
21.9.0 | 7,904 | 9/15/2021 |
21.8.0 | 6,670 | 8/20/2021 |
21.7.0 | 9,521 | 7/16/2021 |
21.6.0 | 7,937 | 6/17/2021 |
21.5.0 | 11,349 | 5/14/2021 |
21.4.0 | 5,721 | 4/14/2021 |
21.3.0 | 7,332 | 3/15/2021 |
21.2.0 | 13,112 | 2/15/2021 |
21.1.0 | 7,480 | 1/22/2021 |
20.12.0 | 7,460 | 12/18/2020 |
20.11.0 | 8,355 | 11/17/2020 |
20.10.0 | 5,008 | 10/19/2020 |
20.9.0 | 4,790 | 9/18/2020 |
20.8.0 | 7,060 | 8/14/2020 |
20.7.1 | 1,406 | 8/7/2020 |
20.7.0 | 8,602 | 7/16/2020 |
20.6.0 | 10,632 | 6/16/2020 |
20.5.0 | 5,190 | 5/19/2020 |
20.4.0 | 7,717 | 4/20/2020 |
20.3.0 | 3,226 | 3/16/2020 |
20.2.0 | 7,489 | 2/14/2020 |
20.1.0 | 2,784 | 1/20/2020 |
19.12.0 | 2,341 | 12/10/2019 |
19.11.1 | 1,536 | 11/19/2019 |
19.11.0 | 1,809 | 11/8/2019 |
19.10.0 | 5,624 | 10/3/2019 |
19.9.0 | 1,708 | 9/5/2019 |
19.8.1 | 2,143 | 8/28/2019 |
19.8.0 | 1,908 | 8/12/2019 |
19.7.0 | 1,670 | 7/13/2019 |
19.6.0 | 1,797 | 6/14/2019 |
19.5.0 | 1,706 | 4/25/2019 |
19.4.0 | 1,678 | 4/1/2019 |
18.11.0 | 3,784 | 11/9/2018 |
18.8.0 | 3,281 | 7/30/2018 |