Completed
Last Updated: 03 Apr 2023 13:16 by ADMIN
Release R2 2023

Setting a filter on a mask results in an invalid file when exporting. 

Workaround: Set the filer like this:

PdfFormatProvider provider = new PdfFormatProvider();
provider.ExportSettings.ImageCompression = new ImageFilterTypes[] { ImageFilterTypes.FlateDecode };

Unplanned
Last Updated: 27 Mar 2023 09:42 by Damien
Created by: Damien
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
With the current implementation, all the pages are imported.
Unplanned
Last Updated: 24 Mar 2023 07:42 by Alon Rosenberg

InvalidOperationException Cannot find the "endstream" keyword with a specific file.

According to the PDF Specification:

A stream consists of a dictionary followed by zero or more bytes bracketed between the keywords stream and endstream:

dictionary
stream
… Zero or more bytes …
endstream

Completed
Last Updated: 18 May 2023 07:25 by ADMIN
Release R2 2023
The PdfFormatProvider currently supports such an option (check the ImageCompression setting).
Completed
Last Updated: 31 Mar 2023 10:51 by ADMIN
Release R2 2023
When the document contains an encrypted Hex string in Bookmark titles the strings are not decrypted and they are wrongly displayed.

The observed result using the WPF PdfViewer:

Completed
Last Updated: 31 Mar 2023 06:33 by ADMIN
Release R2 2023
Repeating header rows are not imported correctly. 
Unplanned
Last Updated: 10 Mar 2023 08:19 by Ottar
Fields are doubled according to ItextSharp after import/export. 
Completed
Last Updated: 31 Mar 2023 06:49 by ADMIN
Release R2 2023
When the image within a document is compressed with FlateDecode and there is no specific ImageFilterTypes set the image data is exported with FlateDecode compression but a wrong DCTDecode filter name is set which leads to a broken PDF file.

Workaround: Set explicitly the the ImageCompression filter:
PdfFormatProvider provider = new PdfFormatProvider();
provider.ExportSettings.ImageCompression = new ImageFilterTypes[] { ImageFilterTypes.FlateDecode };
Unplanned
Last Updated: 26 Apr 2024 08:37 by ADMIN

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.

 

Duplicated
Last Updated: 14 Mar 2023 07:57 by ADMIN
Created by: Johannes
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Implement ShadingType 7
Unplanned
Last Updated: 01 Mar 2023 10:31 by Johannes
OverflowException (Arithmetic operation resulted in an overflow.) when converting a document to an image. 
Unplanned
Last Updated: 01 Mar 2023 09:06 by Johannes
Created by: Johannes
Comments: 0
Category: PdfProcessing
Type: Feature Request
2
Add support for GoToR action
Completed
Last Updated: 27 Jun 2023 13:54 by ADMIN
Release R2 2023 SP1
InvalidCastException when importing link annotations that are referenced with indirect reference. 
Completed
Last Updated: 11 May 2023 10:00 by ADMIN
Release R2 2023
Invalid list layout when converting to pdf and the list includes several pages.
Unplanned
Last Updated: 22 Feb 2023 07:23 by Steven
Exception when publishing with ReadyToRun option and manually registering fonts.
Unplanned
Last Updated: 16 Feb 2023 14:07 by ADMIN
Provide a consistent API for cloning document elements. Currently, we have a public API for cloning documents but not their elements. 
Unplanned
Last Updated: 06 Feb 2023 10:49 by Martin
After merging documents with PdfStreamWriter the JavaScript actions are broken and not working.
Completed
Last Updated: 21 Feb 2023 14:50 by ADMIN
Release R1 2023 SP1
Missing content when converting a specific PDF to images (mostly text and shapes).
Unplanned
Last Updated: 25 Jan 2023 09:27 by Martin

Support for validating signature fields signed with signatures that are encoded in ETSI.RFC3161 encoding should be added.

Currently, when invoking the Signature`s TryValidate() method an exception is thrown: NotSupportedException: 'No signature validation handler was found for the subfilter: ETSI.RFC3161'

Completed
Last Updated: 25 Jan 2023 16:22 by ADMIN
Release Release R1 2023 SP1
The import freezes due to a lot of checks in the HandleInvalidClippingPathOperatorPosition method.