From d14693a3b08ed359cd01876055bcdcadfc13f4f6 Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Mon, 10 Feb 2025 14:41:11 +0200 Subject: [PATCH 1/3] Changed TimeSpan to CancellationToken for Block.Measure --- libraries/radpdfprocessing/editing/block.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/radpdfprocessing/editing/block.md b/libraries/radpdfprocessing/editing/block.md index a0682528..da397abe 100644 --- a/libraries/radpdfprocessing/editing/block.md +++ b/libraries/radpdfprocessing/editing/block.md @@ -256,7 +256,10 @@ The code in __Example 9__ splits a block in two. The first will contains text "H //Size size = block.Measure(helloSize); //This method is obsolete since Q4 2024. - Size size = block.Measure(helloSize, TimeSpan.FromSeconds(10)); + CancellationTokenSource cancellationTokenSource = new(TimeSpan.FromSeconds(10)); + CancellationToken cancellationToken = cancellationTokenSource.Token; + + Size size = block.Measure(helloSize, cancellationToken); Block secondBlock = block.Split(); {{endregion}} From 11d7edb5c57fee594cef1e3b55d70492ac6e523b Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Mon, 10 Feb 2025 14:46:58 +0200 Subject: [PATCH 2/3] Updated version for KBs --- knowledge-base/extract-text-from-pdf.md | 2 +- knowledge-base/summarize-pdf-content.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/knowledge-base/extract-text-from-pdf.md b/knowledge-base/extract-text-from-pdf.md index dfafba8f..67d242fe 100644 --- a/knowledge-base/extract-text-from-pdf.md +++ b/knowledge-base/extract-text-from-pdf.md @@ -13,7 +13,7 @@ ticketid: 1657503 | Version | Product | Author | | ---- | ---- | ---- | -| 2025.1.128| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| +| Q1 2025 | RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| ## Description diff --git a/knowledge-base/summarize-pdf-content.md b/knowledge-base/summarize-pdf-content.md index e0be8c57..a803e2fd 100644 --- a/knowledge-base/summarize-pdf-content.md +++ b/knowledge-base/summarize-pdf-content.md @@ -13,7 +13,7 @@ ticketid: 1657503 | Version | Product | Author | | ---- | ---- | ---- | -| 2025.1.128| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| +| Q1 2025 | RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| ## Description From 4130438537f70544f8b83c2002e1de607886a3ca Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Mon, 10 Feb 2025 18:20:52 +0200 Subject: [PATCH 3/3] Release Notes Q1 2025 --- _config.yml | 8 +- .../2025/release-notes-2025-1-205.md | 97 +++++++++++++++++++ 2 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 release-notes/2025/release-notes-2025-1-205.md diff --git a/_config.yml b/_config.yml index 82ea7f2f..a9273525 100644 --- a/_config.yml +++ b/_config.yml @@ -15,6 +15,12 @@ navigation: release-notes: title: Release Notes position: 110 + release-notes/2025: + title: 2025 + position: 99 + release-notes/2024: + title: 2024 + position: 100 installation-and-deployment: title: Installation and Deployment position: 4 @@ -252,7 +258,7 @@ navigation: libraries/radziplibrary/features: title: Features position: 5 - + knowledge-base: position: 100 diff --git a/release-notes/2025/release-notes-2025-1-205.md b/release-notes/2025/release-notes-2025-1-205.md new file mode 100644 index 00000000..0b03a9e2 --- /dev/null +++ b/release-notes/2025/release-notes-2025-1-205.md @@ -0,0 +1,97 @@ +--- +title: Version 2025.1.205 (2025 Q1) +page_title: What is new in 2025.1.205 (2025 Q1) for the Document Processing Libraries +description: 2025.1.205 (2025 Q1) +slug: release-notes-2025-1-205 +tags: 2025.1.205,2025,Q1 +published: True +position: 99 +--- + + +# 2025.1.205 (2025 Q1) + + +## What's New + + +![new](../images/new.png) + +* Starting with 2025 Q1, all users of the Telerik and Kendo UI components and tools, will need to apply a valid license key file to both new and existing projects. For details, see our [Licensing Documentation]({%slug license-key%}). +* Introduced support for Optical Character Recognition (OCR), allowing the conversion of images of typed, handwritten, or printed text into machine-encoded text from a scanned document. + +## DocumentProcessing + + +![fixed](../images/fixed.png) + +* OpenXML formats are susceptible to DoS attacks passing through the timeout mechanism. + +## PdfProcessing + + +![new](../images/new.png) + +* Introduced support for Optical Character Recognition (OCR), allowing the conversion of images of typed, handwritten, or printed text into machine-encoded text from a scanned document. +* Introduced support for adding barcodes to a PDF document. +* Introduced option for setting height to table rows. +* Introduced API allowing optimization and reduction of the size of existing PDF files. +* Handled import of documents with missing MediaBox operator. +* Introduced support for import-export of XFA fields. +* Introduced support for Named actions. +* Introduced support for ResetForm action. + +![fixed](../images/fixed.png) + +* SkiaImageFormatProvider: An AggregateException: 'The given key 'Abc.Visuals.IAbcStrokedRectangle' was not present in the dictionary' is thrown when exporting the pages with SkiaImageFormatProvider. .NET Standard +* SkiaImageFormatProvider: Signature omitted on export. .NET Standard +* SkiaImageFormatProvider: Missing elements on rendered image. .NET Standard +* SkiaImageFormatProvider: Export to image is slow and the consumed memory is huge. .NET Standard +* A NullReferenceException is thrown when importing a file with explicitly set UserInterfaceName annotation property to null. +* A NullReferenceException is thrown when importing a document and enumerate the pages. +* A NullReferenceException is thrown when cloning or merging documents containing a Link with Action collection. +* A NotSupportedException is thrown when parsing CFF Type1 font. +* A NotSupportedException is thrown when exporting an image with ICCBased color space and the default ImageCompression is changed. +* Some text is missing when the culture is German. +* А KeyNotFoundException is thrown when reading glyph data with Type1Font. +* A KeyNotFoundException is thrown when loading a document with unsupported annotation. +* An InvalidOperationException: 'Position is out of range.' is thrown while reading the font in the import process. +* An InvalidCastException is thrown when parsing the font for a specific document. +* An IndexOutOfRangeException is thrown when encoding an image with Grayscale color space. +* Images are inverted after export. +* ImageFormatProvider: System.AggregateException exception is thrown when exporting a document to an image. .NET Standard +* An error in Adobe when inspecting a page with DeviceGray ColorSpace image after import-export. +* An ArgumentNullException is thrown when importing a document with missing indirect reference object. +* An ArgumentException: 'Name cannot contain .(period).' when merging PDF files with form fields. +* SkiaImageFormatProvider: OverflowException is thrown when converting a document to an image. .NET Standard +* PdfStreamWriter: JavaScript actions are broken after merging documents. +* A NullReferenceException when Type1 font with random bytes count (lenIV) is set to 0. +* An InvalidCastException is thrown when importing a file with missing space. +* An InvalidCastException is thrown when importing a document with a missing state separator in the object stream. +* A NullReferenceException is thrown when importing a form XObject with null Resources in PDF dictionary. + +## SpreadProcessing + + +![fixed](../images/fixed.png) + +* The Export method does not respect the timeout parameter. +* A NullReferenceException is thrown when exporting a workbook with no sheets. A message indicating that a workbook should contain at least one visible sheet is now displayed. +* Name Conflict window is displayed when an XLS file is imported and then exported to XSLX. +* Export to PDF fails in single-threaded platforms. .NET Standard +* Duplicating a worksheet with the CopyFrom method does not copy the defined conditional formatting rules. +* An ArgumentNullException is thrown when importing a document containing a rule with no format set. + +## WordsProcessing + + +![fixed](../images/fixed.png) + +* Remediated Security Vulnerability [CVE-2024-11629]({%slug kb-security-excessive-iteration-cve-2024-11629%}). .NET Standard + +## ZipLibrary + + +![fixed](../images/fixed.png) + +* Remediated Security Vulnerability [CVE-2024-11343]({%slug kb-security-excessive-iteration-cve-2024-11343%}).