Skip to content

aspose-words/Aspose.Words-for-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

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.

This repository contains Examples and Showcases for Aspose.Words for C++ to help you learn and write your own applications.

Directory Description
Examples A collection of C++ examples that help you learn and explore the API features
Showcases Standalone ready-to-use applications that demonstrate some specific use cases

Word File Processing via C++

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

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++

// 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

// 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 | Search | Free Support | Temporary License

Releases

No releases published

Packages

No packages published