Unplanned
Last Updated: 17 Jun 2025 07:09 by ADMIN

Read the documentation for CancelationTokenSource.CancelAfter:

this method will throw an ArgumentOutOfRangeException when: delay.TotalMilliseconds is less than -1 or greater than Int32.MaxValue (or UInt32.MaxValue - 1 on some versions of .NET). Note that this upper bound is more restrictive than TimeSpan.MaxValue.

----------------------------------------------------

your code in CancelationTokenSourceFactory.CreateTokenSource does this check:

if (timeSpan.HasValue && timeSpan.Value != TimeSpan.MaxValue)

this check for TimeSpan.MaxValue seems totally pointless here, if timeSpan is anything between ~2147483647 and 922337203685476 milliseconds long this will still just throw a ArgumentOutOfRangeException.

I suspect that this check was intended as a way to prevent creating a cancellation timer that never triggers in the CancellationTokenSource, which should look like this:

if (timeSpan.HasValue && timeSpan != Timeout.InfiniteTimeSpan) //Timeout.InfiniteTimeSpan is -1 milliseconds
which still seems like premature optimization with no noticeable benefit but at least it isn't completely pointless.
Declined
Last Updated: 02 May 2025 06:24 by ADMIN
When trying to pass the ByteArray as an argument to PDFFormatProvider .Import I get the following error.

PdfFormatProvider provider = new PdfFormatProvider();
 RadFixedDocument fixedDocument = provider.Import(document.ByteArray);

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImportOverride()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.BaseImportContext.BeginImport(Stream pdfFileStream)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PdfImporter.Import(Stream input, IPdfImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.<>c__DisplayClass19_0.<ImportOverride>b__0()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input, CancellationToken cancellationToken)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Import(Stream input)
   at Telerik.Windows.Documents.Common.FormatProviders.BinaryFormatProviderBase`1.Import(Byte[] input)

I have attached the PDF I'm trying to import.

Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
When the line spacing of the paragraph is set to "at least" and the line spacing value is smaller than the font size, Word makes the actual value of the line spacing to be larger in order not to squish the lines. During export to HTML, Word skips the line spacing in such case, in order to preserve the same effect. WordsProcessing exports the line spacing, which causes the lines to become squished.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
Created by: Jan Brandenburger
Comments: 0
Category: Telerik Document Processing
Type: Bug Report
1
When the image passed to the GetAllTextFromImage() method doesn't have any text in it, a NullReferenceException is thrown. The expected behaviour should be to return a null or empty string.
Need More Info
Last Updated: 19 Feb 2025 14:51 by ADMIN
Created by: Jörg
Comments: 3
Category: Telerik Document Processing
Type: Bug Report
1

We use the PDF viewer in an WPF project and see sometimes faulty pdfs in the telerik viewer. If I open the pdf file in acrobat it lloks fine. Do you know this problem ?

Attached you find the original file and a screenshot from PDF viewer. Other files are shown correct in the telerik viewer.

Completed
Last Updated: 12 Feb 2025 15:18 by ADMIN
Release 2025.1.205 (2025 Q1)
The export method of the WorkbookFormatProviderBase does not use its timeout parameter.
Completed
Last Updated: 13 Nov 2024 09:26 by Richard
Release 2024.4.1106 (Q4 2024)
When a workbook contains two charts (regardless of whether they are in the same sheet or not) and both of them contain axes, the resulting document will be invalid and Excel will not be able to open it.
Unplanned
Last Updated: 18 Jul 2024 09:03 by Rory

Workaround: this is the missing part after the export:

Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)

When a format string of type: _ * # ##0_ ;_ * -# ##0_ ;_ * "-"??_ ;_ @_  is set through code and the culture settings of the machine are set so that the number grouping symbol is space, the resulting format string comes out incorrect on export: _,*,# ##0_,;_,*,-# ##0_,;_,*,"-"??_,;_,@_, 

This will happen every time the symbols in-between and after _ and * coincide with the number group separator.

Completed
Last Updated: 13 Nov 2024 09:23 by ADMIN
Release 2024.3.802 (2024 Q3)
Exporting specific documents with fields to PDF causes NullReferenceException.
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
When importing an xlsx document with a comment that does not have an author, an exception is thrown "Sequence contains no matching element" Note that this is a different bug from the very similar SpreadProcessing: Exception "Sequence contains no matching element" thrown in files containing notes or comments (telerik.com)
Unplanned
Last Updated: 29 Jan 2024 10:38 by Ye

If a worksheet has page breaks, but Fit to pages is also set to true, the page breaks should not be respected.

Workaround: Remove the page breaks before printing:

wb.ActiveWorksheet.WorksheetPageSetup.PageBreaks.Clear();

 

Unplanned
Last Updated: 21 Dec 2023 12:28 by Kenneth

An exception is thrown when the file contains the following format string 

"      PE @ "??0.0;-"      PE @ "??0.0;"      PE @   New";"      PE @ "_0_0@

The exception is thrown in the ValidateNumberFormatDescriptors method.

Unplanned
Last Updated: 12 Dec 2023 09:28 by Ye

In excel, if you set word wrap to cell content, make the column wider and then autofit the column in which it is, the content will fit to a reasonable width, as seen in the image below.

When doing the same in SpreadProcessing, the result is always a narrow column:

            CellSelection cellSelection = sheet.Cells[0, 0];
            cellSelection.SetIsWrapped(true);

            ColumnSelection columnSelection = sheet.Columns[0];
            columnSelection.SetWidth(new ColumnWidth(100, true));
            columnSelection.AutoFitWidth();

Result:

Here are the same steps performed in WPF RadSpreadsheet, which uses RadSpreadProcessing for its engine:

 

Duplicated
Last Updated: 22 Dec 2023 15:04 by ADMIN

 

 

The table styles are not imported correctly from HTML. The back color is not respected. The column width is incorrect. The font size is different.

Font is not in proper case- All the cases are in lower case

Completed
Last Updated: 14 Mar 2024 09:00 by ADMIN
Release 2024.1.305 (2024 Q1)

Hi there I have a pdf and whenever I try to Import the PDF file into PdfFormatProvider.Import method for flattening purposes, it throws null reference exception.

I have added a sample .net project with PDF added as source. You just need to run the project on your end. I am using version 2023.3.1106 of document processing library.

I am using ASP.NET 4.8 framework.

Thanks

Unplanned
Last Updated: 26 Sep 2023 12:15 by Sam
If a table has AutoFit layout type, but the preferred width of one of the cells is small, the cell does not expand during layout. The expected behavior would be that the cell expands to accommodate its contents, even if the preferred width is smaller.
Unplanned
Last Updated: 21 Sep 2023 08:36 by Avrohom Yisroel
Created by: Avrohom Yisroel
Comments: 0
Category: Telerik Document Processing
Type: Bug Report
0
The th tag should be imported with a heading style.
Completed
Last Updated: 19 Sep 2023 10:32 by ADMIN
Release R3 2023
If the same rule, which uses a formula, is applied on more than one range the result data validation is incorrect, because the formula is translated wrong. E.g. if a custom rule with a formula =IsNumber(A1) is applied on A1:C6 and F1:F6, the rule for cell A1 would be =IsNumber(F1) instead of IsNumber(A1)
Completed
Last Updated: 07 Sep 2023 13:41 by ADMIN
Release R3 2023
The print title defined name can contain any type of formula or literal and the document will still be valid. However, SpreadProcessing expects a cell range reference and throws and exception if the name contains something different.
1 2 3 4 5