Discover the new features in Aspose.Words for C++ 19.8 release.
Markdown Features (.md Format)
Markdown provides a simple syntax for formatting plain text into HTML. Aspose.Words supports headings, block quotes, horizontal rules, bold and italic emphasis. The implementation follows the CommonMark specification, mapping each feature to styles or direct formatting. For example:
- Bold and Italic are represented as Font.Bold and Font.Italic.
- Headings are paragraphs with Heading 1 – Heading 6 styles
- Quotes are paragraphs with “Quote” in style name
- HorizontalRule is a paragraph with HorizontalRule shape
For more details, please read the following article.
Working with Markdown Features
Load and Convert Encrypted OpenDocument (.odt or .ott format)
The OdtSaveOptions class now allows additional settings when saving to ODT or OTT. Create an instance to save an ODT file encrypted with a password using the OdtSaveOptions.Password property. The sample below demonstrates loading and saving an encrypted OpenDocument.
Compress Metafiles in Word Document
MS Word compresses all metafiles by default. Previously Aspose.Words only compressed large metafiles for performance. The new AlwaysCompressMetafiles property lets you choose to compress all metafiles (default true) or skip small ones (false).
Linked TextBoxes in Word Document
The TextBox class defines text inside a Shape. Its Parent property returns the parent Shape, enabling you to locate linked Shapes. See the examples below:
Check if Particular DML Text Effect is Applied
The new Font->HasDmlEffect() method checks whether a specific DML text effect is applied to a Run, returning true when present. The example below demonstrates its use.
Working with TableStyle
A new TableStyle class, derived from Style, lets you apply shading, padding, indentation, cell spacing, fonts, and more. See the sections below for details:
Get Revision Group Details
The Revision.Group property returns the group a revision belongs to, or null if it has none. Revisions of type RevisionType.StyleDefinitionChange or those already accepted/rejected also have no group.
See Also Useful Links
The resources, you may need to accomplish your tasks:
- Aspose.Words for C++ Online Documentation - up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
- Aspose.Words for C++ Product Page
- Install Aspose.Words for C++ NuGet Package
- Aspose.Words for C++ API Reference Guide - detailing the publicly exposed classes, methods, properties, constants & interfaces.
- Download Examples at GitHub Repository - we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for C++ API by posting your suggestions and concerns in the Aspose.Words for C++ support forum.