Completed
Last Updated: 15 Sep 2021 13:13 by ADMIN
Release R3 2021
Exception when importing a file with LabColor gradients 
Completed
Last Updated: 15 Sep 2021 13:07 by ADMIN
Release R3 2021
At this point, the import logic cannot automatically repair such documents and a NullReferenceException is thrown while reading them. You could repair the invalid file using the project from the attachment.
Unplanned
Last Updated: 13 Sep 2021 09:28 by ADMIN

When exporting merged documents when they are imported with ImportSettings set to ReadOnDemand an exception is thrown: KeyNotFoundException: 'The given key was not present in the dictionary.'

 

Completed
Last Updated: 10 Sep 2021 10:38 by ADMIN
Release R2 2020
Created by: David
Comments: 4
Category: PdfProcessing
Type: Feature Request
23
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.
Unplanned
Last Updated: 07 Sep 2021 11:12 by ADMIN

When a document containing a SignatureField is exported with the IsEncrypted property set to true, a not set UserPassword is required to open it, which makes it impossible to be opened. An InvalidOperationException is thrown with the message "Password is not correct." when importing with PdfProcessing; Adobe Acrobat also doesn't recognize the password.

Workaround: Exporting with AES256 encryption does not have this problem:

provider.ExportSettings = new PdfExportSettings
{
	IsEncrypted = true,
	EncryptionType = EncryptionType.AES256
};

 

Unplanned
Last Updated: 07 Sep 2021 09:20 by ADMIN
Handle the case where "Pages" is used in an actual page. This works in Adobe.
Unplanned
Last Updated: 07 Sep 2021 06:51 by ADMIN
Wrong image size and position when converting specific document to pdf
Completed
Last Updated: 01 Sep 2021 12:16 by ADMIN
Release R1 2021
Currently, importing a document with non-embedded TrueType font will result in a font instance with an empty font source. Support should be added for providing custom font data of TrueType fonts during document import.
Completed
Last Updated: 01 Sep 2021 07:44 by ADMIN
Release R3 2021
Scrolling a large document causes OutOfMemoryException
Unplanned
Last Updated: 10 Aug 2021 08:40 by ADMIN
Created by: Prashant
Comments: 0
Category: PdfProcessing
Type: Feature Request
15
This will allow the import of Tensor-product patch mesh gradients. Currently, importing documents that contain ShadingType 7 results in NotSupportedShadingTypeException.
Completed
Last Updated: 03 Aug 2021 14:26 by ADMIN
An exception when the NormalContentSource of a widget is null and one flatten the form fields 
Unplanned
Last Updated: 22 Jul 2021 11:22 by ADMIN
Created by: Suren
Comments: 4
Category: PdfProcessing
Type: Feature Request
5

This could be implemented by linking to RadFixedPages or Bookmarks.

Until this feature is developed this could be custom created with the help of Link annotations:

RadFixedPage toc = new RadFixedPage();
document1.Pages.Insert(0, toc);

FixedContentEditor editor = new FixedContentEditor(toc);

foreach (RadFixedPage page in document1.Pages)
{
	int pageNumber = document1.Pages.IndexOf(page);

	if (pageNumber > 0)
	{
		int factor = 20;

		int offsetX = 70;
		int offsetY = 20 + factor * pageNumber;
		editor.Position.Translate(offsetX, offsetY);

		Block block = new Block();
		block.GraphicProperties.FillColor = new RgbColor(255, 5, 99, 193);
		block.InsertText($"Page {pageNumber}");
		Size blockSize = block.Measure();
		editor.DrawBlock(block);

		Location location = new Location
		{
			Left = 0,
			Top = 0,
			Zoom = 0,
			Page = page
		};

		GoToAction goToAction = new GoToAction();
		goToAction.Destination = location;

		Link uriLink = toc.Annotations.AddLink(goToAction);
		uriLink.Rect = new Rect(offsetX, offsetY, blockSize.Width, blockSize.Height);
	}
}

