Telerik Document Processing Libraries 2025 Q2 (2025.2.520)

Released: May 19, 2025

2025 Q2 (2025.2.520) 中的更新

特性

  • Breaking Changes:
    • Trial and commercial users now use the same product package. The trial and commercial product versions merged into a single unified distribution package. The product access now depends on a license key file. This eliminates the need for separate trial downloads.
    • For basic compression/decompression tasks, the Telerik Document Processing Libraries now use System.IO.Compression instead of Telerik.Zip.
  • What's New:
    • Document Processing Libraries no longer support .NET 6. Please use .NET 8 as minimal supported .NET version.
    • Added support for querying and summarizing PDF content using AI, enabling users to interact with and extract insights from PDF files.
    • Introduced multiple Digital Signatures support.
  • Dependencies:
    • Updated SkiaSharp dependency to version 3.116.1.
  • PdfProcessing:
    • Added support for Optical Character Recognition (OCR).
    • Introduced multiple Digital Signatures support.
    • Introduced support for Marked Content.
    • RadFixedPage.CropBox is now respected when exporting to image with SkiaImageFormatProvider.
    • Hierarchical document structure (import-export) is now preserved.
    • PdfStreamWriter: AdditionalActions (AA) are now exported when merging pages.
    • Introduced support for UnShrinking - Method 1.
    • Introduced partial support for GoToR action.
    • Handled the import of documents with null elements in the Associated Files (/AF) collection.
    • Handled the import of documents with Associated Files elements whose content is set to null.
    • Exposed Clone methods for cloning PositionContentElements (Path, Image, Form, TextFragment).
    • Tesseract OCR now works on Linux platforms.
    • Introduced support for Launch action.
    • Added support for querying and summarizing PDF content using AI, enabling users to interact with and extract insights from PDF files.
    • Fields that are not in the fields dictionary are now imported.
    • Breaking Change: Removed PdfExportSettings.ShouldEmbedFonts obsoleted API.
  • SpreadProcessing:
    • Updated the implementation of the SimpleTextMeasurer to use AverageFontWeight.
  • ZipLibrary:
    • EncryptionSettingsBase constructor and Algorithm property have been removed; use the static creation methods instead.
    • Implemented timeout for creating, updating and reading of zip archives.
    • Breaking Change: ZipArchive constructors have been removed. Use the static methods instead.
    • Breaking Change: DefaultCryptoProvider class has been removed. Use PkzipCryptoProvider instead.
    • Breaking Change: Removed DefaultEncryptionSettings class. Use the static creation methods of the EncryptionSettings class instead.
    • Breaking Change: ShouldEmbedFonts property of the PdfExportSettings has been removed. Use FontEmbeddingType instead.

修補程式

  • PdfProcessing:
    • Fixed wrong image export when a document is signed and has indexed color space.
    • Fixed issue where wrong font is loaded when FontFile2 is CFF (Compact Font Format).
    • Fixed issue where a NotImplementedException is thrown when calling Type1FontSource.GetCapHeight() method.
    • Fixed issue where the StokeAlphaConstant is not handled correctly when applied on a TextFragment.
    • SkiaImageFormatProvider: Fixed issue where wrong glyph is rendered due to incorrectly parsed Type1Font glyph data.
    • SkiaImageFormatProvider: Fixed issue where IndexOutOfRangeException is thrown due to wrongly processed image data.
    • Fixed issue where a NullReferenceException is thrown when the GetAllTextFromImage method is executed on a blank image without text.
    • Fixed issue where a NotImplementedException is thrown for the SvgFontDefn's MeasureCharacters method.
    • Fixed issue regarding an InvalidDataException: 'Unknown compression method (0x3C)' when importing a file with XRef table defined in an object with FlateDecode filter.
    • Fixed issue where an InvalidCastException is thrown when importing a document with an annotation declared in the Fields collection.
    • Fixed issue where exporting a specific PDF file generates large amounts of ExtGState entries.
    • Fixed issue where an ArgumentOutOfRangeException is thrown when creating a CapPathRound for an SVG element.
    • Fixed issue where an ArgumentNullException is thrown when importing a document with widget annotations and null state appearance.
    • Fixed issue where a NullReferenceException is thrown while importing document without AcroForm, containing fields defined in the widget annotation.
    • Fixed issue where Form Fields are not copied when merging documents' pages using PdfStreamWriter.
  • SpreadProcessing:
    • XlsFormatProvider: Fixed issue where FormulaParseException is thrown when importing a document with formulas referencing non-existent named ranges.
    • Fixed issue where an InvalidOperationException is thrown when a comment uses legacyDrawingHF element instead of legacyDrawing.
    • Fixed incorrect timestamp of DateTime with custom number format.
    • Fixed issue where Exception Sequence contains no matching element is thrown on importing a document with a comment without an author.
    • Fixed issue where using timeout with Timespan.MaxValue results in ArgumentOutOfRangeException: 'Specified argument was out of the range of valid values. (Parameter 'delay').
    • Fixed incorrect format result when the fraction format is applied and the worksheet contains fractions with a fractional part higher than 0.5.
  • WordsProcessing:
    • Fixed issue where simulated bold text loses its boldness after exporting a DOCX file to PDF format.
    • Fixed issue where a NullReferenceException is thrown when importing documents with moved content when Track Changes is enabled.
    • HTMLFormatProvider: Fixed issue where exporting to HTML does not preserve line spacing.
    • Fixed issue where document's East Asia font falls back to a different font when opened in MS Word.
    • Fixed issue where 'If At Least' line spacing is smaller than the font size, it causes squished lines when exported to HTML.
    • Fixed wrong glyph rendering when the Type3FontGlyphSource.Width is not consistent with the font's Width.
    • Fixed issue where an InvalidOperationException is thrown when document with comment on a deleted text is imported.
    • Fixed issue where an ArgumentException is thrown when a theme element does not have a name.