We are pleased to announce our next version Aspose.Words for .NET 18.11. This month’s release contains over 69 useful new features, enhancements, and bug fixes. Please check the release notes to get an idea about all new features, enhancements, and fixes made in this release. If you are planning to upgrade from an older version of Aspose.Words to the current version, we would strongly suggest you to check the Public API and Backward Incompatible Changes section to know what APIs are changed so far.
Export Header and Footer in Word Document to TXT File
A new feature has been added in Aspose.Words 18.11 to export all headers and footers at the end of the document. We have added new property TxtSaveOptions.ExportHeadersFootersMode in this version of Aspose.Words. The main advantage of a new property over the old TxtSaveOptions.ExportHeadersFooters property is that it has new headers and footers export mode: ‘AllAtEnd’. In this mode Aspose.Words acts the way similar to MS Word; all headers and footers are placed after all section bodies at the very end of a document.
The following code sample shows how to export header and footer in a Word document to a TXT file using C#.
Please read the following article for more details.
Other API Changes
Here is a look at just a few of the biggest features and API changes in this month’s release.
- Fixed hang with auto-sized tables when the cell has right-aligned floaters.
- Fixed wrong visual order of text in specific cases.
- Fixed non-breaking space widths calculation.
- Implemented support for floating table metrics when calculating grid.
- ROP (raster operations) emulation code was improved, resulting in a significant performance boost (up to 5 times) when rendering the corresponding metafiles.
- Improved legacy vertical writing support in EMF rendering.
Fonts with the ‘@’ prefix additionally rotate the Japanese glyphs.
- Improved calculation of the shape boundaries, more accurately mimicking the MS Word output.
- Improved the rendering of DrawingML charts canvases overlay.
Markers of the “nofill” series are rendered on the foreground.
- Improved rendering of DrawingML chart axes for documents created using MS Word 2007.
- Fixed a bug with an incorrect resolution of the system “window” color when rendering of VML shapes.
- Fixed an issue with underline/strikeout text effects in EMF/WMF rendering.
- Fixed a document rendering issue when font with English name could not be found in the system with a different locale.
- Fixed bug with rendering of DrawingML chart markers, if series data are not sorted in ascending order.
- Fixed a bug causing shifts of rotated shapes in DrawingML chart while rendering.
- Provided TxtSaveOptions.
Aspose.Words for .NET Resources
The following resources will help you work with Aspose.Words for .NET:
- Home page of .NET API.
- Install using NuGet Package
- Documentation – up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
- API Reference Guide – detailing the publicly exposed classes, methods, properties, constants & interfaces.
- Aspose.Words Product Family Forum – post your technical questions and queries, or any other problem you are facing while working with Aspose.Words APIs.
- Enable Blog Subscription – do not limit yourself, you can keep yourself updated with the latest news on Aspose.Words APIs, new features, fixes and other API related topics by subscribing to Aspose.Words blog.
- Examples – we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.