Aspose.Words.Cpp
21.1.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
See the version list below for details.
Install-Package Aspose.Words.Cpp -Version 21.1.0
dotnet add package Aspose.Words.Cpp --version 21.1.0
<PackageReference Include="Aspose.Words.Cpp" Version="21.1.0" />
paket add Aspose.Words.Cpp --version 21.1.0
#r "nuget: Aspose.Words.Cpp, 21.1.0"
C++ API for Word Document Processing
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 
- Added the support for the cold rendering of
OOXML
SmartArt (Diagrams). - Ability to create Move revision.
- Added
IImageSavingCallback
toMarkdownSaveOptions
. - Added a field to the
Node
class so a User can store some custom meta-data in Aspose.Words Document model. - Ability to bookmark the table’s column.
- Feature to get or set Cell Vertical Alignment using
TableStyle
. - MS Word automatically picks the default Icon of the inserted
OLE
Object. - Added the
LastChild
property and theAppendChild()
method to theStructuredDocumentRangeStart
class. - Improved the URI processing to handle relative hyperlinks.
- Ability to convert Word to JSON in a Parent-Child hierarchy.
Please visit Aspose.Words for C++ 21.1 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");
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
C++ API for Word Document Processing
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 
- Added the support for the cold rendering of
OOXML
SmartArt (Diagrams). - Ability to create Move revision.
- Added
IImageSavingCallback
toMarkdownSaveOptions
. - Added a field to the
Node
class so a User can store some custom meta-data in Aspose.Words Document model. - Ability to bookmark the table’s column.
- Feature to get or set Cell Vertical Alignment using
TableStyle
. - MS Word automatically picks the default Icon of the inserted
OLE
Object. - Added the
LastChild
property and theAppendChild()
method to theStructuredDocumentRangeStart
class. - Improved the URI processing to handle relative hyperlinks.
- Ability to convert Word to JSON in a Parent-Child hierarchy.
Please visit Aspose.Words for C++ 21.1 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");
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-1-release-notes/
Dependencies
-
- CodePorting.Native.Cs2Cpp.API (>= 21.1.0)
Used By
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.2.0 | 4,900 | 2/15/2021 |
21.1.0 | 131 | 1/22/2021 |
20.12.0 | 159 | 12/18/2020 |
20.11.0 | 140 | 11/17/2020 |
20.10.0 | 213 | 10/19/2020 |
20.9.0 | 215 | 9/18/2020 |
20.8.0 | 284 | 8/14/2020 |
20.7.1 | 167 | 8/7/2020 |
20.7.0 | 242 | 7/16/2020 |
20.6.0 | 1,576 | 6/16/2020 |
20.5.0 | 311 | 5/19/2020 |
20.4.0 | 414 | 4/20/2020 |
20.3.0 | 372 | 3/16/2020 |
20.2.0 | 601 | 2/14/2020 |
20.1.0 | 1,569 | 1/20/2020 |
19.12.0 | 355 | 12/10/2019 |
19.11.1 | 358 | 11/19/2019 |
19.11.0 | 577 | 11/8/2019 |
19.10.0 | 4,397 | 10/3/2019 |
19.9.0 | 297 | 9/5/2019 |
19.8.1 | 334 | 8/28/2019 |
19.8.0 | 357 | 8/12/2019 |
19.7.0 | 387 | 7/13/2019 |
19.6.0 | 348 | 6/14/2019 |
19.5.0 | 506 | 4/25/2019 |
19.4.0 | 361 | 4/1/2019 |
18.11.0 | 853 | 11/9/2018 |
18.8.0 | 1,016 | 7/30/2018 |