Unplanned
Last Updated: 12 Nov 2018 15:45 by ADMIN
When there is an abstractNum defined with the same abstractNumId in word\glossary\numbering.xml and in the word\numbering.xml, a "System.ArgumentException: An item with the same key has already been added." exception is thrown.

In other cases, the import overwrites the styles from the main document part with the ones defined in the glossary or fails to import different parts of the content. 

Completed
Last Updated: 29 Sep 2020 09:03 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)
When xlsx/docx document is imported, and its main story is with non-default name ('workbook. xml'/'document.xml'), e.g. workbook2.xml/document2.xml, NullReferenceException is thrown and the document is not imported.

Note: Such documents are usually produced after conversion from a template dotx/xlsm.
In Development
Last Updated: 01 Mar 2024 10:57 by ADMIN

The value of the TextBoxField is not visible until the field is clicked.

Workaround: Force content update:

foreach (var widget in textBoxField.Widgets)
{
    widget.RecalculateContent();
}

If the update still doesn't fix the issue, change the font prior to setting the value of the field:

foreach (var widget in textBoxField.Widgets)
{
    widget.TextProperties.Font = FontsRepository.Helvetica;
}
Another option could be to set the ViewersShouldRecalculateWidgetAppearances to true in order to force the viewers to update the appearance of the widgets.
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: 31 Jul 2023 08:45 by Barbarajoy
Created by: Barbarajoy
Comments: 0
Category: Telerik Document Processing
Type: Bug Report
3
Importing large XLS documents is slow.
Unplanned
Last Updated: 24 Feb 2023 07:49 by Patgat
Created by: Patgat
Comments: 0
Category: Telerik Document Processing
Type: Bug Report
3
The Row Height is not respected when converting to pdf.
Duplicated
Last Updated: 30 Nov 2023 10:29 by ADMIN

Hi,

We are using HTMLFormatProvider and PDFFormatProvider for converting HTML  string to PDF file.  The below issues are identified while converting PDF.

 

1. Text Foreground  and Background color is not working in pdf.

HTML:

<p><span style="color: rgb(216, 55, 98); background-color: rgb(28, 122, 144); font-size: 30px;">Test</span></p>

We get the same issue even though we added below code.

foreach (Run run in document.EnumerateChildrenOfType<Run>())
{
    if (!run.Properties.HighlightColor.HasLocalValue)
	{
		run.HighlightColor = run.Shading.BackgroundColor.LocalValue;
	}
}

Attached the PDF file 

2. Strikeout is not working in PDF

  Sample HTML:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p><span style="font-size: 24px;"><del>Delete Strike Through line in the paragraph</del></span></p>
</body>
</html>

attached the PDF file .

It would be appreciated , if you provide the solution for those issues

 

Regards,

Babu

 

 

Unplanned
Last Updated: 18 Mar 2024 08:00 by ADMIN
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)
Completed
Last Updated: 08 Nov 2021 11:13 by ADMIN
Release R3 2021 SP1
Forecolor of table cells text is not preserved when exporting to PDF
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

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.
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.
Unplanned
Last Updated: 01 Aug 2023 09:43 by Oliver
Importing and exporting documents containing chats with legends placed over the chart causes the legends to be misplaced and with a wrong number of series.
Unplanned
Last Updated: 01 Aug 2023 09:39 by Oliver
If a document containing chats with multiple vertical axes is imported and exported, the vertical axes are misplaced and with wrong minimum and maximum values.
Unplanned
Last Updated: 01 Aug 2023 09:29 by Oliver
If a document containing chats with logarithmic axes is imported and exported, the logarithmic axes are converted to linear.
Completed
Last Updated: 05 Jul 2023 11:55 by ADMIN
Release R2 2023 SP1
The NotBetween conditional formatting rule applies the format to all the cells, no matter if the rule is satisfied or not.
Unplanned
Last Updated: 16 Mar 2023 08:23 by Joel
Wrong image resizing leads to cropped images when adding large images
Unplanned
Last Updated: 21 Mar 2024 07:45 by Dmytro

When calling a PDF export in a high-concurrency environment the internal state can get corrupted because it uses a non-thread safe collection internally.

Sample code:

void WriteToPdf(RadFlowDocument document, Stream outputStream) {

   PdfFormatProvider pdfWriter = new() {};

   pdfWriter.Export(document, outputStream);
}

When calling it like this:

Parallel.ForEachAsync(listOfDocuments, (document, _) => {
   WriteToPdf(document, Stream.Null);
});

An exception may occur:

System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at Telerik.Windows.Documents.Fixed.Model.Fonts.FontsRepository.TryCreateFont(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight, FontBase& font)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Utils.Extensions.CopyPropertiesFrom(CharacterProperties fixedProperties, PdfExportContext context, CharacterProperties properties)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.CreateListLevel(ListLevel flowLevel)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.CreateList(List flowList)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.ExportDocument(RadFlowDocument document, RadFixedDocumentEditor editor)
   at Telerik.Windows.Documents.Flow.FormatProviders.Pdf.Export.PdfExporter.ExportInternal()
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Export(T document, Stream output)
   at xxxxx.Application.Common.PdfGeneration.PdfWriter.WriteToPdf(RadFlowDocument document, Stream outputStream) 

The state is then corrupted forever, until the application is restarted.

Realistic scenario where this is also reproduced: Web application that generates PDFs and is called concurrently.

 

Unplanned
Last Updated: 17 Feb 2023 16:25 by TheGramix
Iterating the rows of the worksheet without reading the cells is not moving to the next row.
Completed
Last Updated: 19 Jan 2023 14:56 by ADMIN
Release R1 2023

InvalidCastException 'Unable to cast object of type 'EffectContainerElement' to type 'EffectListElement' is thrown on import.

As a workaround, you can either use the old version of the assemblies (R2 2022) or you can set ImportSettings.SkipShapes of the DocxFormatProvider to true.

1 2 3 4 5