DevExpress Office File API 21.2

Spreadsheet and Word Processing Document APIs can now produce tagged (accessible) PDF documents.
November 2, 2021
New Version

Features

Microsoft Visual Studio 2022 Support

  • DevExpress installers now ship separate VSIX extensions for Visual Studio 2022 to ensure that all major design-time tools (like the "DevExpress" menu, DevExpress Template Gallery, Toolbox, etc.) are fully functional.

PDF Export - Accessible PDF Support

  • The Spreadsheet Document API and Word Processing Document API can now produce tagged (accessible) PDF documents for those who use screen readers and other assistive technologies.
  • You can generate PDF files that conform to the following standards:
    • PDF/A-1a.
    • PDF/A-2a.
    • PDF/A-3a.
    • PDF/UA.

Custom Font Loading Engine

  • The Spreadsheet Document API and Word Processing Document API now allow you to use fonts not installed on a given operating system. This feature allows you to avoid font substitution when you print or export (to PDF) documents with non-standard fonts.
  • You can load a custom font from a file, stream and byte array.

PDF Document API

  • Annotation Enhancements
    • The DevExpress PDF Document API now supports the following annotation types:
      • Caret.
      • Rubber Stamp.
      • Shape (Circle, Square).
      • File Attachments.
      • Free Text.
      • Ink.
      • Link.
      • Line.
      • Polyline.
      • Polygon.
    • The Annotation Facade API allows you to add, edit, add replies and reviews, flatten and remove all available annotations.
  • Remove Document Content
    • The DevExpress PDF Document API now ships with a new ClearContent method. You can use this method to clear document content (within a specific page region).
  • PDF Export - EMF Support
    • The PDF Document API supports Enhanced Metafile (EMF) graphics. EMF graphics are no longer converted to raster images when you generate graphics context in PDF files, or export Microsoft Word and Excel documents to PDF.

Spreadsheet Document API

  • Generate Thumbnails for Worksheets and Chart Sheets
    • You can now use the new 'Worksheet.CreateThumbnail' and 'ChartSheet.CreateThumbnail' extension methods to generate thumbnails for worksheets and chart sheets. These methods allow you to specify thumbnail size/resolution, set scale percentage, define background color, etc.
  • Custom Paper Size Support
    • With this release, you can now specify non-standard paper sizes when printing documents. Use the new 'Worksheet.ActiveView.SetCustomPaperSize' method to define custom paper size for a worksheet.

Word Processing Document API

  • Field Enhancements
    • The DevExpress Word Processing Document API and WinForms/WPF Rich Text Editors now support SECTIONPAGES, REF and STYLEREF fields. The following field-related enhancements are included:
      • You can now replace fields with field values.
      • New UpdateAllFields method: Allows you to update all document fields (including fields located in headers, footers, text boxes, footnotes, and endnotes).
      • You can now suppress DOCVARIABLE field updates for loaded documents.
  • Watermark Enhancements
    • Extended the Watermark API for the DevExpress Word Processing Document API and WinForms/WPF Rich Text Editors. You can now execute the following actions:
      • Insert watermarks into individual section headers.
      • Modify existing watermarks (change watermark options and replace watermark image or text).
      • Remove watermarks from individual sections.
PDF Export - Accessible PDF Support

DevExpress Office File API

Read and write Excel and Word files, create and edit PDF documents, generate barcodes and compressed archives.

Got a Question?

Live Chat with our DevExpress licensing specialists now.