Declined
Last Updated: 21 Mar 2022 12:59 by ADMIN
Fadi
Created on: 12 Feb 2022 21:02
Category: Telerik Document Processing
Type: Bug Report
0
RadFixedDocument.Merge System.NotImplementedException in Telerik_UI_for_WPF_2022_1_207_Dev_Hotfix
                        

public string AppendPdfList(string[] append)
{
           PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument targetDocument = new RadFixedDocument();
            provider.ImportSettings.DocumentUnhandledException += (o, args) => { args.Handled = true; };

            // Iterate through the files you would like to merge 
            foreach (string documentName in append)
            {
               RadFixedDocument sourceDocument = provider.Import(File.ReadAllBytes(documentName));
               targetDocument.Merge(sourceDocument);
            }
            TelerikPdfHelper.ClearDuplicatedFonts(targetDocument);

            OutputFilename = Path.GetTempFileName();
           File.WriteAllBytes(OutputFilename, provider.Export(targetDocument));
            return OutputFilename;
}

 

Results in System.NotImplementedException: 'The method or operation is not implemented.

3 comments
ADMIN
Dimitar
Posted on: 21 Mar 2022 12:59

Hi Fadi,

There is no response for more than a month.  I will close this item for now. If you have further information let me know.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Dimitar
Posted on: 16 Feb 2022 10:10

Hello Fadi,

I do not think this is the same issue. Would it be possible to open a ticket and attach the file there (this thread is public)? This way we will be able to properly investigate the case and determine what is causing this. Alternatively, can you provide the call stack of the exception? 

I think this might be caused because of this missing functiaonlity: PdfProcessing: Add support for Type 3 fonts. This is already resolved and the fix will be available in the next service pack (scheduled for the end of the next week).

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Fadi
Posted on: 14 Feb 2022 14:38
This seems to be PDF specific and related to changes suggested in https://feedback.telerik.com/document-processing/1499915-pdfprocessing-provide-a-mechanism-to-reuse-an-already-embedded-font-when-merging-documents-with-the-pdfstreamwriter