Unplanned
Last Updated: 17 Oct 2024 08:58 by Heather

PdfStreamWriter: "InvalidOperationException: 'isContentReleased'" is thrown when creating a multi-page document with an umlaut on the last page.

Workaround - Explicitly set the block font:
block.TextProperties.Font = FontsRepository.Courier;

Unplanned
Last Updated: 01 Oct 2024 13:41 by Sven
Currently we skip these images in the import for PdfProcessing.
Completed
Last Updated: 13 Nov 2024 09:15 by ADMIN
Release 2024.4.1106 (Q4 2024)
Usually, the object references are expected to be stored in the following format: "5 0 obj". However, if the format is "0000005 0 obj", the document can't be parsed successfully. As a result the document is not displayed in RadPdfViewer.
In Development
Last Updated: 08 Jul 2025 09:48 by ADMIN
Missing spaces from TextFragments when exporting to plain text.
Unplanned
Last Updated: 19 Sep 2024 08:53 by Jeff
Created by: Jeff
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
The use case we should cover is make stamp or other signatures immovable.
Unplanned
Last Updated: 18 Sep 2024 08:01 by Elsa
Created by: Elsa
Comments: 0
Category: PdfProcessing
Type: Feature Request
1

Support for FileAttachment annotations. 

A file attachment annotation contains a reference to a file, which typically is embedded in the PDF file.

Unplanned
Last Updated: 11 Sep 2024 09:36 by Alex
Created by: Alex
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Add support for annotations with custom Subtype.
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
Win32Exception is thrown during a long-running process importing many documents with images.
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
Unexpected trace warning when SVG document does not contain clipping.
Completed
Last Updated: 13 Nov 2024 08:51 by ADMIN
Release 2024.4.1106 (Q4 2024)
ArgumentNullException is thrown when resolving DecodeParms collection in Image XObject.
Unplanned
Last Updated: 26 Aug 2024 09:09 by Henrik
Completed
Last Updated: 13 Nov 2024 08:03 by ADMIN
Release 2024.4.1106 (Q4 2024)
While parsing the Post table of a specific font file on export an exception is thrown: InvalidOperationException: 'Position is out of range.'
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)

SkiaImageFormatProvider: Add support for Text, TextMarkup, Line, and Stamp annotations.

Currently, these annotations are omitted on image export.

Completed
Last Updated: 13 Nov 2024 09:19 by ADMIN
Release 2024.4.1106 (Q4 2024)
When writing a RadFixedPage with image content using the PdfPageStreamWriter`s WriteContent method an exception is thrown: NullReferenceException: 'Object reference not set to an instance of an object.'
Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
Completed
Last Updated: 07 Aug 2024 15:19 by ADMIN
Release 2024.3.806 (2024 Q3)

When Cyrillic culture is set an InvalidCastException is thrown.

Workaround: use English culture during the import process

            System.Globalization.CultureInfo currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;
            System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-EN");
            PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument document;
            using (Stream stream = File.OpenRead("popup_dedetizacao_ok.pdf"))
            {
                document = provider.Import(stream);
            }
            System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture;
        

For the RadPdfViewer control you can use a similar approach: 

            System.Globalization.CultureInfo currentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;
            System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-EN");
            PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument document;
            using (Stream stream = File.OpenRead("popup_dedetizacao_ok.pdf"))
            {
                document = provider.Import(stream);
            }
            System.Threading.Thread.CurrentThread.CurrentCulture = currentCulture;

            RadForm form = new RadForm();
            RadPdfViewer radPdfViewer1 = new RadPdfViewer();
            form.Controls.Add(radPdfViewer1);
            radPdfViewer1.LoadElementTree();
            radPdfViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
            radPdfViewer1.Document = document;
             
            form.ShowDialog();

 

Unplanned
Last Updated: 06 Aug 2024 08:09 by Peg

The expected behavior is to iterate all the pages in a PDF document, export each page's content to an image and combine all the images in a common multipage TIFF image.

Workaround: Converting a PDF Document to a Multipage TIFF Image

Completed
Last Updated: 13 Nov 2024 08:50 by ADMIN
Release 2024.4.1106 (Q4 2024)
When writing image content with the PdfPageStreamWriter an exception is thrown (NullReferenceException: 'Object reference not set to an instance of an object.') because the ExecutionHandler is not set to the export context.
Unplanned
Last Updated: 30 Jul 2024 14:14 by Mathew

This is the code for inserting the image: 

        static void Main(string[] args)
        {
            FixedExtensibilityManager.ImagePropertiesResolver = new ImagePropertiesResolver();

            //Telerik.Windows.Documents.Extensibility.JpegImageConverterBase defaultJpegImageConverter = new Telerik.Documents.ImageUtils.JpegImageConverter();
            //Telerik.Windows.Documents.Extensibility.FixedExtensibilityManager.JpegImageConverter = defaultJpegImageConverter;

            //Output("fyb-64.png", "output-working.pdf");
             Output("fyb.png", "output-broken.pdf");
        }
        private static void Output(string resourceName, string outputFileName)
        {
            var document = new RadFixedDocument();
            using (var editor = new RadFixedDocumentEditor(document))
            {
                Stream image = new FileStream(resourceName, FileMode.Open);

                var table = new Table
                {
                    LayoutType = TableLayoutType.FixedWidth,
                    Margin = new Thickness(10, 0, 0, 0),
                };

                var row = table.Rows.AddTableRow();
                var cell = row.Cells.AddTableCell();
                var block = cell.Blocks.AddBlock();
                block.InsertImage(image);
                editor.InsertTable(table);

                var pdfData = ExportToPdf(document);
                File.Delete(outputFileName);
                File.WriteAllBytes(outputFileName, pdfData);

                Process.Start(new ProcessStartInfo() { FileName = outputFileName, UseShellExecute = true });
            }
        }

        private static byte[] ExportToPdf(RadFixedDocument document)
        {
            byte[] pdfData;

            using (var ms = new MemoryStream())
            {
                var pdfFormatProvider = new PdfFormatProvider();
                pdfFormatProvider.Export(document, ms);
                pdfData = ms.ToArray();
            }

            return pdfData;
        }

Workaround: Instead of setting the ImagePropertiesResolver, set the JpegImageConverter: 

            Telerik.Windows.Documents.Extensibility.JpegImageConverterBase defaultJpegImageConverter = new Telerik.Documents.ImageUtils.JpegImageConverter();
            Telerik.Windows.Documents.Extensibility.FixedExtensibilityManager.JpegImageConverter = defaultJpegImageConverter;