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.
$ dotnet add package Aspose.Words.Cpp
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | 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.
Base64 encoding.RoutingSlip data while saving.| 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) |
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
Microsoft Word: DocPreWord60
eBook: MOBI, CHM
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
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.
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");
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");
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License