Unplanned
Last Updated: 22 Jul 2021 11:19 by ADMIN
Created by: Mark
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
Import/export and API for creating page ArtBox should be added.
Unplanned
Last Updated: 22 Jul 2021 11:15 by ADMIN
Support for validating signature fields signed with signatures that are encoded in ETSI.CAdES.detached encoding should be added.
Unplanned
Last Updated: 21 Jul 2021 07:24 by ADMIN
Created by: Martin
Comments: 0
Category: PdfProcessing
Type: Feature Request
1

According to the PDF Specification: A redaction annotation (PDF 1.7) identifies content that is intended to be removed from the document.

There are two possible options to workaround this functionality:

  1. To iterate the document content and replace the matches which meet certain conditions with an empty string:
    foreach (RadFixedPage page in document.Pages)
    {
    	foreach (ContentElementBase elementBase in page.Content)
    	{
    		if (elementBase is TextFragment textFragment)
    		{
    			if (IsValidEmail(textFragment.Text))
    			{
    				textFragment.Text = string.Empty;
    			}
    		}
    	}
    }
    Note: the desired content could be split into several text fragments and if so a custom parser should be created.
  2. To iterate the document content and check if the TextFragment position is within a specific RectangleGeometry
    foreach (RadFixedPage page in document.Pages)
    {
    	foreach (ContentElementBase elementBase in page.Content)
    	{
    		if (elementBase is TextFragment textFragment)
    		{
    			if (IsIntersecting(rectangleGeometry, textFragment))
    			{
    				textFragment.Text = string.Empty;
    			}
    		}
    	}
    }
    Note: it should be taken into account that the text fragment could flow out of the rectangle.
Declined
Last Updated: 19 Jul 2021 07:19 by ADMIN
Created by: Rakesh
Comments: 1
Category: PdfProcessing
Type: Bug Report
0

Hello Support,

I am generating pdf using PdfFormatProvider. In this i am passing html data which should be converted into pdf. For that I have written below code.

 

HtmlFormatProvider htmlFormatProvider = new HtmlFormatProvider();

RadFlowDocument htmlDocument = htmlFormatProvider.Import(htmlContentValue);

 var anotherpara = sectionBody.Blocks.AddParagraph();

editor.MoveToParagraphStart(anotherpara);

editor.InsertDocument(htmlDocument, options);

This works fine and also get pdf with expected value. But I would like to set spacing between two lines which I could not set or its not working. For that I have added below code.

I have also attached screenshot for it. like how its showing on pdf

editor.ParagraphFormatting.AutomaticSpacingAfter.LocalValue = false;
editor.ParagraphFormatting.AutomaticSpacingBefore.LocalValue = false;
editor.ParagraphFormatting.SpacingAfter.LocalValue = 0;
editor.ParagraphFormatting.SpacingBefore.LocalValue = 0;

 

So could you please let me know fix for it.

Completed
Last Updated: 14 Jul 2021 08:10 by ADMIN
Release R3 2021
When calling the RadFixedDocument`s Clone() method the RadFixedPage`s MediaBox and CropBox are not copied.
Declined
Last Updated: 07 Jul 2021 11:45 by ADMIN
Created by: Charles
Comments: 1
Category: PdfProcessing
Type: Feature Request
0

Attempting to open a Pdf document containing an unsupported action type results in a NotSupportedActionException being thrown (see PdfProcessing: Add support for actions of type Launch).

 

Can the behavior be changed to ignore unsupported actions and allow the document to be opened?

 
Completed
Last Updated: 28 Jun 2021 10:20 by ADMIN
Release R3 2021
The checkbox state is not correctly exported when the value is specified.
Completed
Last Updated: 28 Jun 2021 10:19 by ADMIN
Release R3 2021
When importing a document containing a specific image stream an exception is thrown.