Approved
Last Updated: 10 Sep 2019 14:10 by Hector

Exporting document with a missing image is caused by handled Exception on import for DecodeParms containing null or stream object. Currently, PdfProcessing supports only decode parameters containing simple types. The case when some dictionary value is null or stream object should be implemented.

Another case is when the whole dictionary/stream is null. In this case, an ArgumentNullException is thrown.
Completed
Last Updated: 10 Sep 2019 14:05 by Hector
Release R3 2019
This is reproducible with specific PDF files which use custom Encoding for the fonts of the field widgets. 

WORKAROUND: Change the font of VariableContentWidgets before editing the field value. You should additionally call RecalculateContent() method of these widgets if the value of their corresponding fields is not edited. The following method may be used for changing the font of all existing widgets in the document:

private static void FixEncodingIssues(RadFixedDocument document)
{
    foreach(Annotation annotation in document.Annotations)
    {
        VariableContentWidget widget = annotation as VariableContentWidget;

        if(widget != null)
        {
            widget.TextProperties.Font = FontsRepository.Helvetica;
        }
    }
}
Approved
Last Updated: 09 Sep 2019 17:18 by ADMIN
A TrueType font file defines a cmap table mapping the character codes to glyph indices. However, when an Encoding is defined in the font dictionary of the PDF, the defined Encoding must override the built-in cmap table. 

Currently, when a text fragment is exported with such a font the char code is mapped using the built-in cmap table and not the Encoding defined for the font, which may lead to incorrect glyphs.

Workaround: Change the font  of the TextBoxField's widget appearance:
foreach (var widget in field.Widgets)
{
    widget.TextProperties.Font = FontsRepository.Helvetica;
}
Approved
Last Updated: 05 Sep 2019 12:45 by ADMIN
By specification when a form field is merged with the dictionary of the widget annotation, a Kids parameter can be existent if there are more than one widget annotations for that field. Support for importing such a fields should be added. 
Approved
Last Updated: 04 Sep 2019 10:44 by ADMIN
By specification the widget annotation and its content can be merged into the field dictionary. When merged widget with Kids property is imported an InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.WidgetObject' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Forms.FormFieldNode'.' is thrown.
Declined
Last Updated: 03 Sep 2019 15:12 by ADMIN
Created by: Antony
Comments: 1
Category: PdfProcessing
Type: Feature Request
1

I would like to request an example of the RadPdfProcessing library utilizing a Line Chart similar to how the Bar Chart is drawn in this example. 

Additionally, it would be great if there was an example with multiple charts on one page.

Thank you!

In Development
Last Updated: 21 Aug 2019 13:58 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
This type of destinations is not supported and leads to InvalidCastException when importing such elements.
Completed
Last Updated: 12 Aug 2019 11:54 by ADMIN
Release LIB 2019.2.812 (08/12/2019)
Although Lab color space is currently unsupported, the provider should not throw exceptions that break the whole file import.
Approved
Last Updated: 12 Aug 2019 11:07 by ADMIN
Created by: Marc
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
Add support for Lab color space to allow clients to import and export documents with Lab color space.
Completed
Last Updated: 08 Aug 2019 07:24 by ADMIN
Release R3 2019
ADMIN
Created by: Boby
Comments: 5
Category: PdfProcessing
Type: Feature Request
13
Implement API for adding document outline (a.k.a bookmarks).
Approved
Last Updated: 07 Aug 2019 11:06 by ADMIN
In principle, the blend function B (Cb , Cs ) is used in the compositing formula to customize the blending operation in Adobe transparency imaging model. The blending mode may define any function which yields another result color from the backdrop and source colors. This will allow overlaying objects on each other forming a transparency stack.

Support for the Blend Mode parameter of the external graphic state should be implemented.
Approved
Last Updated: 05 Aug 2019 14:51 by ADMIN
When the content of a page is rotated, each glyph is exported on a new line.
Approved
Last Updated: 02 Aug 2019 08:21 by ADMIN
ADMIN
Created by: Polya
Comments: 4
Category: PdfProcessing
Type: Feature Request
5
Provide a way to change the Name of a FormField from the RadDocument.AcroForm.FormFields collection.

As a workaround, you could create a new instance of a FormField with the desired name, add the new field in the document and remove the old one. You can use the following approach:
   1) Create a new instance of FormField (with the desired name, passed in the constructor), which will play the role of a copy of a specific FormField
   2) Copy all properties from the original field (they all vary, depending on the concrete type of the FormField, for example CheckBoxField, etc.)
   3) Create a new widget for the new field, and copy all properties from the original field's widget into the new one.
   4) Remove the original field from the RadDocument.AcroForm.FormFields collection and add the new field.
   5) Remove the original widget from the corresponding page's annotation and add the new one.

Attached is a project demonstrating this approach for a CheckBoxField.
Approved
Last Updated: 01 Aug 2019 15:32 by ADMIN
Sometimes customers need to create documents using the CMYK colors to meet specific requirements for printing. Expose such functionality in PdfProcessing.
Approved
Last Updated: 01 Aug 2019 07:57 by ADMIN
Importing document containing TextBox widgets with NormalContentSource defining text properties, such as FontSize and Position, are exported with incorrect appearance when the value of the field is modified.
Approved
Last Updated: 30 Jul 2019 12:32 by ADMIN
ADMIN
Created by: Deyan
Comments: 4
Category: PdfProcessing
Type: Feature Request
8
This API should provide a method for removing all fields and widgets in the document and draw the default widget appearance in place of the removed widgets.

WORKAROUND: Sample implementation for flattening form fields may be seen in the FlattenFormFields method from the attached demo project.
Approved
Last Updated: 26 Jul 2019 13:19 by ADMIN
Created by: David
Comments: 0
Category: PdfProcessing
Type: Feature Request
3
Currently adding an Image content element with ImageSource instantiated with a PNG file format leads to NotSupportedException: 'Can not export other than Jpeg and Jpeg2000 and ImageQuality different than High', when exporting the document.

Support for adding PNG images and exporting to PDF should be implemented for PdfProcessing for .NET Standard scenario.
Approved
Last Updated: 19 Jul 2019 08:36 by ADMIN
Created by: Bertha
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Support for exporting WMF (Windows Metafile) and EMF (Enhanced Metafile) images should be implemented.

Workaround: Convert the WMF images to PNG before exporting:
ImageSource imageSource = new ImageSource(new MemoryStream(this.ConvertWmfImageToPng(stream)));
document.Pages.AddPage().Content.AddImage(imageSource);
...
private byte[] ConvertWmfImageToPng(Stream wmfImageStream)
{
    byte[] pngBytes;
 
    using (MemoryStream pngImageStream = new MemoryStream())
    {
        System.Drawing.Image imageDrawing = System.Drawing.Image.FromStream(wmfImageStream);
        imageDrawing.Save(pngImageStream, System.Drawing.Imaging.ImageFormat.Png);
        pngBytes = pngImageStream.ToArray();
    }
 
    return pngBytes;
}

Approved
Last Updated: 19 Jul 2019 06:49 by ADMIN
When importing color space defined as an external resource name, a NotSupportedColorSpaceException: 'CS0 color space is not supported.' is thrown.
Completed
Last Updated: 01 Jul 2019 07:04 by ADMIN
Release LIB 2019.2.701 (07/01/2019)
By the PDF format specification, CIDToGIDMap is optional. The default value is Identity. However when exporting CID Font with missing CIDToGIDMap property the analyzing tool causes the following warning message:

"PDF/A requires that a Type 2 CIDFont has a stream mapping from CIDs to glyph indices or the name Identity as its value."
1 2 3 4 5 6