Completed
Last Updated: 18 May 2021 08:20 by ADMIN

PdfViewer: Password protected documents cannot be opened 

Workaround:

PdfFormatProvider provider = new PdfFormatProvider();
PdfImportSettings settings = this.radPdfViewer1.PdfViewerElement.ImportSettings;
settings.UserPasswordNeeded += (s, a) =>
{
    a.Password = "1234";
};

provider.ImportSettings = settings;

this.radPdfViewer1.LoadDocument(@"..\..\password.pdf");

Unplanned
Last Updated: 27 Apr 2021 13:00 by ADMIN
The executing of the PostScriptReader`s Read method takes a lot of time when iterating content streams with many Path geometries.
Unplanned
Last Updated: 16 Feb 2024 12:30 by ADMIN
Created by: Henk
Comments: 0
Category: PdfViewer
Type: Bug Report
0
PDFViewer: GotoDestination(Destination) is off vertically
Unplanned
Last Updated: 08 Apr 2021 08:06 by ADMIN
Created by: Joseph
Comments: 0
Category: PdfViewer
Type: Feature Request
2
Introduce support for per page rotation. The result should be automatically saved as well. 
Unplanned
Last Updated: 31 Mar 2021 11:20 by ADMIN
Created by: Henk
Comments: 0
Category: PdfViewer
Type: Feature Request
2
The PDF model allows actions to be defined for widgets using the optional /A entry. 
Completed
Last Updated: 30 Mar 2021 11:25 by ADMIN
Release R2 2021 (LIB 2021.1.329)
Pdf file with an image that uses indexed color space is not rendered correctly
Completed
Last Updated: 07 May 2021 11:46 by ADMIN
Release R2 2021
One should be able to change the default SignSignatureDialog. Its buttons event handlers should be made virtual as so one can override the default behavior as well.
Unplanned
Last Updated: 05 Mar 2021 12:14 by ADMIN
According to the PDF specification: Codes are never longer than 12 bits; therefore, entry 4095 is the last entry of the LZW table.
Completed
Last Updated: 11 Aug 2023 04:05 by ADMIN

Is there a way to load this RadFixedDocument into a RadPdfViewer without writing the document to a file first and then loading it in the viewer?

Workaround:

You can achieve the desired functionality by exporting the RadFixedDocument to a MemoryStream instead of a file in the file system and then load it in the PdfViewer: 

RadFixedDocument document = CreateRadFixedDocument();

PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
Stream ms = new MemoryStream();
pdfFormatProvider.Export(document, ms);

radPdfViewer1.LoadDocument(ms);

 

Completed
Last Updated: 17 Feb 2021 09:47 by ADMIN
Release R1 2021 SP2
Created by: TafnitDev
Comments: 1
Category: PdfViewer
Type: Bug Report
0

Hello,

When opening this document (see attached), PDF viewer crashes with following exception.

To reproduce, open this document in the Pdf Viewer WinForms example, latest version.

Screenshot attached.


************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfHexString' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'.
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExceptionHandler.TryHandle(Exception exception)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PageContentManager.LoadPageContent(RadFixedPage fixedPage)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.ThreadSafePageContentManager.LoadPageContent(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.LoadPage(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.BeginUsingPage(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.Text.TextPageProvider.CreateTextPage(RadFixedPage fixedPage, TextDocument parent)
   at Telerik.Windows.Documents.Fixed.Text.TextDocument.CreateTextPage(Int32 index)
   at Telerik.Windows.Documents.Fixed.Text.TextDocument.GetTextPage(Int32 index)
   at Telerik.WinControls.PdfViewer.MouseHandlers.SelectionHandler.Initialize(RadFixedDocument document)
   at Telerik.WinControls.PdfViewer.MouseHandlers.MouseHandlersController.InitializeHandlers(RadFixedDocument document)
   at Telerik.WinControls.UI.RadPdfViewerElement.documentLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

Unplanned
Last Updated: 28 Jan 2021 11:40 by ADMIN
Created by: Dimitar
Comments: 0
Category: PdfViewer
Type: Feature Request
0
Add support for Trigger Events
Completed
Last Updated: 13 Dec 2021 15:23 by ADMIN
Release R3 2021
The default radio button state is not displayed correctly with specific documents
Completed
Last Updated: 25 Sep 2024 10:22 by ADMIN
Release 2024.3.924
A specific scanned file is not displayed with the new model.
Completed
Last Updated: 15 Apr 2021 15:15 by ADMIN
Release R2 2021
Completed
Last Updated: 15 Apr 2021 15:22 by ADMIN
Release R2 2021
Created by: Vincenzo
Comments: 3
Category: PdfViewer
Type: Bug Report
0

Good morning.

 

I'm using a pdfViewer instance in order to load pdf forms, with text fields to be edited by the users.

Loading is ok, editing is ok, the problem is when I go to save the edited document. When I save the document, if I don't click elsewhere in the document, in which case the content of the field is committed, the content of the field is not saved with the document. This happens either using the 'Save As' button or using the SaveDocument API function.

Probably it is my fault, since I'm new to PdfViewer: I can imagine that something like a commit command has to be available, but I'm not able to find it.

 

Can you help me, please?
Thank you in advance.

 

PS. I will attach three screenshots in order to let you understand better what I mean.

Unplanned
Last Updated: 29 Oct 2020 08:09 by ADMIN
Show the DropDownList icon when the document contains ComboBox field. This is the default behavior in adobe as well. 
Completed
Last Updated: 11 Jan 2021 13:19 by ADMIN
Release R1 2021
Created by: Daniel
Comments: 1
Category: PdfViewer
Type: Feature Request
0
Is there a way to customize the box to request a signature?

 

 

Thanks in advance
Unplanned
Last Updated: 20 Apr 2020 10:10 by ADMIN
When importing document with text containing char code mapped to .notdef glyph name an ArgumentException: 'The encoding is not supported.' is thrown.
Completed
Last Updated: 15 May 2024 07:49 by ADMIN
Release 2024.2.514 (2024 Q2)
When the font is not embedded in the document, PdfViewer tries to read it from the OS. However, the Calibri-Font is not properly parsed and a NullReferenceException is thrown internally for its encoding. 
Unplanned
Last Updated: 22 Nov 2019 13:15 by ADMIN
When saving Form Fields in document defined with linearized PDF structure, it produces a document that fails to open in Edge.