Released: Jun 13, 2024
24.1 での更新項目
機能
Accessibility Enhancements
- Extended accessibility-related support to the following elements when exporting Word documents to accessible PDF files:
- Table of Contents tagging.
- Metadata fields.
- Alt text handling.
- Tables.
- Floating objects.
- Accessibility-related export enhancements are available out-of-the-box when you specify the PdfUACompatibility option.
- Added a Decorative property for both Word Processing Shape and Spreadsheet Shape classes to mark document graphics (pictures, shapes, and charts) as decorative. Decorative shapes add visual interest, but they are not informative. Thus, you do not need to specify Alt Text (meaningful description) for decorative objects when you generate an accessible document.
Printing on Unix-based Systems
- In this release, printing support has been added for .NET-based Office File API powered applications running on Unix-based systems. You can now print barcodes, and Word, Excel, and PDF documents in non-Windows environments. A new set of APIs have been created that work with the DXPrinterSettings options available in the DevExpress.Drawing library.
Export Documents to SVG
- Extended the image export engine and now support SVG images within the Barcode Generation API, Word Processing Document API, and Spreadsheet Document API libraries. With this release, you can generate SVG images from your Barcodes, Word document pages and Excel worksheets/cell ranges in both Windows and non-Windows environments.
Spreadsheet Document API
- Justify & Distributed Text Alignment - This adds support for Justify and Distributed horizontal alignment types within Spreadsheet cells. Excel files using these alignment options can be printed and exported to PDF. You can use the Cell.Alignment.Horizontal property to specify horizontal alignment in code.
- Sort and Filter by Color
- The DevExpress Spreadsheet Document API ships with enhanced filter and sort-related capabilities. New APIs have been added that can sort and filter workbook data by background and font color. Cell ranges filtered/sorted by cell color can be also printed and exported to PDF.
- The Sorting APIs include new Worksheet.Sort method overloads designed to sort a specified range by font color or fill setting (background color and pattern).
- The new APIs allow you to sort data across a filtered range (when auto-filter is enabled) and sort cells by their values/colors simultaneously (using sorting conditions).
PDF Document API
- Layers API - This release includes an enhanced PDF Facade API and new APIs designed to manage Optional Content (Layers) visibility in code.
- Note: A PDF document only stores a default Optional Content configuration. This means that Layer visibility is not preserved when you save the document. Visibility settings are only applicable when you preview the document in the PDF Viewer component or print the document/export it to an image.
- The new API is available via the PdfDocumentFacade.OptionalContentVisibility property. Access Optional Content groups using the PdfOptionalContentVisibility.Groups collection. To change group visibility, modify the PdfOptionalContentGroupVisibility.Visible property value.
- PDF-A Converter Enhancements
- With this release, the PdfDocumentConverter can convert your documents to PDF/A-1b. To create PDF/A-1b documents, pass the PdfCompatibility.PdfA1b value to the Convert method as a parameter.
- Added PdfDocumentConverter.PdfACompatibility and PdfDocumentConverter.PdfUACompatibility properties to help obtain the current PDF/A and PDF/UA versions of the document loaded to the converter.
Word Processing Document API
- Math Equations - The Word Processing tools now preserve Math Equations when saving a document. You can import your Word documents with Math Equations in the Word Processing Document API library and save them to the RTF and OpenXml (.docx/.docm) formats without content loss. Note: Math Equations will be printed or exported to PDF only if the source document contains a fallback image for a Math Equation. To suppress Math Equation import, set the DocumentCapabilities.MathEquations property to DocumentCapability.Disabled.
- Cross-Platform Image Export API - This release includes new cross-platform APIs to export Word document pages to an image. This new capability allows you to generate document previews in both Windows and non-Windows environments. With the new APIs, you can convert document pages to raster and vector images (PNG, JPEG, BMP, multi-page Tiff, emf), save them as physical files on the disk or obtain a list of image streams for further processing in code. You can also set image background color, modify output image resolution, or generate thumbnail images with a specified size. The new API is available via the RichEditDocumentServerExtensions.ExportToImage extension method of the Document object.
- Gutter and Mirrored Margins
- The DevExpress Word Processing Document API in this release allows you to specify gutter margins - extra space that ensures binding will not obscure text on printed pages. You can specify gutter position (top, left, and right) and margin size. Use the Document.GutterAtTop, SectionMargins.GutterPosition, and SectionMargins.Gutter properties to address specific usage requirements.
- The new Document.MarginType property allows you to define a regular or mirrored margin type. Enable mirrored margins if you print on both sides of the paper and want to bind the printout.