Unplanned
Last Updated: 04 Oct 2022 09:15 by Johann
WordsProcessing: Add support for TextDirection of table cell when exporting to pdf
Completed
Last Updated: 04 Oct 2022 14:57 by ADMIN
Release R3 2022 SP1

When exporting a document that contains a Widget created with FixedContentEditor an exception is thrown: System.ArgumentNullException: 'Value cannot be null. Parameter name: context'

It can be reproduced using the following code snippet:

RadFixedDocument document = new RadFixedDocument();
var page = document.Pages.AddPage();
FixedContentEditor editor = new FixedContentEditor(page);

PushButtonField pushButton = new PushButtonField("button");
editor.Position.Translate(20, 450);
editor.DrawWidget(pushButton, new Size(100, 20));

string path = "Exported.pdf";
File.Delete(path);

using (Stream output = File.OpenWrite(path))
{
	PdfFormatProvider provider = new PdfFormatProvider();
	provider.Export(document, output);
}

Workaround: Add the form filed to the AcroForm`s FromFields collection before exporting the document:
document.AcroForm.FormFields.Add(pushButton);

Unplanned
Last Updated: 28 Sep 2022 07:08 by Tania

When writing a RadFixedPage containing widgets using the PdfPageStreamWriter.WriteContent() method an exception is thrown.

The exception: System.ArgumentNullException: 'Value cannot be null. Parameter name: context'

Unplanned
Last Updated: 27 Sep 2022 06:36 by ADMIN
ADMIN
Created by: Martin
Comments: 0
Category: PdfProcessing
Type: Feature Request
1

From the PDF Specification: "An ink annotation represents a freehand “scribble” composed of one or more disjoint paths. When opened, it displays a pop-up window containing the text of the associated note."

Completed
Last Updated: 14 Sep 2022 13:36 by ADMIN
Release R3 2022 SP1

Such fonts are:

  • ArialMT - should fallback to Arial
  • TimesNewRomanPS-ItalicMT, TimesNewRomanPS-BoldMT, TimesNewRomanPS-BoldItalicMT - should fallback to the Times New Roman variants accordingly. 
Completed
Last Updated: 22 Sep 2022 07:56 by ADMIN
Release R3 2022 SP1
Endless loop while the PDF exporter splits a block with an image. This image size is close to the page size but cannot fit in this case.
Duplicated
Last Updated: 01 Sep 2022 13:37 by ADMIN

Cell borders are not set when the border is set on the table:

 <table border="1">

Unplanned
Last Updated: 26 Aug 2022 09:45 by Babu
Add support for custom attributes from the Kendo editor. For example "k-colgroup-data".
Unplanned
Last Updated: 15 Feb 2023 13:08 by ADMIN
Currently, when users need to add content to an existing page that is rotated, they should manually calculate the positions of the new content if they need to align it with the appearance of the page. Add API allowing them to easily transform the position respecting the top left edge of the page after its rotation.
Unplanned
Last Updated: 19 Aug 2022 11:29 by Lokesh
Index Out of bound exception when importing RTF with an image that has an odd number of hex characters.
Completed
Last Updated: 27 Jun 2023 14:27 by ADMIN
Release R2 2023 SP1
When using the PdfStreamWriter to write a PdfPageSource whose content has "Predictor 1" set as DecodeParms an error message is shown when opening the exported document with Adobe reader.
Unplanned
Last Updated: 16 Aug 2022 12:58 by Matthew

Provide API or mechanism for reusing the already embedded fonts instead of creating a new one when editing an existing document. 

This causes an issue in adobe preflight (font name is not unique).  

 

The issue is observed when performing merge with RadFixedDocument as well.

Unplanned
Last Updated: 16 Aug 2022 11:17 by n/a
PdfProcessing: The Cmap of a custom barcode font is not correctly read and the glyphs cannot be retrieved from it.
Unplanned
Last Updated: 09 Aug 2022 11:38 by Dmytro
Can not import blip element with missing embed attribute with DocxFormatProvider. Exception of type System.ArgumentNullException is thrown with the message: 'Value cannot be null.'
Completed
Last Updated: 09 Feb 2023 10:58 by ADMIN
Release R1 2023 SP1
Wrong matrix calculations lead to incorrect image (Form XObject) during export
Completed
Last Updated: 29 Jul 2022 15:05 by ADMIN
Release R3 2022

Hidden fields with pushButton widget become visible when using FlattenFormFields method to flatten fields.

Workaround: do not flatten fields if the IsHidden property of any of its Widget's is set to True:

 var fieldsList = formFields.ToList();
 for (int i = 0; i < fieldsList.Count; i++)
 {
     var field = fieldsList[i];
     bool flattenCurrentField = true;
     if (field.FieldType == FormFieldType.PushButton)
     {
         PushButtonField pushButtonField = (PushButtonField)field;
         PushButtonWidget[] widgets = pushButtonField.Widgets.ToArray();

         foreach (var widget in widgets)
         {
             var baseType = typeof(PushButtonWidget).BaseType.BaseType.BaseType;
             PropertyInfo[] properties = baseType.GetProperties(BindingFlags.NonPublic | BindingFlags.Instance);
             PropertyInfo isHidden = properties.FirstOrDefault(p => p.Name == "IsHidden");
             bool value = (bool)isHidden.GetValue(widget);
             if (value == true)
             {
                 flattenCurrentField = false;
                 break;
             }
         }
     }

     if (flattenCurrentField)
     {
         document.AcroForm.FlattenFormField(field);
     }
 }

 

Unplanned
Last Updated: 20 Jul 2022 09:13 by Tony

Allow table spiting to be done on whole rows instead of splitting the content of the rows.

Attached is a small project that shows a possible workaround.

Completed
Last Updated: 18 Jul 2022 08:45 by ADMIN
Release R3 2022
Created by: David
Comments: 3
Category: PdfProcessing
Type: Feature Request
2
When exporting a PDF file, parts of the page content could be optimized by encoding it into a compressed stream and/or avoiding inserting multiple times the same font file.
Unplanned
Last Updated: 24 Jun 2022 08:19 by Lokesh

The table border styles are not imported correctly with a specific document.

Workaropund:

RtfFormatProvider provider = new RtfFormatProvider();
RadFlowDocument document = provider.Import(File.ReadAllText(@"..\..\test.rtf"));
 
PdfFormatProvider pdfProvider = new PdfFormatProvider();
var tables = document.EnumerateChildrenOfType<Table>();

foreach (var table in tables)
{
    table.Borders = new TableBorders(new Border(BorderStyle.None));
}


using (FileStream stream = File.OpenWrite(@"..\..\result.pdf"))
{
    pdfProvider.Export(document, stream);
}

 

 

Unplanned
Last Updated: 23 Jun 2022 09:59 by Dimitar
Implement support for adding barcodes to a PDF document.